Skip to content

Commit f7d7034

Browse files
committed
Release 2.5.0
1 parent 44a92d3 commit f7d7034

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ Python3: [python3-saml](https://github.com/onelogin/python3-saml).
1414

1515
#### Warning ####
1616

17+
Update python-saml to 2.5.0, this version includes security improvements for preventing XEE and Xpath Injections.
18+
1719
Update python-saml to 2.4.0, this version includes a fix for the [CVE-2017-11427](https://www.cvedetails.com/cve/CVE-2017-11427/) vulnerability.
1820

1921
This version also changes how the calculate fingerprint method works, and will expect as input a formatted x509 certificate
@@ -436,6 +438,9 @@ In addition to the required settings data (idp, sp), extra settings can be defin
436438
// Allows the authn comparison parameter to be set, defaults to 'exact' if the setting is not present.
437439
"requestedAuthnContextComparison": "exact",
438440

441+
// Set to true to check that the AuthnContext received matches the one requested.
442+
"failOnAuthnContextMismatch": false,
443+
439444
// In some environment you will need to set how long the published metadata of the Service Provider gonna be valid.
440445
// is possible to not set the 2 following parameters (or set to null) and default values will be set (2 days, 1 week)
441446
// Provide the desired Timestamp, for example 2015-06-26T20:00:00Z

changelog.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
11
# python-saml changelog
2+
### 2.5.0 (Jan 29, 2019)
3+
* Security improvements. Use of tagid to prevent XPath injection. Disable DTD on fromstring defusedxml method
4+
* [#239](https://github.com/onelogin/python-saml/issues/239) Check that the response has all of the AuthnContexts that we provided
5+
* Fixed a ValidationError misspelling
6+
* Don't require compression on LogoutResponse messages by relaxing the decode_base64_and_inflate method
7+
* Add expected/received in WRONG_ISSUER error
8+
* If debug enable, print reason for the SAMLResponse invalidation
9+
* [#238](https://github.com/onelogin/python-saml/issues/238) Fix DSA constant
10+
* Start using flake8 for code quality
11+
212
### 2.4.2 (Sep 05, 2018)
313
* Update dm.xmlsec.binding dependency to 1.3.7
414
* Update pylint dependency to 1.9.1

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
setup(
1111
name='python-saml',
12-
version='2.4.2',
12+
version='2.5.0',
1313
description='Onelogin Python Toolkit. Add SAML support to your Python software using this library',
1414
classifiers=[
1515
'Development Status :: 5 - Production/Stable',

0 commit comments

Comments
 (0)