Dear all,

My Feitian PKI card has PIN, public RSA certificate and X.509
certificate. The private RSA key was deleted first, therefore it is
missing from the card.

pkcs15-tool --dump
Using reader with a card: Feitian SCR301 01 00
PKCS#15 Card [Jean-Michel Pouré]:
        Version        : 1
        Serial number  : 2998511513171109
        Manufacturer ID: EnterSafe
        Last update    : 20100805174923Z
        Flags          : PRN generation, EID compliant

PIN [User PIN]
        Com. Flags: 0x3
        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      : 

Public RSA Key [Public Key]
        Com. Flags  : 2
        Usage       : [0x4], sign
        Access Flags: [0x0]
        ModLength   : 2048
        Key ref     : 0
        Native      : no
        Path        : 3f0050153001
        Auth ID     : 01
        ID          : 6d0534d04a8bca64cec0b49967a2e33571deec58

X.509 Certificate [StartCom Free Certificate Member's StartCom Ltd. ID]
        Flags    : 2
        Authority: no
        Path     : 3f0050153101
        ID       : 6d0534d04a8bca64cec0b49967a2e33571deec58
        Encoded serial: 02 03 012AE3

Now I would like to delete X.509 cert and RSA public key.

Unfortunately, deleting public key or X.509 certificate is not
supported:

pkcs15-init --delete-object=pubkey
--id=6d0534d04a8bca64cec0b49967a2e33571deec58 --pin=7614
Using reader with a card: Feitian SCR301 01 00
Failed to delete object 0: Not supported
Deleted 0 objects
Failed to delete object(s): Not supported

Do you know any reason for this?

Kind regards,
Jean-Michel Pouré
-- 
                  Jean-Michel Pouré - Gooze - http://www.gooze.eu

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to