lightSAML / SpBundle

SAML2 SP Symfony Bundle based on LightSAML
https://www.lightsaml.com/SP-Bundle/
MIT License
66 stars 70 forks source link

LightSaml\Error\LightSamlSecurityException: "Algorithm mismatch ... #30

Closed strietzel closed 7 years ago

strietzel commented 7 years ago

Hello, my implemented SAML flow suddenly stopped working with the following Error message:

Uncaught PHP Exception LightSaml\Error\LightSamlSecurityException: "Algorithm mismatch between input key and key used to encrypt the symmetric key for the message. Input key algo is: 'http://www.w3.org/2001/04/xmldsig-more#rsa-sha256'. Message key algo is 'http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p'"

What is in this context the "input key" and what is the "message key"?

Because I did not change anything on my side, I assume that the ADFS settings were changed by someone. Is this the right conclusion for this case?

Any help would be appreciated, Thx. :-)

tmilos commented 7 years ago

Are you sure this started w/out any modification of the code on your side? Maybe update to new lightsaml/lightsaml 1.1.0 version?

tmilos commented 7 years ago

Try updating to lightsaml/lightsaml v1.1.3 it should fix your issue