Update to sshkeys 0.3.2, adjust to API changes.

This commit is contained in:
Heiko Schaefer 2022-02-18 08:57:28 +01:00
parent c23f23c619
commit 09c47e4acd
No known key found for this signature in database
GPG key ID: 4A849A1904CCBD7D
2 changed files with 3 additions and 1 deletions

View file

@ -17,7 +17,7 @@ nettle = "7"
openpgp-card = { path = "../openpgp-card", version = "0.1" } openpgp-card = { path = "../openpgp-card", version = "0.1" }
openpgp-card-pcsc = { path = "../pcsc", version = "0.1" } openpgp-card-pcsc = { path = "../pcsc", version = "0.1" }
openpgp-card-sequoia = { path = "../openpgp-card-sequoia", version = "0.0.7" } openpgp-card-sequoia = { path = "../openpgp-card-sequoia", version = "0.0.7" }
sshkeys = "0.3" sshkeys = "0.3.2"
rpassword = "5" rpassword = "5"
chrono = "0.4" chrono = "0.4"
anyhow = "1" anyhow = "1"

View file

@ -140,6 +140,7 @@ fn get_ssh_pubkey(
let kind = sshkeys::PublicKeyKind::Ed25519( let kind = sshkeys::PublicKeyKind::Ed25519(
sshkeys::Ed25519PublicKey { sshkeys::Ed25519PublicKey {
key: ecc.data().to_vec(), key: ecc.data().to_vec(),
sk_application: None,
}, },
); );
@ -171,6 +172,7 @@ fn get_ssh_pubkey(
sshkeys::EcdsaPublicKey { sshkeys::EcdsaPublicKey {
curve, curve,
key: ecc.data().to_vec(), key: ecc.data().to_vec(),
sk_application: None,
}, },
); );