diff --git a/Cargo.toml b/Cargo.toml index 5d72e2c..f88f540 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sshcerts" -version = "0.14.1" +version = "0.14.2" authors = ["Mitchell Grenier "] edition = "2021" license-file = "LICENSE" diff --git a/src/ssh/signature.rs b/src/ssh/signature.rs index 8dd3c18..1f97758 100644 --- a/src/ssh/signature.rs +++ b/src/ssh/signature.rs @@ -12,7 +12,7 @@ use crate::{error::Error, ssh::Writer, PrivateKey, PublicKey, Result}; use super::{KeyType, PublicKeyKind, Reader, SSHCertificateSigner}; /// The hash algorithm used to sign the data in the SshSignature -#[derive(Debug)] +#[derive(Debug, Clone)] pub enum HashAlgorithm { /// SHA256 Sha256, @@ -32,7 +32,7 @@ impl HashAlgorithm { /// An SSH signature object from signing arbitrary data. This object /// has not been verified against a message so it is untrusted. -#[derive(Debug)] +#[derive(Debug, Clone)] pub struct SshSignature { /// The public key used to sign the data pub pubkey: PublicKey,