diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2019-06-01 19:17:51 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2019-06-01 19:35:57 +0200 |
commit | eac76770eadb1a1cd481d9301d294934e1af82ad (patch) | |
tree | c1f857337181bbce58803f79565d1f3497229bf7 | |
parent | 432a7898265cf4b64ebee7a1c2e722204c9b0eea (diff) |
openpgp: Implement Clone for KeyPair.
-rw-r--r-- | openpgp/src/crypto/asymmetric.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openpgp/src/crypto/asymmetric.rs b/openpgp/src/crypto/asymmetric.rs index ea8896e9..96bc1694 100644 --- a/openpgp/src/crypto/asymmetric.rs +++ b/openpgp/src/crypto/asymmetric.rs @@ -47,6 +47,7 @@ pub trait Decryptor { /// implementation of [`Signer`]. /// /// [`Signer`]: trait.Signer.html +#[derive(Clone)] pub struct KeyPair { public: Key, secret: mpis::SecretKey, |