OpenSC is able to generate RSA keys using the embedded processor, not 3DES keys.
To use 3DES keys, we need to generate and import them to smartcard/token.
Generate a 3des key using OpenSSL:
Import the 3DES key as an independant object and write private flag to forbid the user from reading it back:
Now dump content of card/token:
PKCS#15 Card [François Pérou]:
Version : 0
Serial number : 2431330916091101
Manufacturer ID: EnterSafe
Last update : 20111231100514Z
Flags : EID compliant
PIN [User PIN]
Object Flags : [0x3], private, modifiable
ID : 01
Flags : [0x32], local, initialized, needs-padding
Length : min_len:4, max_len:16, stored_len:16
Pad char : 0x00
Reference : 1
Type : ascii-numeric
Path : 3f005015
Reading data object <0>
applicationName: 3deskey
Label: 3deskey
applicationOID: NONE
Path: 3f0050153400
Auth ID: 01
The 3DES key is installed and usable by the smartcard and OpenSSL crytoengine.
It can also be retrieved using a PIN code and therefore is not completely hidden:
Printer-friendly version- 600 reads
PDF version




