Hello,

Some thoughts on the minidriver topic.

In theory, it should look like this: 

  minidriver -> libopensc -> pcsc

like there is on macosx:

  Tokend -> libopensc -> pcsc

or the PKCS#11 module:

 opensc-pkcs11 -> libopensc -> pcsc

Thus it could sit in a separate driectory like src/minidriver/*. At least it 
should omit "opensc" from the name and reside somewhere else than libopensc - 
if it gets integrated into OpenSC it *will* be the OpenSC mindriver interface.

I have some pictures about the eID architecture/components of Estonian eID, I 
can modify them to make them look like the minidriver uses OpenSC as well. 

http://www.slideshare.net/martinpaljak/idkaardist-100/19

For PC/SC, I don't think it should be changed into a separate driver, the same 
codebase can be used to build a version suitable for minidriver. If the same 
exact libopensc dll can not be used, then at least the codebase can be re-used 
to build the minidriver dll


Martin
On Jan 22, 2010, at 17:17 , François Leblanc wrote:

> 
> Just a correction of my first patch send concerning opensc minidriver for 
> windows,
> 
> Now work with XP, vista and windows 7 at least with test application.
> (for XP don't knows if certificates are loaded on windows container..., for 
> vista and 7 certutil command show me certificates on card.)
> 
> Work to do:
> 
> - Cleaning code.
> - Look at pin management and certificate/private key link to improve.
> - Improve register key management and .inf file to manage all cards (with 
> options to not manage some cards)
> - Documentation
> - Review licence of files
> 
> Not tested:
> 
> - Several kinds of card insertion (a westcos and a Cyberflex for example)
> - Pinpad reader
> - and lot of other future
> 
> After this think we can have a first release that maybe submit for adding to 
> opensc. Like you can see, the module add only one source code file opensccm.c 
> and some code specific on reader-pcsc.c all this only for windows build it's 
> not too much.
> 
> 
> In future if this working well, add code to update/write card with windows 
> cryptographics API, since this first release consider cards read only.
> 
> 
> 
> Regards,
> François.
> <opensccm_trunk.patch17.tar.bz2>_______________________________________________
> opensc-devel mailing list
> [email protected]
> http://www.opensc-project.org/mailman/listinfo/opensc-devel

-- 
Martin Paljak
http://martin.paljak.pri.ee
+3725156495

_______________________________________________
opensc-devel mailing list
[email protected]
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to