From 938a679d366598a8260481f7105f7240052ee719 Mon Sep 17 00:00:00 2001 From: Will Spencer Date: Thu, 30 Apr 2026 13:24:52 -0400 Subject: [PATCH 1/2] Implement Clone for SshSignature --- src/ssh/signature.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, From cfe352d98576575c5dc71ecd3801a887173fd4cd Mon Sep 17 00:00:00 2001 From: Will Spencer Date: Thu, 30 Apr 2026 13:31:36 -0400 Subject: [PATCH 2/2] Bump minor version --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"