mirror of
https://github.com/token2/fido2-manage.git
synced 2026-04-09 10:45:39 +00:00
Update credman.c
Adding username in the passkey output
This commit is contained in:
@@ -134,8 +134,11 @@ print_rk(const fido_credman_rk_t *rk, size_t idx)
|
|||||||
type = cose_string(fido_cred_type(cred));
|
type = cose_string(fido_cred_type(cred));
|
||||||
prot = prot_string(fido_cred_prot(cred));
|
prot = prot_string(fido_cred_prot(cred));
|
||||||
|
|
||||||
printf("%02u: %s %s %s %s %s\n", (unsigned)idx, id,
|
/* commenting out the original code, was not giving the user login name, only display name */
|
||||||
fido_cred_display_name(cred), user_id, type, prot);
|
/*printf("%02u: %s %s %s %s %s %s\n", (unsigned)idx, id, fido_cred_display_name(cred), user_id, type, port); */
|
||||||
|
|
||||||
|
printf("%02u: %s %s %s %s %s %s \n", (unsigned)idx, id,
|
||||||
|
fido_cred_display_name(cred), fido_cred_user_name(cred), user_id, type, prot);
|
||||||
|
|
||||||
free(user_id);
|
free(user_id);
|
||||||
free(id);
|
free(id);
|
||||||
|
|||||||
Reference in New Issue
Block a user