Skip to content

Commit

Permalink
Update ssh keys to latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
Firstyear committed May 14, 2024
1 parent 380c8cd commit 4f04f0b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
5 changes: 1 addition & 4 deletions sshkey-attest/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions sshkey-attest/README.md
Original file line number Diff line number Diff line change
@@ -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.


2 changes: 1 addition & 1 deletion sshkey-attest/src/proto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4f04f0b

Please sign in to comment.