14
0
Commit Graph

36 Commits

Author SHA256 Message Date
5441cfcec1 Accepting request 903776 from home:stroeder:iam
- removed obsolete 0001-Always-use-base64.encodebytes-base64.encodestring-ha.patch
- Update to 7.0.1:
  * 7.0.1 (2021-05-20)
    - Preserve order of response bindings on IdP-initiated logout
    - Fix use of expected binding on SP logout
  * 7.0.0 (2021-05-18)
    - **BREAKING** Replace encryption method rsa-1_5 with rsa-oaep-mgf1p
    - Add documentation next to the code
  * 6.5.2 (2021-05-18)
    - Add shibmd_scopes metadata extractor
    - Allow the Issuer element on a Response to be missing
    - Respect the preferred_binding configuration for the single_logout_service
    - Fix logout signature flags for redirect, post and soap requests
    - Respect the logout_requests_signed configuration option
    - Fix crash when applying policy on RequestedAttribute without a friendlyName
    - Correctly validate IssueInstant
    - Correctly handle AudienceRestriction elements with no value
    - Raise InvalidAssertion exception when assertion requirements are not met
    - Raise SAMLError on failure to parse a metadata file
    - Raise StatusInvalidAuthnResponseStatement when the AuthnStatement is not valid
    - Handle all forms of ACS endpoint specifications
    - tests: Always use base64.encodebytes; base64.encodestring has been dropped
    - build: Set minimum version needed for xmlschema
    - docs: Update Travis CI badge from travis-ci.org to travis-ci.com
    - examples: Fix example code

OBS-URL: https://build.opensuse.org/request/show/903776
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysaml2?expand=0&rev=60
2021-07-03 16:03:26 +00:00
9fc22e6e49 - add 0001-Always-use-base64.encodebytes-base64.encodestring-ha.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysaml2?expand=0&rev=58
2021-04-26 12:55:15 +00:00
668f0875bf OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysaml2?expand=0&rev=56 2021-01-25 15:08:10 +00:00
cca4ab3853 - update requires
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysaml2?expand=0&rev=55
2021-01-25 15:06:56 +00:00
f52b240d11 Accepting request 865096 from home:stroeder:branches:devel:languages:python
- Update to 6.5.1:
  * Fix the parser to take into account both the xs and xsd namespace prefixes

OBS-URL: https://build.opensuse.org/request/show/865096
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysaml2?expand=0&rev=53
2021-01-21 08:32:38 +00:00
cf9121fe6f Accepting request 865074 from home:stroeder:branches:devel:languages:python
- Update to 6.5.0 - Security release
  * Fix processing of invalid SAML XML documents - CVE-2021-21238
  * Fix unspecified xmlsec1 key-type preference - CVE-2021-21239
  * Add more tests regarding XSW attacks
  * Add XML Schemas for SAML2 and common extensions
  * Fix the XML parser to not break on ePTID AttributeValues
  * Fix the initialization value of the return_addrs property of the StatusResponse object
  * Fix SWAMID entity-category policy regarding eduPersonTargetedID
  * data: use importlib to load package data (backwards compatibility through the importlib_resources package)
  * docs: improve the documentation for the signing_algorithm and digest_algorithm options
  * examples: fix the logging configuration of the example-IdP
  * tests: allow tests to pass on 32bit systems by properly choosing dates in test XML documents
  * tests: improvements on the generation of response and assertion objects
  * tests: expand tests on python-3.9 and python-3.10-dev
- added new build dependencies:
  * python3-importlib-resources
  * python3-xmlschema
  * update-alternatives
- removed obsolete avoid-too-large-dates.patch
- replaced %python3_alternative by %python_alternative

