User Tools

Site Tools


smartcard:etoken

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
smartcard:etoken [2017/10/20 14:45] Martinsmartcard:etoken [2017/10/20 15:10] (current) – [Nutzung eines SafeNet eToken PRO unter Linux] Martin
Line 9: Line 9:
 <code> <code>
 $ pkcs11-tool --module /usr/lib/libeToken.so --init-token --label <Etikett> $ pkcs11-tool --module /usr/lib/libeToken.so --init-token --label <Etikett>
 +Using slot 0 with a present token (0x0)
 +Please enter the new SO PIN: 
 +Please enter the new SO PIN (again): 
 +Token successfully initialized
 +</code>
 +Setzen der Benutzer-PIN
 +<code>
 +$ pkcs11-tool -l --init-pin 
 +Using slot 0 with a present token (0x0)
 +Logging in to "MB".
 +Please enter SO PIN: 
 +Please enter the new PIN: 
 +Please enter the new PIN again: 
 +User PIN successfully initialized
 </code> </code>
  
Line 15: Line 29:
 $ pkcs11-tool --module /usr/lib/libeToken.so \ $ pkcs11-tool --module /usr/lib/libeToken.so \
   -l -k --key-type RSA:1024 -d 1 -a "<Etikett>"   -l -k --key-type RSA:1024 -d 1 -a "<Etikett>"
 +Using slot 0 with a present token (0x0)
 +Logging in to "MB".
 +Please enter User PIN: 
 +Key pair generated:
 +Private Key Object; RSA 
 +  label:      <Etikett>
 +  ID:         01
 +  Usage:      decrypt, sign, unwrap
 +Public Key Object; RSA 1024 bits
 +  label:      <Etikett>
 +  ID:         01
 +  Usage:      encrypt, verify, wrap
 </code> </code>
  
Line 42: Line 68:
 <code> <code>
 pkcs11-tool --module /usr/lib/libeToken.so -l -w <Dateiname>.der -y cert -d <Schlüssel ID> -a "<Etikett>" pkcs11-tool --module /usr/lib/libeToken.so -l -w <Dateiname>.der -y cert -d <Schlüssel ID> -a "<Etikett>"
 +Using slot 0 with a present token (0x0)
 +Logging in to "MB".
 +Please enter User PIN: 
 +Created certificate:
 +Certificate Object, type = X.509 cert
 +  label:      <Etikett>
 +  ID:         01
 </code> </code>
 +
 +===== Links =====
 +[[https://r3blog.nl/index.php/etoken-pro-72k/]]
 +
smartcard/etoken.1508510708.txt.gz · Last modified: 2017/10/20 14:45 by Martin