Skip to content

Commit

Permalink
Release 2.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
pitbulk committed Jan 14, 2021
1 parent 4589079 commit fcea290
Show file tree
Hide file tree
Showing 26 changed files with 36 additions and 26 deletions.
10 changes: 10 additions & 0 deletions changelog.md
@@ -1,4 +1,14 @@
# python-saml changelog
### 2.9.0 (Jan 13, 2021)
* Destination URL Comparison is now case-insensitive for netloc
* Support single-label-domains as valid. New security parameter allowSingleLabelDomains
* Added get_idp_sso_url, get_idp_slo_url and get_idp_slo_response_url methods to the Settings class and use it in the toolkit
* [#267](https://github.com/onelogin/python-saml/issues/267) Custom lxml parser based on the one defined at xmldefused. Parser will ignore comments and processing instructions and by default have deactivated huge_tree, DTD and access to external documents
* Add get_friendlyname_attributes support
* Remove external lib method get_ext_lib_path. Add set_cert_path in order to allow set the cert path in a different folder than the toolkit
* Add python2 deprecation info
* [#269](https://github.com/onelogin/python-saml/issues/269) Add sha256 instead sha1 algorithm for sign/digest as recommended value on documentation and settings

### 2.8.0 (NOv 20, 2019)
* [#258](https://github.com/onelogin/python-saml/issues/258) Fix failOnAuthnContextMismatch feature
* [#250](https://github.com/onelogin/python-saml/issues/250) Allow any number of decimal places for seconds on SAML datetimes
Expand Down
4 changes: 2 additions & 2 deletions setup.py
@@ -1,15 +1,15 @@
#! /usr/bin/env python
# -*- coding: utf-8 -*-

# Copyright (c) 2010-2018 OneLogin, Inc.
# Copyright (c) 2010-2021 OneLogin, Inc.
# MIT License

from setuptools import setup


setup(
name='python-saml',
version='2.8.0',
version='2.9.0',
description='Onelogin Python Toolkit. Add SAML support to your Python software using this library',
classifiers=[
'Development Status :: 5 - Production/Stable',
Expand Down
2 changes: 1 addition & 1 deletion src/onelogin/__init__.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-

"""
Copyright (c) 2010-2018 OneLogin, Inc.
Copyright (c) 2010-2021 OneLogin, Inc.
MIT License
Add SAML support to your Python softwares using this library.
Expand Down
2 changes: 1 addition & 1 deletion src/onelogin/saml2/__init__.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-

"""
Copyright (c) 2010-2018 OneLogin, Inc.
Copyright (c) 2010-2021 OneLogin, Inc.
MIT License
Add SAML support to your Python softwares using this library.
Expand Down
2 changes: 1 addition & 1 deletion src/onelogin/saml2/auth.py
Expand Up @@ -2,7 +2,7 @@

""" OneLogin_Saml2_Auth class
Copyright (c) 2010-2018 OneLogin, Inc.
Copyright (c) 2010-2021 OneLogin, Inc.
MIT License
Main class of OneLogin's Python Toolkit.
Expand Down
2 changes: 1 addition & 1 deletion src/onelogin/saml2/authn_request.py
Expand Up @@ -2,7 +2,7 @@

""" OneLogin_Saml2_Authn_Request class
Copyright (c) 2010-2018 OneLogin, Inc.
Copyright (c) 2010-2021 OneLogin, Inc.
MIT License
AuthNRequest class of OneLogin's Python Toolkit.
Expand Down
2 changes: 1 addition & 1 deletion src/onelogin/saml2/constants.py
Expand Up @@ -2,7 +2,7 @@

""" OneLogin_Saml2_Constants class
Copyright (c) 2010-2018 OneLogin, Inc.
Copyright (c) 2010-2021 OneLogin, Inc.
MIT License
Constants class of OneLogin's Python Toolkit.
Expand Down
2 changes: 1 addition & 1 deletion src/onelogin/saml2/errors.py
Expand Up @@ -2,7 +2,7 @@

""" OneLogin_Saml2_Error class
Copyright (c) 2010-2018 OneLogin, Inc.
Copyright (c) 2010-2021 OneLogin, Inc.
MIT License
Error class of OneLogin's Python Toolkit.
Expand Down
2 changes: 1 addition & 1 deletion src/onelogin/saml2/idp_metadata_parser.py
Expand Up @@ -2,7 +2,7 @@

""" OneLogin_Saml2_IdPMetadataParser class
Copyright (c) 2010-2018 OneLogin, Inc.
Copyright (c) 2010-2021 OneLogin, Inc.
MIT License
Metadata class of OneLogin's Python Toolkit.
Expand Down
2 changes: 1 addition & 1 deletion src/onelogin/saml2/logout_request.py
Expand Up @@ -2,7 +2,7 @@

""" OneLogin_Saml2_Logout_Request class
Copyright (c) 2010-2018 OneLogin, Inc.
Copyright (c) 2010-2021 OneLogin, Inc.
MIT License
Logout Request class of OneLogin's Python Toolkit.
Expand Down
2 changes: 1 addition & 1 deletion src/onelogin/saml2/logout_response.py
Expand Up @@ -2,7 +2,7 @@

""" OneLogin_Saml2_Logout_Response class
Copyright (c) 2010-2018 OneLogin, Inc.
Copyright (c) 2010-2021 OneLogin, Inc.
MIT License
Logout Response class of OneLogin's Python Toolkit.
Expand Down
2 changes: 1 addition & 1 deletion src/onelogin/saml2/metadata.py
Expand Up @@ -2,7 +2,7 @@

""" OneLogin_Saml2_Metadata class
Copyright (c) 2010-2018 OneLogin, Inc.
Copyright (c) 2010-2021 OneLogin, Inc.
MIT License
Metadata class of OneLogin's Python Toolkit.
Expand Down
2 changes: 1 addition & 1 deletion src/onelogin/saml2/response.py
Expand Up @@ -2,7 +2,7 @@

""" OneLogin_Saml2_Response class
Copyright (c) 2010-2018 OneLogin, Inc.
Copyright (c) 2010-2021 OneLogin, Inc.
MIT License
SAML Response class of OneLogin's Python Toolkit.
Expand Down
2 changes: 1 addition & 1 deletion src/onelogin/saml2/settings.py
Expand Up @@ -2,7 +2,7 @@

""" OneLogin_Saml2_Settings class
Copyright (c) 2010-2018 OneLogin, Inc.
Copyright (c) 2010-2021 OneLogin, Inc.
MIT License
Setting class of OneLogin's Python Toolkit.
Expand Down
2 changes: 1 addition & 1 deletion src/onelogin/saml2/utils.py
Expand Up @@ -2,7 +2,7 @@

""" OneLogin_Saml2_Utils class
Copyright (c) 2010-2018 OneLogin, Inc.
Copyright (c) 2010-2021 OneLogin, Inc.
MIT License
Auxiliary class of OneLogin's Python Toolkit.
Expand Down
2 changes: 1 addition & 1 deletion tests/src/OneLogin/saml2_tests/auth_test.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# Copyright (c) 2010-2018 OneLogin, Inc.
# Copyright (c) 2010-2021 OneLogin, Inc.
# MIT License

from base64 import b64decode, b64encode
Expand Down
2 changes: 1 addition & 1 deletion tests/src/OneLogin/saml2_tests/authn_request_test.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# Copyright (c) 2010-2018 OneLogin, Inc.
# Copyright (c) 2010-2021 OneLogin, Inc.
# MIT License

from base64 import b64decode
Expand Down
2 changes: 1 addition & 1 deletion tests/src/OneLogin/saml2_tests/error_test.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# Copyright (c) 2010-2018 OneLogin, Inc.
# Copyright (c) 2010-2021 OneLogin, Inc.
# MIT License

import unittest
Expand Down
2 changes: 1 addition & 1 deletion tests/src/OneLogin/saml2_tests/idp_metadata_parser_test.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# Copyright (c) 2010-2018 OneLogin, Inc.
# Copyright (c) 2010-2021 OneLogin, Inc.
# MIT License


Expand Down
2 changes: 1 addition & 1 deletion tests/src/OneLogin/saml2_tests/logout_request_test.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# Copyright (c) 2010-2018 OneLogin, Inc.
# Copyright (c) 2010-2021 OneLogin, Inc.
# MIT License

from base64 import b64encode
Expand Down
2 changes: 1 addition & 1 deletion tests/src/OneLogin/saml2_tests/logout_response_test.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# Copyright (c) 2010-2018 OneLogin, Inc.
# Copyright (c) 2010-2021 OneLogin, Inc.
# MIT License

import json
Expand Down
2 changes: 1 addition & 1 deletion tests/src/OneLogin/saml2_tests/metadata_test.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# Copyright (c) 2010-2018 OneLogin, Inc.
# Copyright (c) 2010-2021 OneLogin, Inc.
# MIT License


Expand Down
2 changes: 1 addition & 1 deletion tests/src/OneLogin/saml2_tests/response_test.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# Copyright (c) 2010-2018 OneLogin, Inc.
# Copyright (c) 2010-2021 OneLogin, Inc.
# MIT License

from base64 import b64decode, b64encode
Expand Down
2 changes: 1 addition & 1 deletion tests/src/OneLogin/saml2_tests/settings_test.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# Copyright (c) 2010-2018 OneLogin, Inc.
# Copyright (c) 2010-2021 OneLogin, Inc.
# MIT License

import json
Expand Down
2 changes: 1 addition & 1 deletion tests/src/OneLogin/saml2_tests/signed_response_test.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# Copyright (c) 2010-2018 OneLogin, Inc.
# Copyright (c) 2010-2021 OneLogin, Inc.
# MIT License

from base64 import b64encode
Expand Down
2 changes: 1 addition & 1 deletion tests/src/OneLogin/saml2_tests/utils_test.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# Copyright (c) 2010-2018 OneLogin, Inc.
# Copyright (c) 2010-2021 OneLogin, Inc.
# MIT License

from base64 import b64decode
Expand Down

0 comments on commit fcea290

Please sign in to comment.