diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2019-02-06 14:06:32 +0100 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2019-02-06 14:06:32 +0100 |
commit | 55018aa2b8f3b0ce045e262a05127d49308710b4 (patch) | |
tree | ef39120f01a31b3be31a27dfa9058475bfa78ec0 /openpgp/src/tpk/builder.rs | |
parent | 2a75428b44fd56616342a786cc33dd66145f6228 (diff) |
openpgp: Improve secret key handling.
- Use curve25519::secret_key() to generate keys in crypto::ecdh.
- Wrap the secret keys into SessionKey objects to make sure they are
zeroed when dropped.
Diffstat (limited to 'openpgp/src/tpk/builder.rs')
0 files changed, 0 insertions, 0 deletions