Email singing failing Outlook 2007 on Vista

A

Amit Goel

Hi All,

Email singing is failing with Outlook 2007 on Vista when email is signed via
the baseCSP.

We have implemented our card module and when trying to sign the mail by
using the"Micosoft Base smart Card Crypto Provider" (baseCsp). It is failing.

When I debug more into the cardModule/sc mini driver, i came to know that
the parameter value of aiHashAlg in struct _CARD_SIGNING_INFO
(_CARD_SIGNING_INFO is passed as a parameter of call CardSignData) is coming
0 to the card module. So, according the specification, our card module
returns SCARD_E_INVALID_PARAMETER from CardSignData. 0 is not from the list.

Specification Note:

aiHashAlg takes those values permissible by ALG_ID from the HASH algorithm
class (CALG_TLS1PRF, CALG_MAC, CALG_SHA_256, CALG_SHA_384, CALG_SHA_512,
CALG_HASH_REPLACE_OWF, CALG_MD2, CALG_MD4, CALG_MD5, CALG_SHA, CALG_SHA1,
CALG_HUGHES_MD5, and CALG_HMAC).
Algorithms unsupported by the card should be SCARD_E_UNSUPPORED_FEATURE.


While in case of XP, the singing has no problem and the value of aiHashAlg
is coming as 0x8004 i.e. SHA/SHA1.

Can any one from Microsoft validate the same problem?

Regards,
Amit Goel
Sr Software Developer
SafeNet Inc
 
A

Amit Goel

Amit Goel said:
Hi All,

Email singing is failing with Outlook 2007 on Vista when email is signed via
the baseCSP.

We have implemented our card module and when trying to sign the mail by
using the"Micosoft Base smart Card Crypto Provider" (baseCsp). It is failing.

When I debug more into the cardModule/sc mini driver, i came to know that
the parameter value of aiHashAlg in struct _CARD_SIGNING_INFO
(_CARD_SIGNING_INFO is passed as a parameter of call CardSignData) is coming
0 to the card module. So, according the specification, our card module
returns SCARD_E_INVALID_PARAMETER from CardSignData. 0 is not from the list.

Specification Note:

aiHashAlg takes those values permissible by ALG_ID from the HASH algorithm
class (CALG_TLS1PRF, CALG_MAC, CALG_SHA_256, CALG_SHA_384, CALG_SHA_512,
CALG_HASH_REPLACE_OWF, CALG_MD2, CALG_MD4, CALG_MD5, CALG_SHA, CALG_SHA1,
CALG_HUGHES_MD5, and CALG_HMAC).
Algorithms unsupported by the card should be SCARD_E_UNSUPPORED_FEATURE.


While in case of XP, the singing has no problem and the value of aiHashAlg
is coming as 0x8004 i.e. SHA/SHA1.

Can any one from Microsoft validate the same problem?

Regards,
Amit Goel
Sr Software Developer
SafeNet Inc

Just a little clarification.

The selected Hashing Algo is SHA1 in Outllok 2007.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top