Doug Engert
Doug Engert
Two other comments. If pin only works with max length, that may mean the padding is wrong. Driver does not set pad_char, so defaults to 0x00. More common is 0xFF....
Any CardOS users seen this situation? I should have asked, are there any other applications running that might access the card? ForFox, Thunderbird, OpenPGP TokenD some keyring application? Interference from...
OK. The failure of `00 20 00 xx` to return `90 00` means the card does not support `SC_CARD_CAP_ISO7816_PIN_INFO` but the driver says these cards do support it in line:...
so the problem appears to be the set security env. Does the card work on Windows using vendor drivers? Can you get a usb trace? You should see the apdus...
Most smartcard software calls PCSC to a CCID driver to USB to your USB reader that talks to the card. So a trace of PCSC is preferable but USB would...
If you are going to try it on Windows, Google for: Windows PC/SC trace That would be a lot easier to read and smaller then a USB trace. USB trace...
Interesting, look at: 915 sc_format_apdu(card, &apdu, SC_APDU_CASE_1, 0x22, 0, se_num); 916 apdu.p1 = (card->type == SC_CARD_TYPE_CARDOS_CIE_V1 ? 0xF3 : 0x03); maybe your card is more like a SC_CARD_TYPE_CARDOS_CIE_V1? But I...
I have only done: - add `// clang-format off' and `// clang-format in `piv-card.c` and `pkcs15-piv.c` to keep some tables readable. - experimented with vi (.vimrc) https://clang.llvm.org/docs/ClangFormat.html. Search for other...
@Jakuje can you also add #2185 and add commit to .ignoreRevFiles
Looks like windows has a problem with every program that includes `unistd.h` looks like change to `opensc/types.h` in 5ae9882e1bdda7f0cb1bf647480bdd7f81bb2609 needs `#ifdef HAVE_UNISTD_H`