From: Ludovic R. <lud...@gm...> - 2010-05-07 14:04:00
|
Hello, 2010/5/7 Wim Lewis <wi...@hh...>: > I've been working on getting pyscard to work with PIV cards (NIST SP > 800-73, FIPS 201, that sort of thing). I have most of the command set > working: logging in, key generation, signing, storing personalization > data, etc. > > I'm posting this both in case there are other people who might be > interested in this, and because I'd (eventually) like to get the PIV > code I've written merged back into pyscard. Right now it's a bit messy > since I didn't really know what I was doing when I started. Why don't you use a PKCS#11 library like OpenSC [1] to abstract your PIV card [2]? If you want a Python interface you can then use pykcs11 [3]. > Also, FWIW, pyscard is working fine on OS X 10.6/SnowLeopard, with > minimal tweaks (eg removing ppc from the list of architectures to build). The code in subversion should work without any change. Bye [1] http://www.opensc-project.org/opensc [2] http://www.opensc-project.org/opensc/wiki/UnitedStatesPIV [3] http://www.bit4id.org/trac/pykcs11/ -- Dr. Ludovic Rousseau |