Skip to content

Commit

Permalink
Merge pull request SAML-Toolkits#267 from schwabe/patch-1
Browse files Browse the repository at this point in the history
Fix misleading comment with fingerprint hash weaker than a certificat…
  • Loading branch information
pitbulk authored Jul 6, 2021
2 parents 05611bb + 5eaad0a commit 174ecfa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -323,8 +323,8 @@ This is the ``settings.json`` file:
/*
* Instead of using the whole X.509cert you can use a fingerprint in order to
* validate a SAMLResponse (but you still need the X.509cert to validate LogoutRequest and LogoutResponse using the HTTP-Redirect binding).
* But take in mind that the fingerprint, is a hash, so at the end is open to a collision attack that can end on a signature validation bypass,
* that why we don't recommend it use for production environments.
* But take in mind that the algortithm for the fingerprint should be as strong as the algorithm in a normal certificate signature
* (e.g. SHA256 or strong)
*
* (openssl x509 -noout -fingerprint -in "idp.crt" to generate it,
* or add for example the -sha256 , -sha384 or -sha512 parameter)
Expand Down

0 comments on commit 174ecfa

Please sign in to comment.