Skip to content

Commit 826dc1b

Browse files
authored
Update ssh keys to latest version (#439)
1 parent 380c8cd commit 826dc1b

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

sshkey-attest/Cargo.toml

+1-4
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,7 @@ nom.workspace = true
2323
openssl.workspace = true
2424
serde.workspace = true
2525
serde_cbor_2.workspace = true
26-
sshkeys = { version = "0.3.2", features = ["serde"] }
27-
# sshkeys = { git = "https://github.com/dnaeon/rust-sshkeys.git", rev = "fa5bd02dd6e90ee724fdb981253c1e7726a7f534", features = [
28-
# "serde",
29-
# ] }
26+
sshkeys = { version = "0.3.3", features = ["serde"] }
3027
tracing.workspace = true
3128
uuid = { workspace = true, features = ["serde"] }
3229
webauthn-rs-core.workspace = true

sshkey-attest/README.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# SSH Key FIDO2 Attestation
2+
3+
This library supports attestation of the openssh `-sk` classes of keys. This attestation is similar
4+
to what is provided in webauthn.
5+
6+

sshkey-attest/src/proto.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ pub use sshkeys::PublicKey;
77

88
/// An attested public key. This contains the ssh public key as well as the
99
/// attestation metadata.
10-
#[derive(Debug, Serialize, Deserialize)]
10+
#[derive(Clone, Debug, Serialize, Deserialize)]
1111
pub struct AttestedPublicKey {
1212
/// The ssh public key
1313
pub pubkey: PublicKey,

0 commit comments

Comments
 (0)