[xmlsec] Keyset does not exist ...

Daniel Jackson danjackson84 at gmail.com
Wed Mar 15 22:38:59 PST 2006


 Hi,

I think I have encountered a problem using xmlsec library.
I've made new user (administrator) on W2k3. After running xmlsec tool to
encrypt I get:

func=xmlSecMSCryptoBlockCipherInitialize:file=..\src\mscrypto\ciphers.c:line=556:obj=tripledes-cbc:subj=CryptAcquireContext:error=4:crypto
library function failed: ;last error=-2146893802 (0x80090016);last error
msg=Keyset does not exist

The problem is that a new user doesn't have a key container.

I think that code should check for *NTE_BAD_KEYSET* and if this is true flag
*CRYPT_NEWKEYSET* should be used to create a new key container.

Is this true and/or is there any other way aroud it?

Regards,
   Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.aleksey.com/pipermail/xmlsec/attachments/20060316/f52cf5c0/attachment-0002.htm


More information about the xmlsec mailing list