14
0
Files
python-python3-saml/bug-testDecryptElement.patch
Tomáš Chvátal 5a055e723c Accepting request 693026 from home:jayvdb:django
- Add explicit dependency on libxmlsec1-openssl1, recommended
  by dependency python-xmlsec so this package may be used without
  needing to select a libxmlsec backend
- Activate test suite, adding bug-testDecryptElement.patch to
  workaround a test failure, and remove bcond test
- Build for Python 2, as support has been added upstream
- Remove unnecessary build dependency on python-devel
- Use %license
- Remove live dependency_links and remove == pins from setup.py,
  so installed egg-info isnt broken
- Update to v1.6.0
  * Add support for Subjects on AuthNRequests by the new 
    name_id_value_req parameter
  * Fix for SLO when XML specifies encoding
  * Fixed setting NameFormat attribute for AttributeValue tags
- from v1.5.0
  * Security improvements. Use of tagid to prevent XPath injection
    Disable DTD on fromstring defusedxml method
  * Check that the response has all of the AuthnContexts provided
  * Adapt renders from Django demo for Django 1.11 version
  * If debug enable, print reason for the SAMLResponse invalidation
  * Fix DSA constant
  * Support NameID children inside of AttributeValue elements
- from v1.4.1
  * Add ID to EntityDescriptor before sign it on add_sign method
  * Update defusedxml dependencies
  * Update copyright and license reference
- from 1.4.0
  * Fix CVE-2017-11427. Process text of nodes properly, ignoring comments
  * Improve how fingerprint is calcultated
  * Fix issue with LogoutRequest rejected by ADFS due NameID with
    unspecified format instead no format attribute
  * Fix signature position in the SP metadata
  * Preserve xmlns:xs namespace when signing and serializing responses
  * Redefine NSMAP constant
  * Updated Django demo (Django 1.11)

OBS-URL: https://build.opensuse.org/request/show/693026
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python3-saml?expand=0&rev=1
2019-04-11 08:04:25 +00:00

14 lines
966 B
Diff

Index: python3-saml-1.6.0/tests/src/OneLogin/saml2_tests/utils_test.py
===================================================================
--- python3-saml-1.6.0.orig/tests/src/OneLogin/saml2_tests/utils_test.py
+++ python3-saml-1.6.0/tests/src/OneLogin/saml2_tests/utils_test.py
@@ -625,7 +625,7 @@ class OneLogin_Saml2_Utils_Test(unittest
encrypted_nameid_nodes = dom_nameid_enc.find('.//saml:EncryptedID', namespaces=OneLogin_Saml2_Constants.NSMAP)
encrypted_data = encrypted_nameid_nodes[0]
decrypted_nameid = OneLogin_Saml2_Utils.decrypt_element(encrypted_data, key)
- self.assertEqual('saml:NameID', decrypted_nameid.tag)
+ self.assertEqual('NameID', decrypted_nameid.tag)
self.assertEqual('2de11defd199f8d5bb63f9b7deb265ba5c675c10', decrypted_nameid.text)
xml_assertion_enc = b64decode(self.file_contents(join(self.data_path, 'responses', 'valid_encrypted_assertion_encrypted_nameid.xml.base64')))