[prev in list] [next in list] [prev in thread] [next in thread]
List: ms-smartcardsdk
Subject: Re: login with smartcard
From: Eric Perlin <ericperl () MICROSOFT ! COM>
Date: 2001-06-11 17:43:13
[Download RAW message or body]
After the GetUserKey you should get a GetKeyParam.
The sequence that you see indicates that CPGetUserKey fails.
-----------------------------------------------------
Service: GetUserKey
Status: The operation completed successfully.
HCRYPTPROV: 0x4782ae85
KeySpec: AT_KEYEXCHANGE
HCRYPTKEY: 0x000dfa18 // OUT param
-----------------------------------------------------
Service: GetKeyParam
HCRYPTPROV: 0x4782ae85
HCRYPTKEY: 0x000dfa18 // IN param
Param Id: KP_CERTIFICATE
Flags: 0x00000000
Returned Data: <NULL>
Length: 1541 (0x00000605)
-----Original Message-----
From: Fredrik Kjellberg (ECS) [mailto:Fredrik.Kjellberg@ECS.ERICSSON.SE]
Sent: Wednesday, June 06, 2001 11:50 PM
To: SmartCardSDK@DISCUSS.MICROSOFT.COM
Subject: Re: login with smartcard
Yes.
Everything succeds (acquirecontext, setprovparam, getuserkey,
releasecontext) After this I get "your credentials could not be
verefied"
-----Original Message-----
From: Eric Perlin [mailto:ericperl@MICROSOFT.COM]
Sent: Wednesday, June 06, 2001 6:50 PM
To: SmartCardSDK@DISCUSS.MICROSOFT.COM
Subject: Re: login with smartcard
Does the getuserkey succeed?
-----Original Message-----
From: Fredrik Kjellberg (ECS) [mailto:Fredrik.Kjellberg@ECS.ERICSSON.SE]
Sent: Wednesday, June 06, 2001 1:28 AM
To: SmartCardSDK@DISCUSS.MICROSOFT.COM
Subject: login with smartcard
Hi
I'm trying to write a smartcard csp, that acctually uses a mobilephone
instead of a smartcard for Windows 2k.
When doing a "enroll a smartcard for a user" it works fine
no errors at all.
But when doing a log in, I get an error message
"Your credentials could not be verified"
When looking att my log I cant find what is wrong, it just do
a "releasecontext" right after it has done a "getuserkey"
I'm not acctually storing anything in the phone right now,
the certificate i get when doing an enroll (KP_CERTIFICATE)
is stored in a file on my HD, and the container with the keys is stored
with MS-Base provider.
All the phone does is to give out a ATR string to the OS.
Anybody knows what goes wrong with the login?
/Martin
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic