Re: Smart Card PIN verification

From: Sergio G. (sgmartin_at_digi-sign-p.com)
Date: 10/05/05


Date: Wed, 5 Oct 2005 08:56:46 +0200

I know that. I just said the only working way to get a CSP context with my
SmartCard CSP is with that flag. I know I must use CRYPT_MACHINE_KEYSET and
CRYPT_SILENT flags and that's what I'm doing.

What I want to know, and that's what I'm working on, is why my code runs ok
outside my GINA dll but fails when executed inside of it. That's the
problem.

Thanks,
Sergio G.

> Why would you need PIN check when you are opening the CSP with verify
> context? CRYPT_VERIFYCONTEXT flag basically tells the CSP:
> "I don't need any container / content you have and I will not create any
> permanent content." but in that case no data you touch which is protected
> by
> the smart card. (CSPs act as "software only" when called with
> CRYPT_VERIFYCONTEXT)
>
> Laszlo Elteto
> SafeNet, Inc.


Loading