coheigea opened a new pull request, #3766: URL: https://github.com/apache/cxf/pull/3766
The DOM-based AbstractXmlEncInHandler requires RSA-OAEP (RSA-OAEP-11 in FIPS mode) as the key transport algorithm when no EncryptionProperties are configured. The StAX-based XmlSecInInterceptor only checked algorithms when EncryptionProperties were set, so without them any key transport algorithm was accepted. Apply the same default in XmlSecInInterceptor: when no EncryptionProperties are configured, reject asymmetric key transport algorithms other than RSA-OAEP (RSA-OAEP-11 in FIPS mode). Behaviour is unchanged when EncryptionProperties are set. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
