These are MANDATORY requirements for XML Enc interop. Other key sizes areRSA-v1.5 works for AES192 and 3DES RSA-OAEP works for AES128 and AES256 (http://www.aleksey.com/xmlsec/xmlenc.html) also possible: http://www.w3.org/TR/xmlenc-core/#sec-Alg-KeyTransport And xmlsec does support any symmetric key length if public key size is enough. Looks good to me :)encrypt3.c (http://www.aleksey.com/xmlsec/api/xmlsec-encrypt-with-session-key.html) uses RSA-OAEP and 3DES (which is no good). No, it does not. Since you was able to get RSA-OAEP for the smallest symmetric key onlySo I tried different scenarii and got the following: then I would think that the problem is in the public key size. Try to use 2048 bits key. Aleksey P.S. If you want me to read your mail then you should subscribe to xmlsec mailing list. This is a happy incident that I've discovered your mail in tons of spam I got on xmlsec mailing list from not-subscribed people. |
- Rep:[xmlsec] XML Encryption with session key Yann Le Bars
- Re: Rep:[xmlsec] XML Encryption with session key Aleksey Sanin
- Rep:[xmlsec] XML Encryption with session key Yann Le Bars
- Aleksey Sanin
