This commit is contained in:
Zhi Guan
2015-10-07 15:23:34 +08:00
parent 254a1266d6
commit b4ad0da508
27 changed files with 590 additions and 88 deletions

11
apps/ca-show-token-info.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
PIN=123456
PUK=654321
P11LIB=/usr/local/lib/opensc-pkcs11.so
pkcs11-tool --list-token-slots --module $P11LIB
pkcs11-tool --list-objects \
--module $P11LIB \
--login --pin $PIN