[xmlsec] hybrid encrypted data for multiple recipients doesn't find keys in Keymanager after first during decryption

Aleksey Sanin aleksey at aleksey.com
Fri Oct 21 08:05:44 PDT 2005


> I'm using xmlsec 1.2.8 under WinXPSP2, using mscrypto.
I recall that someone else also had problems with key names in
xmlsec-mscrypto. I believe that in this case, key name is either
0) key name assigned by you when you added key to the keys manager
1) cert id (key/cert is in MS store)
2) full subject dn (key/cert is in MS store)

The key name you use

<KeyName>de, TU Darmstadt, FB20, Christian Valentin-6E</KeyName>

does not look like 1) or 2) thus you have to put key into keys manager
yourself. Try to dump keys manager and check that the key is there.

Aleksey





More information about the xmlsec mailing list