[go: up one dir, main page]

Skip to content

Commit

Permalink
idprime: corrected key_ref
Browse files Browse the repository at this point in the history
  • Loading branch information
maxrd2 committed May 18, 2021
1 parent 32f3851 commit 5f6ab8d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/libopensc/card-idprime.c
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,9 @@ static int idprime_process_index(sc_card_t *card, idprime_private_data_t *priv,
new_object.key_reference = 0x11 + key_id;
break;
case SC_CARD_TYPE_IDPRIME_V3:
new_object.key_reference = 0xF7 + key_id;
//new_object.key_reference = 0xF7 + key_id; // how it was
//new_object.key_reference = 0xF5 + key_id; // mine IDBridge K30
new_object.key_reference = 0xF0 + start[2];
break;
case SC_CARD_TYPE_IDPRIME_V4:
new_object.key_reference = 0x56 + key_id;
Expand Down

0 comments on commit 5f6ab8d

Please sign in to comment.