I try to encipherment throw cardos card. I use certificate, which support: Digital Signature, Key Encipherment, Data Encipherment (b0).
But, key export fails in sc_pkcs15init_generate_key on check_key_compatibility with message: "This device requires that keys have a specific key usage. Keys can be used for either signature or decryption, but not both. Please specify a key usage." Then fails on sc_pkcs15init_store_private_key with message: "Card does not support this key." What is reason of incompatibility? _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel