AllenD's WebLog




Crypto API's & VS Package Loading

VS uses Crypto API's to verify the package load key for 3rd party packages.  I just submitted a fix to Gauntlet to make this code more robust.  The jist of the problem is that VS asks for too much from the Crypto API.  We try to create a new keyset container.  This is a heavy-weight operation as far as Crypto is concerned.  The fix is to use the CRYPT_VERIFYCONTEXT flag in the CryptAcqureContext call, rather the CRYPT_NEWKEYSET.

So, if you have trouble getting Crystal Reports or other 3rd party packages to load in limited security contexts, you might want to look at granting additional privileges to the user so that they can create keysets.  Until this fix hits the streets 3rd party packages will only load in powerful contexts.

Yeah, I'm up again late! 

Published Thursday, October 16, 2003 6:12 PM by AllenD
Filed under:
Anonymous comments are disabled

This Blog

Syndication

News

> These postings are provided "as-is" and confer no rights or warranties.


© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Microsoft
Page view tracker