Hi,

 

Here is a small patch that modifies the MyEID profile. This profile now
initializes the cards like we want them (users are of course free to modify
the profile to get cards like they want, but we think this should be the
default). 

 

I suppose the ACL for card initialization (clearing card) is not desired to
be NONE and therefore we undefined the KEEP_AC_NONE_FOR_INIT_APPLET, and you
can anyway set it to anything you like by configuring the profile.

 

There is a downside with this configuration, pkcs15-init now asks many times
(5  times I think) for the USER PIN when it initializes the MyEID card and
creates the required files (it does not matter what you enter, because it
won’t be verified since the card is in creation state). 

 

Pkcs15-init creates the SO-PIN, but not the USER PIN. It would be nice if
pkcs15-init would create both PINs, since it is built to support two PINs
(User and SO). Currently we create the user pin after initialization and
finalize the card after that. If somebody knows how to get rid of the
unnecessary user PIN queries please apply fix or help us do it.

 

Please apply this small patch, thanks!

 

Kind regards,

Toni

Attachment: opensc-0.12.0-aventra.patch
Description: Binary data

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

Reply via email to