CardOS V5.0 is recognized now. Some useful infos are given with cardostool -i,
but the card is still not supported by other tools.
ATR status in GET DATA is 0x80 with a custom ATR
CardOS V5.0 is recognized now. Some useful infos are given with cardostool -i,
but the card is still not supported by other tools.
ATR status in GET DATA is 0x80 with a custom ATR
Merge branch 'cardos5' of github.com:szikora/OpenSC into cardos5
Adding support for DNIe.
Merge remote branch 'upstream/master' into cardos5
Gives the "Current Maximum Data Field Length" for CardOS card in cardos-tool -i.
let OpenSC compile without OpenSSL and without SM
use _setmode instead of _set_fmode in windows

now compiles with MinGW-w64
Formatting with spaces and returns in hex dump.
Fix a bug when writing public key
Merge branch 'master' of https://github.com/OpenSC/OpenSC
Onepin profile stopped to work after commit 10e1ad001d

Cards formatted with one-pin profile can not be used (for modification
of the data on the card with pkcs15-init -X for example) after this
commit, which prevent the reading of 5015/4946 (containing the
profile).

The part of the code was simply commented out without comment.
Maybe it was used for testing purposes, and not removed for
the commit ?
fixed PACE reader capability flag
initialize sm_ctx with 0s for iso7816 driver
reader-pcsc.c: fixed pin checking when implicitly given
reader-pcsc.c: fixed implicit pin modification

Allows the application to only initialize pin2 for implicit pin
modification and to leave pin1 untouched.
libopensc: assertion fails on calling fclose() on a NULL filehandle

From @geoffbeier:
(https://github.com/OpenSC/OpenSC/pull/171#issuecomment-20407132)

So it sounds like the right fix is to:

 * check the return value of sc_ctx_log_to_file() and have sc_do_log_va()
   return if it's anything other than SC_SUCCESS.
 * Inside sc_ctx_log_to_file() make sure to set ctx->debug_file to NULL
   whenever it does call fclose() on it.
 * Inside sc_do_log_va() where it currently calls fclose() check
   if(ctx->debug_file && ctx->debug_file != stdout &&ctx->debug_file != stderr)
make: change make order of SM components

to respect dependencies