Skip to content

Commit

Permalink
fido2-token: print maxcredbloblen
Browse files Browse the repository at this point in the history
  • Loading branch information
WillSmartYubico authored and LDVG committed Jan 3, 2024
1 parent d5f4989 commit 5ed5376
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tools/token.c
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,12 @@ print_maxcredcntlst(uint64_t maxcredcntlst)
printf("maxcredcntlst: %d\n", (int)maxcredcntlst);
}

static void
print_maxcredblob(uint64_t maxcredblob)
{
printf("maxcredblob: %d\n", (int)maxcredblob);
}

static void
print_maxcredidlen(uint64_t maxcredidlen)
{
Expand Down Expand Up @@ -388,6 +394,9 @@ token_info(int argc, char **argv, char *path)
/* print maximum length of a credential ID */
print_maxcredidlen(fido_cbor_info_maxcredidlen(ci));

/* print maximum length of credBlob */
print_maxcredblob(fido_cbor_info_maxcredbloblen(ci));

/* print maximum length of serialized largeBlob array */
print_maxlargeblob(fido_cbor_info_maxlargeblob(ci));

Expand Down

0 comments on commit 5ed5376

Please sign in to comment.