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
Merge remote branch 'upstream/master' into cardos5
Gives the "Current Maximum Data Field Length" for CardOS card in cardos-tool -i.
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 ?
Merge branch 'master' of github.com:szikora/OpenSC
made sc_apdu_t.data 'const' (which it used to be)

fixes a lot of warnings which pass a const buffer to the APDU's data

Note that a non-const data member is only required for sc_allocate_apdu
sc_free_apdu. They are currently used with an explicit typecast.
However, sc_allocate_apdu and sc_free_apdu both are not used once in the
entire project. One might also simply throw both functions away.
-- Both are thrown away. (VT)
fixed a ton of compiler warnings
CardOS: more debug messages in 'pin-cmd' handler
pkcs15: add 'context' parameter to the strip padding procedures

and add debug messages