Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Smart Card minidriver (using Base CSP) for WinXP
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
 
View profile  
 More options Sep 2 2008, 5:04 pm
Newsgroups: microsoft.public.platformsdk.security
From: Randy
Date: Tue, 02 Sep 2008 14:04:44 -0700
Local: Tues, Sep 2 2008 5:04 pm
Subject: Smart Card minidriver (using Base CSP) for WinXP
Hi,

I'm starting the development of a smart card minidriver (using MS Base CSP).  I have a question that I would appreciate any help with.

I followed the minidriver_Spec_V5 for registering the minidriver in the registry but when testing windows logon it does not load my dll.
-------------------------------------------
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\Test Card Minidriver]
"ATR"=hex:3b,db,96,00,81,b1,fe,45,1f,03,80,f9,a0,00,00,03,08,00,00,10,00,18
"ATRMask"=hex:ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,f f,\
  ff
"Crypto Provider"="Microsoft Base Smart Card Crypto Provider"
"80000001"="tcm.dll"
-------------------------------------------
The minidriver is a simple skeleton with DllMain, CardAcquireContext(checking some flags and ATR, no function pointers used/set).  I write log entries to a file in DllMain and in other functions, but nothing at all is generated.  It seems that BaseCSP is not loading my minidriver.  Without the registry entry Winlogon doesn't recognize the card, but with the registry entry it prompts for a PIN and then it always shows the error: "The system could not log you on. The requested key container does not exist on the smart card".  Whether I put/remove the 80000001 in the registry entry I get the exact same error and my minidriver is not loaded (ever).  I am also able to rename/delete the tcm.dll from the system32 dir after booting, shouldn't it be locked by the system.

Thanks for any help.

-Randy


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Solution"
 
View profile  
 More options Sep 4 2008, 2:20 pm
Newsgroups: microsoft.public.platformsdk.security
From: Randy
Date: Thu, 04 Sep 2008 11:20:28 -0700
Local: Thurs, Sep 4 2008 2:20 pm
Subject: Solution
I figured out what it was, so in importance of completeness and perhaps someone else who is beginning the minidriver journey and encounters the same issue.

The default Microsoft Base Cryptographic Provider is a non-smart card CSP.  You have to download a Microsoft Windows Update #KB909520 in order to have the new smart card architecture Base CSP.

http://www.microsoft.com/downloads/details.aspx?FamilyID=e8095fd5-c7e...

Cheers,
-Randy


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »