Remove left-in debug print
This commit is contained in:
parent
287e105b56
commit
895faa7b21
9
id_ed25519_rustgen_sk
Normal file
9
id_ed25519_rustgen_sk
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
-----BEGIN OPENSSH PRIVATE KEY-----
|
||||||
|
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAASgAAABpzay1zc2
|
||||||
|
gtZWQyNTUxOUBvcGVuc3NoLmNvbQAAACCje3KpYF+DaiDIZvbx+UTNRNg3hQMU5dpinqlT
|
||||||
|
WpWPvAAAAARzc2g6AAAA6KaTr+Omk6/jAAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY2
|
||||||
|
9tAAAAIKN7cqlgX4NqIMhm9vH5RM1E2DeFAxTl2mKeqVNalY+8AAAABHNzaDpBAAAAgBKI
|
||||||
|
bJWeslksveAe9QzC9ICiXUT3VBsPbH//WWjHQz3EDASNF3N/AAkWctMoKLa53CqFAxxnfi
|
||||||
|
6IH/7yzl9UvLh3hpOlbntI0v01ikKzH9pMvMvMk6g7Vw4o7JcLJtLMb/l3qj3gkkXUDn1s
|
||||||
|
sCpzlwKKZ+zmFc11KYdbNlDxnCtUAAAAAAAAAAh0ZXN0X2tleQE=
|
||||||
|
-----END OPENSSH PRIVATE KEY-----
|
1
id_ed25519_rustgen_sk.pub
Normal file
1
id_ed25519_rustgen_sk.pub
Normal file
@ -0,0 +1 @@
|
|||||||
|
sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIKN7cqlgX4NqIMhm9vH5RM1E2DeFAxTl2mKeqVNalY+8AAAABHNzaDo= test_key
|
BIN
id_ed25519_rustgen_sk_attest.bin
Normal file
BIN
id_ed25519_rustgen_sk_attest.bin
Normal file
Binary file not shown.
1
id_ed25519_rustgen_sk_attest_chall.bin
Normal file
1
id_ed25519_rustgen_sk_attest_chall.bin
Normal file
@ -0,0 +1 @@
|
|||||||
|
”Å9®·ºÎqÑ<1C>yZW‚¹ûŸýñ>UsÓÛA
|
@ -78,7 +78,6 @@ fn main() -> anyhow::Result<()> {
|
|||||||
libcfg.keep_alive_msg = "Touch the authenticator now.".into();
|
libcfg.keep_alive_msg = "Touch the authenticator now.".into();
|
||||||
let device = FidoKeyHidFactory::create(&libcfg)?;
|
let device = FidoKeyHidFactory::create(&libcfg)?;
|
||||||
let attestation = device.make_credential_with_args(&make_credential_args)?;
|
let attestation = device.make_credential_with_args(&make_credential_args)?;
|
||||||
dbg!(&attestation.attstmt_alg);
|
|
||||||
let verify_result = verifier::verify_attestation("ssh:", &challenge, &attestation);
|
let verify_result = verifier::verify_attestation("ssh:", &challenge, &attestation);
|
||||||
if !verify_result.is_success {
|
if !verify_result.is_success {
|
||||||
return Err(anyhow!("Failed to verify attestation"));
|
return Err(anyhow!("Failed to verify attestation"));
|
||||||
|
Loading…
Reference in New Issue
Block a user