On 4/1/2011 8:13 AM, Viktor TARASOV wrote:
Le 01/04/2011 12:43, Martin Paljak a écrit :
Hello,
On Apr 1, 2011, at 12:43 , jons...@terra.es wrote:
BTW: what's the current state of cardmod?
cardmod ->   minidriver. It is a minidriver.

It still needs to be tested in a more wide manner .
I used it in IE for authentication and in 'certutil' with the cards IAS/ECC de 
Sagem (Morpho) et with RutokenECP .
François and Douglas are using it with westcos and PIV cards.

OK, can we fill in the chart I requested in the previous e-mail
for the IAS/ECC, RutojenECP and westcos cards as a start?




Is it usable? Any instructions?
The best instructions are available on wiki. You need to set up registry with 
the correct information for your card. The discovery happens base on ATR 
historical bytes.
If your card happens to have two ATR-s (one warm, one cold) you'll need a special 
(signed) driver filter, search for "atrfiltr" on Google.

Minidriver shall be distributed with OpenSC but there will be no automagic 
setup (yet) for supported cards.

'Automatic setup' -- does it means (automatic) download OpenSC minidriver from 
the Microsoft site or 'OpenSC MSI makes all' ?
Do you know if there can be several middlewares for the same card (ATR) 
registered in Microsoft ?

Probably not, as when a new card is inserted it will look up the ATR in the 
registry to find the driver.
When a browser or e-mail wants a card inserted it will look for the card based 
on information stored
in the certificate store to see if the card inserted is the correct one. Based on which 
"middlewares"
added the certificates to the cert store they will store different containerIDs 
and other info.

But you can still use OpenSC via PKCS#11 i.e. as a Firefox or Thunderbird 
Security Device,
even with some vendor's mini-driver or CSP already installed.

You can run the opensc-cardmod.dll mini-driver on XP and Vista if you have 
installed
the Base CSP update.  See:
http://support.microsoft.com/kb/909520

The registry changes for a card looks something like the attachment.
(I should change this for the PIV and used the history bytes instead.)



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




--

 Douglas E. Engert  <deeng...@anl.gov>
 Argonne National Laboratory
 9700 South Cass Avenue
 Argonne, Illinois  60439
 (630) 252-5444
ÿþWindows Registry Editor Version 5.00



[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\DEE
 OPENSC]

"ATR"=hex:3b,db,96,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00

"ATRMask"=hex:ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\

  00

"Crypto Provider"="Microsoft Base Smart 
Card Crypto Provider"

"Smart Card Key Storage 
Provider"="Microsoft Smart Card Key 
Storage Provider"

"80000001"="c:\\Program 
Files\\opensc\\opensc-cardmod.dll"



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

Reply via email to