Thomas Harning Jr. wrote:
Hello all, I'm in the process of developing a smart-card plugin for MUSCLE cards and was wondering what the best way of getting PKCS#15 to work with it. Currently I have support for this: Files that are in the root (under 3F00) Directories that are in the root Files that are in those directories (binary Read/update/delete/create operations are currently the ones implemented) In the works are the cryptography functions, however I think I can start the PKCS#15 work w/o those for the moment. As some may know, this is not a file-system card, so I have emulated a filesystem basically. Given that, what do you think would be the best way to get PKCS#15 support in. I also need to write a pkcs15-init plugin as well (since there is no proper PKCS#15 data on the cards yet). How would that work out? Also... are there any sources online for developing OpenSC plugins? I don't think there are.. but its worth a stab. If there's any further information needed from me, please let me know.
Having written the piv and gemsafe plugins, neither of which are file system cards, you may want to look at these. pkcs15-piv.c does the pkcs15 emulation, and it calls the card-piv.c to do the real work. The real goal with these two was to get pkcs11 to work for the user who would not write to the card. SO the PKCS#15 emulation is really read only + crypto. But there is a piv-tool.c than can be used to do some administrative tasks on a PIV card and it calls the card-piv.c.
Thanks
-- Douglas E. Engert <[EMAIL PROTECTED]> Argonne National Laboratory 9700 South Cass Avenue Argonne, Illinois 60439 (630) 252-5444 _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel