From a404bba9d80f48628d922509255278567171ae8d Mon Sep 17 00:00:00 2001 From: Bernd Schoolmann Date: Sun, 28 Apr 2024 17:27:55 +0200 Subject: [PATCH] Fix cipher spelling --- agent/actions/ssh.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/agent/actions/ssh.go b/agent/actions/ssh.go index 5c1fa97..21fc767 100644 --- a/agent/actions/ssh.go +++ b/agent/actions/ssh.go @@ -29,9 +29,9 @@ func handleAddSSH(msg messages.IPCMessage, cfg *config.Config, vault *vault.Vaul actionsLog.Warn(err.Error()) } ctx := context.WithValue(context.TODO(), bitwarden.AuthToken{}, token.AccessToken) - ciph, err := bitwarden.PostCipher(ctx, cipher, cfg) + postedCipher, err := bitwarden.PostCipher(ctx, cipher, cfg) if err == nil { - vault.AddOrUpdateSecureNote(ciph) + vault.AddOrUpdateSecureNote(postedCipher) } else { actionsLog.Warn("Error posting ssh key cipher: " + err.Error()) }