smartcard

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
smartcard [2020/11/10 19:08] tmaiersmartcard [2020/12/29 02:09] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +Tool overview: https://my.eng.utah.edu/~sdean/doc/Tools.html
 +
 ====== Smartcard ====== ====== Smartcard ======
   * List smartcard readers: ''opensc-tool -l''   * List smartcard readers: ''opensc-tool -l''
Line 13: Line 15:
   * List all certificates that have an associated private key: ''p11tool --list-certs "<TOKEN URL>"''   * List all certificates that have an associated private key: ''p11tool --list-certs "<TOKEN URL>"''
   * List all available certificates marked as trusted: ''p11tool --list-all-trusted  "<TOKEN URL>"''   * List all available certificates marked as trusted: ''p11tool --list-all-trusted  "<TOKEN URL>"''
 +  * List all available private keys in a token: ''p11tool --list-all-trusted  "<TOKEN URL>"''
  
-===== WTF? ===== +===== pkcs11-tool ===== 
-  * ''pkcs15-tool --list-certificates''+  * Test tokens: ''pkcs11-tool --module /usr/lib/opensc-pkcs11.so --login --test'' 
 +  * Display objects: ''pkcs11-tool --module /usr/lib/opensc-pkcs11.so --login --list-objects''
   * ''pkcs11-tool --list-token-slots''   * ''pkcs11-tool --list-token-slots''
 +
 +===== pkcs15-tool =====
 +  * List all card objects (compact): ''pkcs15-tool --dump --short''
 +  * List all card objects: ''pkcs15-tool --dump''
 +  * ''pkcs15-tool --list-certificates''
  • smartcard.1605031712.txt.gz
  • Last modified: 2020/12/29 02:09
  • (external edit)