Hello, The included patch [1] fixes the usage text and also the man page to reflect the fact that specifying the module is mandatory.
Not the most elegant one (abuses app_name) but works.
0001-pkcs11-tool-update-help-and-man-page-to-reflect-the-.patch
Description: Binary data
[1] https://github.com/martinpaljak/OpenSC/commit/dca75429d69da7de956d3b2a74706d6956d59cfa Best, Martin On Sep 16, 2011, at 11:39 , Mike Tancsa wrote: > For some reason, this does not work on 12.x ? It just comes up with a > usage error. > eg on 11.8 > > # pkcs11-tool -v -O > [opensc-pkcs11] reader-pcsc.c:1015:pcsc_detect_readers: returning with: > No readers found > [opensc-pkcs11] reader-pcsc.c:1015:pcsc_detect_readers: returning with: > No readers found > Certificate Object, type = X.509 cert > label: Certificate > ID: 45 > Public Key Object; RSA 2048 bits > label: Public Key > ID: 45 > Usage: none > > and on 12.x > > # pkcs11-tool -v -O > Usage: pkcs11-tool [OPTIONS] > Options: > --module <arg> Specify the module to load (mandatory) > --show-info, -I Show global token information > --list-slots, -L List available slots > --list-token-slots, -T List slots with tokens > -- > ------------------- > Mike Tancsa, tel +1 519 651 3400 > Sentex Communications, m...@sentex.net > Providing Internet services since 1994 www.sentex.net > Cambridge, Ontario Canada http://www.tancsa.com/ > _______________________________________________ > opensc-devel mailing list > opensc-devel@lists.opensc-project.org > http://www.opensc-project.org/mailman/listinfo/opensc-devel -- @MartinPaljak.net +3725156495
_______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel