From f1ead3e3e4dd6e254b0f92a81441703c7e27a3b5 Mon Sep 17 00:00:00 2001 From: Mads Freek Petersen <freek@wayf.dk> Date: Wed, 11 Jun 2008 15:30:24 +0000 Subject: [PATCH] Fix of issue 94. The EncryptionMethod label was wrong. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@633 44740490-163a-0410-bde0-09ae8108e29a --- lib/SimpleSAML/Bindings/SAML20/HTTPPost.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/SimpleSAML/Bindings/SAML20/HTTPPost.php b/lib/SimpleSAML/Bindings/SAML20/HTTPPost.php index 8a79c3ab2..155e3783d 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); -- GitLab