Skip to content

Commit 36f7066

Browse files
added a verbose message for keyring error
1 parent a2cb94f commit 36f7066

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/storage/secrets.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ var _ SecretStore = (*KeychainSecretStore)(nil)
147147
const (
148148
svcName = "zed"
149149
keyringEntryName = svcName + " secrets"
150-
envRecommendation = "Setting the environment variable `ZED_KEYRING_PASSWORD` to your password will skip prompts.\n"
150+
envRecommendation = "If your platform doesn't have a native keychain manager (e.g. macOS, Linux+GNOME/KDE), ZED_KEYRING_PASSWORD is what's used to encrypt files on disk to store credentials. The first time you create a context, it'll prompt you to create a keyring password to encrypt that configuration. \n"
151151
keyringDoesNotExistPrompt = "Keyring file does not already exist.\nEnter a new non-empty passphrase for the new keyring file: "
152152
keyringPrompt = "Enter passphrase to unlock zed keyring: "
153153
emptyKeyringPasswordError = "your passphrase must not be empty"

0 commit comments

Comments
 (0)