OpenSC/OpenSC — pull request #79 by marschap (2012-08-05 18:12:40+00:00)
Title: Extensions to opensc-explorer

Hi,

please consider pulling the following changes to opensc-explorer:

* opensc-explorer: use standard usage() everywhere
With the improvements of the man page, there is no need any more
to have special cases for help texts in some functions.

* opensc-explorer: allow longer PINs in CHANGE & UNBLOCK
Harmonize the allowed PIN length in CHANGE & UNBLOCK with the one in VERIFY

* opensc-explorer: convert CHANGE & UNBLOCK to sc_pin_cmd
consistently use the new functions of the API

* opensc-explorer: allow entering the PIN interactively
On non-PinPad readers, allow entering the PIN interactively if it was not given as parameter
No change for readers offering PinPad support.

* opensc-explorer: increase allowed bytes in RANDOM
Allow to fetch up to 256 random bytes from the card

* opensc-explorer: show text message for 'APDU' result
Show "success!" or "failure!" (with text error) for the APDU command.

* opensc-explorer: allow filename-pattern as argument to 'ls'
Make ls more similar to the unix variant - allow things like 'ls *c*'

Please consider pulling them into OpenSC's staging.

Best regards
Peter