summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--openpgp/src/crypto/asymmetric.rs1
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,