From: <c.h...@ad...> - 2016-07-01 09:12:29
|
Hello! I am using Crypt::OpenSSL::RSA for implementing XML-Encryption and I have a little problem with RSA-OAEP. Maybe I can get a little hint. I can perfectly decrypt RSA 1.5 (http://www.w3.org/2001/04/xmlenc#rsa-1_5) with <https://metacpan.org/pod/Crypt::OpenSSL::RSA#use_pkcs1_padding> use_pkcs1_padding. Also ok is http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p with use_pkcs1_oaep_padding. But http://www.w3.org/2001/04/xmlenc#rsa-oaep does not. I tried any padding. I get: RSA.xs:202: OpenSSL error: oaep decoding error Is it not supported or whats the problem. I tried it against multiple parties and RSA-OAEP never worked. Thanks for help! Christoph |