Skip to content

Commit 28e7ccc

Browse files
committed
Release 2.13.0
1 parent 2992d88 commit 28e7ccc

File tree

3 files changed

+18
-9
lines changed

3 files changed

+18
-9
lines changed

CHANGELOG

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
CHANGELOG
22
=========
3+
v.2.13.0
4+
* Update xmlseclibs with some fixes.
5+
* Add extra protection verifying the Signature algorithm used on SignedInfo element, not only rely on the xmlseclibs verify / verifySignature methods.
6+
* Add getAttributesWithFriendlyName method which returns the set of SAML attributes indexed by FriendlyName
7+
* Fix bug on parseRemoteXML and parseFileXML. Internal calls to parseXML missed the desiredNameIdFormat parameter
8+
39
v.2.12.0
410
* Improve Time management. Use DateTime/DateTimeZone classes.
511
* Escape error messages in debug mode

lib/Saml2/Utils.php

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1207,13 +1207,16 @@ public static function castKey(XMLSecurityKey $key, $algorithm, $type = 'public'
12071207

12081208
public static function isSupportedSigningAlgorithm($algorithm)
12091209
{
1210-
return in_array($algorithm, array(
1211-
XMLSecurityKey::RSA_1_5,
1212-
XMLSecurityKey::RSA_SHA1,
1213-
XMLSecurityKey::RSA_SHA256,
1214-
XMLSecurityKey::RSA_SHA384,
1215-
XMLSecurityKey::RSA_SHA512
1216-
));
1210+
return in_array(
1211+
$algorithm,
1212+
array(
1213+
XMLSecurityKey::RSA_1_5,
1214+
XMLSecurityKey::RSA_SHA1,
1215+
XMLSecurityKey::RSA_SHA256,
1216+
XMLSecurityKey::RSA_SHA384,
1217+
XMLSecurityKey::RSA_SHA512
1218+
)
1219+
);
12171220
}
12181221

12191222
/**

lib/Saml2/version.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"php-saml": {
3-
"version": "2.12.0",
4-
"released": "06/11/2017"
3+
"version": "2.13.0",
4+
"released": "05/03/2017"
55
}
66
}

0 commit comments

Comments
 (0)