![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
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 |
#2
|
|||
|
|||
![]() "Amit Goel" wrote: 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. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Cannot send or recieve email outlook 2007 and vista | Randerle | Outlook - General Queries | 2 | March 13th 08 01:57 PM |
Email sits in Outbox in Outlook 2007 on Vista | shabbir.jadliwala@gmail.com | Outlook - General Queries | 0 | January 7th 08 05:40 PM |
Outlook 2007 & Vista - contacts now longer selectable by email | Chris Lucas | Outlook - Using Contacts | 5 | May 9th 07 10:48 PM |
Outlook 2007/Vista - Outbound mail failing | makerofgirls | Outlook - General Queries | 7 | May 8th 07 09:58 PM |
Outlook 2007 & Vista - contacts now longer selectable by email | Chris Lucas | Outlook - Using Contacts | 0 | May 4th 07 08:46 PM |