Bonjour,
I am trying to import PKCS12 file in Oberthur Cosmo v7.0 smart card but it fails with the error "Failed to store private key: Invalid data"
The verbose command shows the following output:
[pkcs15-init] pkcs15-authentic.c:692:authentic_pkcs15_store_key: Invalid PrKey SDO data: -1305 (Invalid data)
[pkcs15-init] pkcs15-lib.c:1817:sc_pkcs15init_store_private_key: Card specific 'store key' failed: -1305 (Invalid data)
[pkcs15-init] pkcs15-lib.c:1842:sc_pkcs15init_store_private_key: returning with: -1305 (Invalid data)
I am using OpenSC version 0.23.0
Please guide me.
Regards
Scotty