@@ -130,8 +130,10 @@ start, for example to use the static method getSelfURLNoQuery use:
130130Security warning
131131----------------
132132
133- In production, the ` strict ` parameter ** MUST** be set as ` "true" ` . Otherwise
134- your environment is not secure and will be exposed to attacks.
133+ In production, the ` strict ` parameter ** MUST** be set as ` "true" ` and the
134+ ` signatureAlgorithm ` and ` digestAlgorithm ` under ` security ` must be set to
135+ something other than SHA1 (see https://shattered.io/ ). Otherwise your
136+ environment is not secure and will be exposed to attacks.
135137
136138
137139Getting started
@@ -462,13 +464,15 @@ $advancedSettings = array (
462464 // 'http://www.w3.org/2001/04/xmldsig-more#rsa-sha256'
463465 // 'http://www.w3.org/2001/04/xmldsig-more#rsa-sha384'
464466 // 'http://www.w3.org/2001/04/xmldsig-more#rsa-sha512'
467+ // Notice that rsa-sha1 is a deprecated algorithm and should not be used
465468 'signatureAlgorithm' => 'http://www.w3.org/2001/04/xmldsig-more#rsa-sha256',
466469
467470 // Algorithm that the toolkit will use on digest process. Options:
468471 // 'http://www.w3.org/2000/09/xmldsig#sha1'
469472 // 'http://www.w3.org/2001/04/xmlenc#sha256'
470473 // 'http://www.w3.org/2001/04/xmldsig-more#sha384'
471474 // 'http://www.w3.org/2001/04/xmlenc#sha512'
475+ // Notice that sha1 is a deprecated algorithm and should not be used
472476 'digestAlgorithm' => 'http://www.w3.org/2001/04/xmlenc#sha256',
473477
474478 // ADFS URL-Encodes SAML data as lowercase, and the toolkit by default uses
0 commit comments