disco
disco copied to clipboard
clear secrets as soon as possible
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