summaryrefslogtreecommitdiffstats
path: root/openpgp/src/tpk/builder.rs
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2019-02-06 14:06:32 +0100
committerJustus Winter <justus@sequoia-pgp.org>2019-02-06 14:06:32 +0100
commit55018aa2b8f3b0ce045e262a05127d49308710b4 (patch)
treeef39120f01a31b3be31a27dfa9058475bfa78ec0 /openpgp/src/tpk/builder.rs
parent2a75428b44fd56616342a786cc33dd66145f6228 (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