Howto gesucht zur Erzeugung von .p7s Signaturen

od at linternal.de od at linternal.de
Sam Apr 30 14:57:50 CEST 2005


Hallo allerseits,

ich suche nach einer Möglichkeit auf Basis einer Telesec TCOS Signatur-Karte
auf der Shell eine .p7s Signaturdatei zu einer Datei auf der Festplatte
zu erzeugen im Stil: signiere -i meine.datei -o meine.datei.p7s -p meine.pin

Läßt sich so etwas mit gpg-aegypten realisieren und wo finde ich SC-Newbie taugliche Informationen hierzu?


Liebe Grüße und frohen Tanz in den Mai
Oliver Dietzel


P.S.: Basis Hardware und Software (opensc) scheinen so weit zu funktionieren:
[root at centos etc]# pkcs15-tool -C -c -k --list-public-keys
X.509 Certificate [Telesec Signatur Zertifikat]
        Flags    : 0
        Authority: no
        Path     : DF01C000
        ID       : 01

X.509 Certificate [Telesec Verschl▒sselungs Zertifikat]
        Flags    : 0
        Authority: no
        Path     : DF01C200
        ID       : 03

Private RSA Key [Signatur-Schl▒ssel]
        Com. Flags  : 1
        Usage       : [0x200], nonRepudiation
        Access Flags: [0x1D], sensitive, alwaysSensitive, neverExtract, local
        ModLength   : 1024
        Key ref     : 128
        Native      : yes
        Path        : DF015331
        Auth ID     : 02
        ID          : 01

Private RSA Key [Authentifizierungs-Schl▒ssel]
        Com. Flags  : 1
        Usage       : [0xF], encrypt, decrypt, sign, signRecover
        Access Flags: [0x1D], sensitive, alwaysSensitive, neverExtract, local
        ModLength   : 1024
        Key ref     : 130
        Native      : yes
        Path        : DF015371
        Auth ID     : 02
        ID          : 02

Private RSA Key [Verschl▒sselungs-Schl▒ssel]
        Com. Flags  : 1
        Usage       : [0x3], encrypt, decrypt
        Access Flags: [0x1D], sensitive, alwaysSensitive, neverExtract, local
        ModLength   : 1024
        Key ref     : 129
        Native      : yes
        Path        : DF0153B1
        Auth ID     : 01
        ID          : 03