|
|
|
date: Mon, 28 Jul 2008 02:49:59 -0700 (PDT),
group: microsoft.public.platformsdk.security
back
Re: SCardGetCardTypeProviderName returns wrong csp on Vista
Hi,
This is not a bug in Vista. It is simply due to the fact that, under Vista,
the GemSAFE setup is configuring Windows to use the new card module
architecture instead of the classical CSP one. That's why you are seeing the
Microsoft Base Smart Card Crypto Provider: this is the entry point for using
the smart cards mini-drivers and it will be the same for all cards for whome
there is a mini-driver.
Do you have a problem using the Microsoft Base Smart Card Crypto Provider?
If you really want to use the classical CSP, you should contact Gemalto
(Gemplus in the past) to see if the version of CSP you have has been
validated for Vista and if not get a new one.
Cheers,
--
Mounir IDRASSI
IDRIX
http://www.idrix.fr
To reach me: mounir_idrix_fr (replace the underscores with the at and dot
characters respectively)
a écrit dans le message de news:
eef564c6-33bf-44e2-95d8-4676be8456b1@a70g2000hsh.googlegroups.com...
> Hello,
>
> when retrieving csp with SCardGetCardTypeProviderName on Vista , I
> get wrong value. Same code works well on XP.
>
> My Use of SCard API
> SCardListReaders - To get readers.
> SCardGetStatusChange - For each reader.
> SCardListCards - To get card name
> SCardGetCardTypeProviderName - To get CSP name.
>
>
> when running on XP my values are correct:
> CardName : GXPPro-R3.x STD PTS
> CSPName : Gemplus GemSAFE Card CSP
>
> on Vista :
> CardName : GXPPro-R3.x STD PTS
> CSPName : Microsoft Base Smart Card Crypto Provider
>
> I tried elevated privilege, XP compability mode, SYSTEM and USER
> SCOPE, NULL Context. All the same result.
> Does anyone have an idea ? or a different way to retrieve csp from a
> card?
>
> thx.
date: Mon, 28 Jul 2008 12:22:34 +0100
author: Mounir IDRASSI am
Re: SCardGetCardTypeProviderName returns wrong csp on Vista
Hi Mounir,
thanks for your explanation, is there an other way to retrieve
theGemplus GemSAFE Card CSP string on vista? maybe using
SCARD_PROVIDER_PRIMARY ?
On 28 juil, 13:22, "Mounir IDRASSI" <mooni...@newsgroup.nospam> wrote:
> Hi,
>
> This is not a bug in Vista. It is simply due to the fact that, under Vista,
> the GemSAFE setup is configuring Windows to use the new card module
> architecture instead of the classical CSP one. That's why you are seeing the
> Microsoft Base Smart Card Crypto Provider: this is the entry point for using
> the smart cards mini-drivers and it will be the same for all cards for whome
> there is a mini-driver.
>
> Do you have a problem using the Microsoft Base Smart Card Crypto Provider> If you really want to use the classical CSP, you should contact Gemalto
> (Gemplus in the past) to see if the version of CSP you have has been
> validated for Vista and if not get a new one.
>
> Cheers,
> --
> Mounir IDRASSI
> IDRIXhttp://www.idrix.fr
>
> To reach me: mounir_idrix_fr (replace the underscores with the at and dot
> characters respectively)
>
> a écrit dans le message de news:
> eef564c6-33bf-44e2-95d8-4676be845...@a70g2000hsh.googlegroups.com...
>
> > Hello,
>
> > when retrieving csp with SCardGetCardTypeProviderName on Vista , I
> > get wrong value. Same code works well on XP.
>
> > My Use of SCard API
> > SCardListReaders - To get readers.
> > SCardGetStatusChange - For each reader.
> > SCardListCards - To get card name
> > SCardGetCardTypeProviderName - To get CSP name.
>
> > when running on XP my values are correct:
> > CardName : GXPPro-R3.x STD PTS
> > CSPName : Gemplus GemSAFE Card CSP
>
> > on Vista :
> > CardName : GXPPro-R3.x STD PTS
> > CSPName : Microsoft Base Smart Card Crypto Provider
>
> > I tried elevated privilege, XP compability mode, SYSTEM and USER
> > SCOPE, NULL Context. All the same result.
> > Does anyone have an idea ? or a different way to retrieve csp from a
> > card?
>
> > thx.
date: Mon, 28 Jul 2008 05:02:12 -0700 (PDT)
author: unknown
Re: SCardGetCardTypeProviderName returns wrong csp on Vista
Hi,
I don't think there is another way to retrieve this string under Vista
simply because there is probably no GemSAFE CSP installed under Vista at
all!! And even if it's installed, it can't be associated with your smart
card as it's already associated with Microsoft Base Smart Card Crypto
Provider and all the crypto called will go through this MS CSP instead of
the GemSAFE one (if any).
For a smart card provider, it doesn't make sens to ship on Vista both the
card module and the classical CSP. The only possiblity I think of is if they
want to support a legacy application that is hard-coding the name of their
CSP in it.
In your case, you should probably contact them to see if they have a setup
under Vista that doesn't make use of the new MS architecture.
Cheers,
--
Mounir IDRASSI
IDRIX
http://www.idrix.fr
To reach me: mounir_idrix_fr (replace the underscores with the at and dot
characters respectively)
wrote in message
news:7291f74a-c974-4482-82d2-82deedc1f5a0@25g2000hsx.googlegroups.com...
Hi Mounir,
thanks for your explanation, is there an other way to retrieve
theGemplus GemSAFE Card CSP string on vista? maybe using
SCARD_PROVIDER_PRIMARY ?
On 28 juil, 13:22, "Mounir IDRASSI" <mooni...@newsgroup.nospam> wrote:
> Hi,
>
> This is not a bug in Vista. It is simply due to the fact that, under
> Vista,
> the GemSAFE setup is configuring Windows to use the new card module
> architecture instead of the classical CSP one. That's why you are seeing
> the
> Microsoft Base Smart Card Crypto Provider: this is the entry point for
> using
> the smart cards mini-drivers and it will be the same for all cards for
> whome
> there is a mini-driver.
>
> Do you have a problem using the Microsoft Base Smart Card Crypto Provider?
> If you really want to use the classical CSP, you should contact Gemalto
> (Gemplus in the past) to see if the version of CSP you have has been
> validated for Vista and if not get a new one.
>
> Cheers,
> --
> Mounir IDRASSI
> IDRIXhttp://www.idrix.fr
>
> To reach me: mounir_idrix_fr (replace the underscores with the at and dot
> characters respectively)
>
> a écrit dans le message de news:
> eef564c6-33bf-44e2-95d8-4676be845...@a70g2000hsh.googlegroups.com...
>
> > Hello,
>
> > when retrieving csp with SCardGetCardTypeProviderName on Vista , I
> > get wrong value. Same code works well on XP.
>
> > My Use of SCard API
> > SCardListReaders - To get readers.
> > SCardGetStatusChange - For each reader.
> > SCardListCards - To get card name
> > SCardGetCardTypeProviderName - To get CSP name.
>
> > when running on XP my values are correct:
> > CardName : GXPPro-R3.x STD PTS
> > CSPName : Gemplus GemSAFE Card CSP
>
> > on Vista :
> > CardName : GXPPro-R3.x STD PTS
> > CSPName : Microsoft Base Smart Card Crypto Provider
>
> > I tried elevated privilege, XP compability mode, SYSTEM and USER
> > SCOPE, NULL Context. All the same result.
> > Does anyone have an idea ? or a different way to retrieve csp from a
> > card?
>
> > thx.
date: Mon, 28 Jul 2008 15:00:16 +0200
author: Mounir IDRASSI am
|
|