Skip to content

Commit 5185280

Browse files
committed
NitroKey RSA 4096 support
On branch Nitrokey-PIV Changes to be committed: modified: card-piv.c
1 parent 8470dec commit 5185280

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/libopensc/card-piv.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5662,6 +5662,8 @@ static int piv_match_card_continued(sc_card_t *card)
56625662

56635663
case SC_CARD_TYPE_PIV_II_NITROKEY:
56645664
priv->card_issues |= CI_OTHER_AID_LOSE_STATE;
5665+
if (priv->yubico_version >= 0x00010802) /* use for NitroKey too */
5666+
priv->card_issues |= CI_RSA_4096;
56655667
break;
56665668

56675669
case SC_CARD_TYPE_PIV_II_GI_DE:

0 commit comments

Comments
 (0)