Remove left-in debug print

This commit is contained in:
pjht 2023-08-14 10:16:24 -05:00
parent 287e105b56
commit 895faa7b21
Signed by: pjht
GPG Key ID: CA239FC6934E6F3A
5 changed files with 11 additions and 1 deletions

9
id_ed25519_rustgen_sk Normal file
View 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-----

View File

@ -0,0 +1 @@
sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIKN7cqlgX4NqIMhm9vH5RM1E2DeFAxTl2mKeqVNalY+8AAAABHNzaDo= test_key

Binary file not shown.

View File

@ -0,0 +1 @@
”Å9®·º ÎqÑ<1C>yZW¹ûŸýñ>UsÓÛA

View File

@ -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"));