diff options
| author | ishaan <contact@ishaan.cc> | 2026-07-14 19:45:27 +0530 |
|---|---|---|
| committer | ishaan <contact@ishaan.cc> | 2026-07-14 19:45:27 +0530 |
| commit | 4d49c0782aa8ef1c0df9547474ca8e0834a00787 (patch) | |
| tree | 261705b8e786dec67fa8efa1055369a75550dd9b /internal/crud/cli_edit.go | |
| parent | 6c6c4a05267e93597bb009c7d6c36383b6af7bf7 (diff) | |
fix can't edit when no personal key
Diffstat (limited to 'internal/crud/cli_edit.go')
| -rw-r--r-- | internal/crud/cli_edit.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/crud/cli_edit.go b/internal/crud/cli_edit.go index 0213a81..db56450 100644 --- a/internal/crud/cli_edit.go +++ b/internal/crud/cli_edit.go @@ -153,7 +153,7 @@ func EditNoteSSH(notePath, privKeyPath, editorString string) error { os.WriteFile(tmpFile.Name(), make([]byte, len(newContent)), 0600) - encrypted, err := crypt.EncryptBytesSSH(newContent, pubKeys) + encrypted, _, err := crypt.EncryptBytesSSH(newContent, pubKeys) if err != nil { return err } |