OBS-URL: https://build.opensuse.org/request/show/865074
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysaml2?expand=0&rev=52
2021-01-20 21:32:16 +00:00
687446e293 - Add avoid-too-large-dates.patch to avoid test failures on i586
(Y38K bug; gh#IdentityPython/pysaml2#759)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysaml2?expand=0&rev=50
2021-01-06 10:50:59 +00:00
21faa36cd4 - Skip test test_filter_ava_registration_authority_1
(gh#IdentityPython/pysaml2#759).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysaml2?expand=0&rev=48
2021-01-04 21:25:57 +00:00
3fa2849818 - update to 6.3.1:
- Fix extraction of RegistrationInfo when no information is available
  - Fix http_info struct to include status-code
  - Allow to specify policy configurations based on the registration authority.
  - Add new configuration option `logout_responses_signed` to sign logout responses.
  - When available and appropriate return the ResponseLocation along with the Location
    attribute.
  - Always use base64.encodebytes; base64.encodestring has been dropped.
  - Examples: fix IdP example that was outputing debug statements on stdout that became
    part of its metadata.
  - CI/CD: Use Ubuntu bionic as the host to run the CI/CD process.
  - CI/CD: Pre-releases are now available on [test.pypi.org][pypi.test.pysaml2]. Each
    commit/merge on the master branch autotically creates a new pre-release. To install a
    prelease, run:
  - Fix the generated xsd:ID format for EncryptedData and EncryptedKey elements
  - Set the default value for the NameFormat attribute to unspecified when parsing
  - Support arbitrary entity attributes
  - Replace all asserts with proper checks
  - Allow request signing in artifact2message
  - Support logging configuration through the python logger
  - Fix wrong identifiers for ecdsa algos
  - Fix automatic inversion of attribute map files
  - Factor out common codepaths in attribute_converter
  - Remove uneeded exception logging
  - Docs: Update configuration options documentation
  - Examples: Support both str and bytes in SAML requests on the example idp
  - Examples: Update to key generation to 2048 bits

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysaml2?expand=0&rev=46
2020-12-20 10:05:52 +00:00
f10eaba052 Accepting request 820452 from home:stroeder:branches:devel:languages:python
- update to 6.1.0:
  * Fix signed logout requests flag
  * Differentiate between metadata NameIDFormat and AuthnRequest NameIDPolicy Format
    - Users using `name_id_format` to set the `<NameIDPolicy Format="...">` attribute now
      need to use the new configuration option `name_id_policy_format`.
  * Fix documentation formatting
  * Fix generation of signed metadata
  * Add attribute mappings used by SwedenConnect (DIGG, INERA and PKIX specifications)
  * Update SWAMID entity category
  * Document the `additional_cert_files` configuration option

OBS-URL: https://build.opensuse.org/request/show/820452
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysaml2?expand=0&rev=44
2020-07-14 08:33:35 +00:00
3f73e0ed67 - update to 5.3.0:
- Fix check for nameid_format set to the string "None" in the configuration
  - Fix presence of empty eIDAS RequestedAttributes element on AuthnRequest
  - Refactor create_authn_request method to be easier to reason about
  - Fix NameIDPolicy checks for allowed Format and allowCreate values

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysaml2?expand=0&rev=42
2020-07-11 06:33:14 +00:00
07cc2736b7 - update to 5.1.0:
- support eIDAS RequestedAttributes per AuthnRequest
  - fix xmlsec1 --id-attr configuration option value
  - do not remove existing disco URL query params
  - load attribute maps in predictable order
  - better error message when AudienceRestriction does not validate
  - always use base64.encodebytes instead of base64.encodestring
  - update the eIDAS attribute mapping for legal person
  - fix py_compile warnings
  - fix pylint errors and warnings
  - various small fixes
  - add Python3.8 as supported
  - tests: fix validity dates
  - docs: document default value for 'want_response_signed'

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysaml2?expand=0&rev=40
2020-06-14 08:58:25 +00:00
ccc762bf97 Fix SPECS
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysaml2?expand=0&rev=38
2020-05-05 21:34:33 +00:00
9be6c06118 Make the package arch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysaml2?expand=0&rev=37
2020-05-05 18:22:07 +00:00
7598c46115 Fix arch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysaml2?expand=0&rev=36
2020-05-05 18:14:02 +00:00
77cddd5317 - Skip failing tests on i586 (gh#IdentityPython/pysaml2#682)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysaml2?expand=0&rev=35
2020-05-05 18:02:41 +00:00
6abca738ef - Don't use %python3_only command, but properly use alternatives.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysaml2?expand=0&rev=34
2020-05-05 12:54:25 +00:00
ea6bb66fec - update to 5.0.0:
- Fix XML Signature Wrapping (XSW) vulnerabilities - CVE-2020-5390
  - Add freshness period feature for MetaDataMDX
  - Fix bug in duration calculation in time_util library
  - Fix ipv6 validation to accommodate for addresses with brackets
  - Fix xmlsec temporary files deletions
  - Add method to get supported algorithms from metadata
  - Add mdstore method to extract assurance certifications
  - Add mdstore method to extract contact_person data
  - Add attribute mappings from the Swiss eduPerson Schema
  - Make AESCipher and Fernet interfaces compatible
  - Remove deprecated saml2.aes module
  - Remove deprecated saml2.extensions.ui module
  - Replace deprecated mongodb operations
  - Rename ToOld error to TooOld
  - Fix pytest warnings
  - Mock tests that need a network connection
  - Start dropping python2 support
  - Add mdstore methods to extract mdui uiinfo elements
  - Add attribute mapping for umbrellaID attributes
  - Fix logic error in pick_binding method for Entity class
  - Validate the audience of assertions regardless of a response being unsolicited
  - Fix PKCS_9 saml_url prefix
  - docs: Fix warnings from docs generation
  - docs: Update release instructions regarding branch releases
  - docs: Fix list formatting on IdP example page
  - docs: Update pysaml2 options doc with `name_id_format_allow_create`
  - misc: fix various typos

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysaml2?expand=0&rev=31
2020-03-14 16:01:08 +00:00
Tomáš Chvátal
9247470282 - Use python dbm dependency instead of legacy gdbm
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysaml2?expand=0&rev=29
2020-01-07 11:52:07 +00:00
Tomáš Chvátal
016e3937f1 - Update to 4.8.0:
* Refactor the way ForceAuthn is set: check for "true" and "1"
  * Allow to set NameQualifier and SPNameQualifier attributes for ePTID
  * Parse assertions with Holder-of-Key profile
  * Add created_at timestamps to all mongodb documents
  * Look for existing persistent id's before creating new ones
  * Do not add AllowCreate property for default transient NameID
  * Enable entity category import from module search path
  * Add SAML subject identifier attributes to saml2_uri attributemap
  * Fix deprecation warning regarding the cgi module - use the html module when available
  * Misc minor improvements
  * tests: Be compatible with latest pytest
  * tests: Make tests pass after 2024
  * tests: Add py37 as a test target
  * docs: Correct instructions to run tests
  * docs: Fix misc typos

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysaml2?expand=0&rev=27
2019-07-22 15:04:46 +00:00
Tomáš Chvátal
1b28bccebd Accepting request 707788 from home:mcalabkova:branches:devel:languages:python
- Update to 4.7.0
  * Add support for MDQ signature verification
  * Raise XmlsecError if xmlsec1 operations do not succeed
  * Handle non standard response error status codes correctly
  * Remove the python-future dependency and only use six

OBS-URL: https://build.opensuse.org/request/show/707788
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysaml2?expand=0&rev=25
2019-06-05 10:21:45 +00:00
Tomáš Chvátal
eeac59abc3 - Update to 4.6.5:
* Many many changes everywhere, see CHANGELOG.md for details
- Use github tarball to include license/tests

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysaml2?expand=0&rev=23
2018-12-07 11:16:24 +00:00
8b74a89d19 Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysaml2?expand=0&rev=22
2018-12-04 13:54:13 +00:00
cf2f7f2504 - cleanup filelist
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysaml2?expand=0&rev=20
2018-10-10 06:09:04 +00:00
9e77dd2ebd Accepting request 640854 from home:comurphy:branches:devel:languages:python
- Replace python-pycryptodomex dep with python-cryptography
  - Dependency was swapped in afdf5b4

OBS-URL: https://build.opensuse.org/request/show/640854
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysaml2?expand=0&rev=19
2018-10-09 15:55:30 +00:00
Tomáš Chvátal
6594d70f9c Accepting request 547615 from home:okurz:branches:devel:languages:python
Add missing runtime dependency on 'defusedxml'

OBS-URL: https://build.opensuse.org/request/show/547615
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysaml2?expand=0&rev=17
2017-12-02 22:15:35 +00:00
Todd R
0951456846 Accepting request 537751 from home:stroeder:branches:devel:languages:python
- update to 4.5.0

OBS-URL: https://build.opensuse.org/request/show/537751
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysaml2?expand=0&rev=15
2017-11-01 14:39:05 +00:00
a0efb901d4 Accepting request 504766 from home:okurz:matrix-synapse
Convert to singlespec

OBS-URL: https://build.opensuse.org/request/show/504766
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysaml2?expand=0&rev=13
2017-06-30 11:03:36 +00:00
25668c3a6e - fix requires
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysaml2?expand=0&rev=12
2016-11-22 15:18:34 +00:00
Thomas Bechtold
62ef4faeca Accepting request 440801 from home:stroeder:branches:devel:languages:python
update to 4.4.0

OBS-URL: https://build.opensuse.org/request/show/440801
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysaml2?expand=0&rev=11
2016-11-18 10:32:48 +00:00
7dcaea1e2b Accepting request 361736 from home:tbechtold:branches:devel:languages:python
Require python-python-dateutil. package was renamed

OBS-URL: https://build.opensuse.org/request/show/361736
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysaml2?expand=0&rev=9
2016-02-26 15:12:05 +00:00
Thomas Bechtold
98e5c97147 Accepting request 338744 from Cloud:OpenStack:Master
- add pycrypto/pyOpenSSL dependency

OBS-URL: https://build.opensuse.org/request/show/338744
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysaml2?expand=0&rev=8
2015-10-14 06:22:07 +00:00
Michal Čihař
2351981962 Accepting request 328246 from Cloud:OpenStack:Master
- Move python-repoze.who from Recommends to Requires. It's needed.

- Add missing Requires

OBS-URL: https://build.opensuse.org/request/show/328246
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysaml2?expand=0&rev=7
2015-09-02 11:58:03 +00:00
163b398cd9 Accepting request 318693 from home:seife:OpenStack:Master
fix build on non-SUSE distributions

OBS-URL: https://build.opensuse.org/request/show/318693
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysaml2?expand=0&rev=5
2015-07-27 06:29:40 +00:00
bb1bcb5049 Accepting request 311413 from Cloud:OpenStack:Master
- update to 2.4.0:
  * A couple of security fixes plus maintenance updates.

OBS-URL: https://build.opensuse.org/request/show/311413
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysaml2?expand=0&rev=3
2015-06-12 08:48:53 +00:00
Sascha Peilicke
749d97b700 - Initial version
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysaml2?expand=0&rev=1
2013-10-16 09:09:56 +00:00