Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sshcerts"
version = "0.14.1"
version = "0.14.2"
authors = ["Mitchell Grenier <mitchell@confurious.io>"]
edition = "2021"
license-file = "LICENSE"
Expand Down
4 changes: 2 additions & 2 deletions src/ssh/signature.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down
Loading