Skip to content

Conversation

@phrwlk
Copy link
Contributor

@phrwlk phrwlk commented Nov 3, 2025

Add defer zeroKey(key.PrivateKey) in KeyStore.Update() to securely wipe the decrypted private key from memory after re-encrypting with the new passphrase. This change improves secret hygiene and aligns Update() with existing practices in SignHashWithPassphrase(), SignTxWithPassphrase(), Import(), and Delete()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant