disco icon indicating copy to clipboard operation
disco copied to clipboard

clear secrets as soon as possible

Open mimoo opened this issue 6 years ago • 0 comments

what are the secrets to delete?

  • psk
  • ephemeral keys
  • long-term keys

when to delete? Probably when Split() is called? Although GetHandshakeState() might still require some stuff?

There is a clear() function to clear secrets btw.

Also note that it doesn't seem possible to completely wipe secrets in Go

mimoo avatar Nov 12 '18 06:11 mimoo