Skip to content

Commit

Permalink
Release 2.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
pitbulk committed May 18, 2017
1 parent 3d9245a commit f8a15cb
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
18 changes: 17 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,23 @@
# python-saml changelog
### 2.2.2 (May 18, 2017)
* Be able to relax SSL Certificate verification when retrieving idp metadata
* [#195](https://github.com/onelogin/python-saml/pull/195) Be able to register future SP x509cert on the settings and publish it on SP metadata
* [#195](https://github.com/onelogin/python-saml/pull/195) Be able to register more than 1 Identity Provider x509cert, linked with an specific use (signing or encryption
* [#195](https://github.com/onelogin/python-saml/pull/195) Allow metadata to be retrieved from source containing data of multiple entities
* [#195](https://github.com/onelogin/python-saml/pull/195) Adapt IdP XML metadata parser to take care of multiple IdP certtificates and be able to inject the data obtained on the settings.
* [#194](https://github.com/onelogin/python-saml/pull/194) Publish KeyDescriptor[use=encryption] only when required
* [#190](https://github.com/onelogin/python-saml/pull/190) Checking the status of response before assertion count
* Add Pyramid demo example
* Allows underscores in URL hosts
* NameID Format improvements
* [#184](https://github.com/onelogin/python-saml/pull/184) Be able to provide a NameIDFormat to LogoutRequest
* [#180](https://github.com/onelogin/python-saml/pull/180) Add DigestMethod support. (Add sign_algorithm and digest_algorithm parameters to sign_metadata and add_sign)
* Validate serial number as string to work around libxml2 limitation
* Make the Issuer on the Response Optional


### 2.2.1 (Jan 11, 2017)
* [#175]((https://github.com/onelogin/python-saml/pull/175) Optionally raise detailed exceptions vs. returning False.
* [#175](https://github.com/onelogin/python-saml/pull/175) Optionally raise detailed exceptions vs. returning False.
Implement a more specific exception class for handling some validation errors. Improve/Fix tests
* [#171](https://github.com/onelogin/python-saml/pull/171) Add hooks to retrieve last-sent and last-received requests and responses
* Improved inResponse validation on Responses
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

setup(
name='python-saml',
version='2.2.1',
version='2.2.2',
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 tests/src/OneLogin/saml2_tests/settings_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ def testGetSPMetadata(self):
metadata = settings.get_sp_metadata()
self.assertEquals(2, metadata.count('<md:KeyDescriptor'))
self.assertEquals(1, metadata.count('<md:KeyDescriptor use="signing"'))
self.assertEquals(1, metadata.count('<md:KeyDescriptor use="encryption"'))
self.assertEquals(1, metadata.count('<md:KeyDescriptor use="encryption"'))

def testGetSPMetadataWithx509certNew(self):
"""
Expand Down

0 comments on commit f8a15cb

Please sign in to comment.