From 6fc45951e42b0a7d4760e7b2eb09c647d1f75402 Mon Sep 17 00:00:00 2001 From: ishaan Date: Tue, 14 Jul 2026 22:05:23 +0530 Subject: read me --- internal/crypt/sshKey.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/crypt/sshKey.go') diff --git a/internal/crypt/sshKey.go b/internal/crypt/sshKey.go index 3b0b344..e36d6fd 100644 --- a/internal/crypt/sshKey.go +++ b/internal/crypt/sshKey.go @@ -178,7 +178,7 @@ func FindAndUnwrapNoteKey(recipients []WrappedKey, privKeyPath string) ([]byte, return nil, fmt.Errorf("read SSH key: %w", err) } TryMlock(pemBytes) - clear(pemBytes) + defer clear(pemBytes) parsed, err := ssh.ParseRawPrivateKey(pemBytes) if err != nil { -- cgit v1.3