Update to sshkeys 0.3.2, adjust to API changes.
This commit is contained in:
parent
c23f23c619
commit
09c47e4acd
2 changed files with 3 additions and 1 deletions
|
@ -17,7 +17,7 @@ nettle = "7"
|
|||
openpgp-card = { path = "../openpgp-card", version = "0.1" }
|
||||
openpgp-card-pcsc = { path = "../pcsc", version = "0.1" }
|
||||
openpgp-card-sequoia = { path = "../openpgp-card-sequoia", version = "0.0.7" }
|
||||
sshkeys = "0.3"
|
||||
sshkeys = "0.3.2"
|
||||
rpassword = "5"
|
||||
chrono = "0.4"
|
||||
anyhow = "1"
|
||||
|
|
|
@ -140,6 +140,7 @@ fn get_ssh_pubkey(
|
|||
let kind = sshkeys::PublicKeyKind::Ed25519(
|
||||
sshkeys::Ed25519PublicKey {
|
||||
key: ecc.data().to_vec(),
|
||||
sk_application: None,
|
||||
},
|
||||
);
|
||||
|
||||
|
@ -171,6 +172,7 @@ fn get_ssh_pubkey(
|
|||
sshkeys::EcdsaPublicKey {
|
||||
curve,
|
||||
key: ecc.data().to_vec(),
|
||||
sk_application: None,
|
||||
},
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue