On Tuesday 17 July 2007 09:57:49 Dmitry wrote: > Hello all! > > Now I test Deutsche Telekom TeleSec card, as detected with Opensc as NetKey > E4 Card with tcos OS. > > Certificate on card is only for Key Encipherment and Data Encipherment, so > it seems that there is no check_key_compatibility problems. > > But Opensc looks for tcos.profile, which is not exist (I use profiles from > scb- 0.9). > > Is Opensc support encryption for tcos?
yes. hmm,, strange, you shouldn't need a profile file unless you want to change the card. using it should be fine without the profile file. why do you want to use opensc for encryption? smart cards are usualy used for signing or decryption, but encryption is usually done in software, since it only uses the public key, and any desktop pc is much faster at that than a smart card. for testing decryption or signing you can simply use the pkcs15-crypt command. the regression test suite has some examples. note that pkcs11-tool --test does give errors about tcos cards, as it tries to test some modes that tcos does not support (or more specific: that tcos could support, but the keys are usually restricted to deny that mode, and opensc isn't precise enough about that yet). Regards, Andreas _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel