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
_______________________________________________
xmlsec mailing list
[email protected]
http://www.aleksey.com/mailman/listinfo/xmlsec

Reply via email to