Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
platform
active.directory
adsi
adsi.iis-admin
base
com_ole
complus_mts
component_svcs
database
directx
gdi
graphics_mm
internet.client
internet.server
internet.server.isapi-dev
localization
mapi
messaging
msi
mslayerforunicode
multimedia
networking
networking.ipv6
sdk_install
security
shell
telephony.tapi_2
telephony.tapi_3
telephony.tsp
telephony.wte
tools
ui
ui_shell
win_base_svcs
win16
  
 
date: Thu, 1 May 2008 03:40:00 -0700,    group: microsoft.public.platformsdk.security        back       


Email singing failing Outlook 2007 on Vista   
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
date: Thu, 1 May 2008 03:40:00 -0700   author:   Amit Goel

RE: Email singing failing Outlook 2007 on Vista   
"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.
date: Thu, 1 May 2008 04:11:00 -0700   author:   Amit Goel

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us