diff --git a/sshkey-attest/Cargo.toml b/sshkey-attest/Cargo.toml index b92bac5b..c74fba44 100644 --- a/sshkey-attest/Cargo.toml +++ b/sshkey-attest/Cargo.toml @@ -23,10 +23,7 @@ nom.workspace = true openssl.workspace = true serde.workspace = true serde_cbor_2.workspace = true -sshkeys = { version = "0.3.2", features = ["serde"] } -# sshkeys = { git = "https://github.com/dnaeon/rust-sshkeys.git", rev = "fa5bd02dd6e90ee724fdb981253c1e7726a7f534", features = [ -# "serde", -# ] } +sshkeys = { version = "0.3.3", features = ["serde"] } tracing.workspace = true uuid = { workspace = true, features = ["serde"] } webauthn-rs-core.workspace = true diff --git a/sshkey-attest/README.md b/sshkey-attest/README.md new file mode 100644 index 00000000..0cdad766 --- /dev/null +++ b/sshkey-attest/README.md @@ -0,0 +1,6 @@ +# SSH Key FIDO2 Attestation + +This library supports attestation of the openssh `-sk` classes of keys. This attestation is similar +to what is provided in webauthn. + + diff --git a/sshkey-attest/src/proto.rs b/sshkey-attest/src/proto.rs index 5eb38813..ae190049 100644 --- a/sshkey-attest/src/proto.rs +++ b/sshkey-attest/src/proto.rs @@ -7,7 +7,7 @@ pub use sshkeys::PublicKey; /// An attested public key. This contains the ssh public key as well as the /// attestation metadata. -#[derive(Debug, Serialize, Deserialize)] +#[derive(Clone, Debug, Serialize, Deserialize)] pub struct AttestedPublicKey { /// The ssh public key pub pubkey: PublicKey,