Skip to content
Snippets Groups Projects
Commit af88e4bb authored by ale's avatar ale
Browse files

Fix output formatting

parent 6435ac68
No related branches found
No related tags found
No related merge requests found
......@@ -55,7 +55,7 @@ func main() {
if len(locs) == 0 {
log.Fatal("error: no FIDO2 devices found")
}
log.Printf("autodetected device: %s %s", locs[0].Manufacturer, locs[0].Product)
log.Printf("using %s %s", locs[0].Manufacturer, locs[0].Product)
devicePath = locs[0].Path
}
......@@ -104,7 +104,7 @@ func main() {
}
fmt.Printf(
"key handle: \"%s\"\npublic key: \"%s\"\n",
"key_handle: \"%s\"\npublic_key: \"%s\"\n",
base64.StdEncoding.EncodeToString(attest.CredentialID),
base64.StdEncoding.EncodeToString(fido2ToCOSE(attest.PubKey)),
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment