flipboxfactory / saml-sp

SAML Service Provider (SP) Plugin for Craft CMS
https://saml-sp.flipboxfactory.com/
Other
19 stars 5 forks source link

Adjust log level (error to warning) for algorithm mismatches #153

Open dsmrt opened 2 years ago

dsmrt commented 2 years ago

Since the plugin loops through the keys and algorithms to properly decrypt and verify signatures on messages, make the following log point a warning so it doesn't miscommunicate to users that it's a breaking error.

Decryption failed: Algorithm mismatch between input key and key used to encrypt the symmetric key for the message. Key was: 'http://www.w3.org/2001/04/xmlenc#aes256-cbc'; message was: 'http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p'