diff --git a/lib/SimpleSAML/Bindings/SAML20/HTTPPost.php b/lib/SimpleSAML/Bindings/SAML20/HTTPPost.php index 8a79c3ab211135307b175ce91cb60013a14bb4b4..155e3783d07d7840a9ba7fca54ce390b6df74b34 100644 --- a/lib/SimpleSAML/Bindings/SAML20/HTTPPost.php +++ b/lib/SimpleSAML/Bindings/SAML20/HTTPPost.php @@ -172,7 +172,7 @@ class SimpleSAML_Bindings_SAML20_HTTPPost { throw new Exception("Public key for encrypting assertion specified but not found for saml20-sp-remote id: " . $spentityid . " Filename: " . $spmd['certificate']); } - $keyKey = new XMLSecurityKey(XMLSecurityKey::RSA_SHA1, array('type'=>'public')); + $keyKey = new XMLSecurityKey(XMLSecurityKey::RSA_1_5, array('type'=>'public')); $keyKey->loadKey($sp_publiccert);