summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Release version 7.4.1HEADv7.4.1masterIvan Kanakarakis2023-02-243-6/+7
| | | | Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
* Fix subject-id requirements processingIvan Kanakarakis2023-02-241-1/+1
| | | | Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
* Release version 7.4.0v7.4.0Ivan Kanakarakis2023-02-142-3/+6
| | | | Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
* With encryption The ID of each Signature element must be uniqueMahyar Moghimi2023-02-141-1/+1
| | | | | | | | If assertion is gonna be encrypted and the response and the assertion are signed, both signatures will have an ID of `signature1` which leads to an invalid xml because the ids have to be unique. A similar issue has been reported and fixed the same way in server.py with this commit: 4375361939e942c4dd666d3ca4e1159858404bc4
* Move tox.ini config into pyproject.tomlIvan Kanakarakis2023-02-142-22/+26
| | | | Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
* Merge pull request #896 from fredrikt/ft-enable_mypyIvan Kanakarakis2023-02-1410-246/+196
|\ | | | | Bump Python to 3.9, enable mypy configuration, and fix initial issues reported.
| * Update changelogIvan Kanakarakis2023-02-141-0/+6
| | | | | | | | Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
| * Add type stubsIvan Kanakarakis2023-02-142-1/+112
| | | | | | | | Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
| * Add mypy and bump minimum supported python version to 3.9Ivan Kanakarakis2023-02-142-228/+56
| | | | | | | | | | | | | | The agreed minimum supported python version is the one that is in the current stable Debian distribution. Using Python 3.9 allows us to make use of the new typing annotations. Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
| * bugfix: bool(format) is always true. First bugfix using mypy :).Fredrik Thulin2023-02-141-1/+1
| |
| * Fix initial issues reported by mypy.Fredrik Thulin2023-02-146-13/+17
| |
| * enable mypy configFredrik Thulin2023-02-141-12/+13
|/ | | | Run with "poetry run mypy src".
* Update publish instructionsIvan Kanakarakis2023-02-141-22/+6
| | | | Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
* Update release instructionsIvan Kanakarakis2023-02-141-57/+28
| | | | Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
* Release version 7.3.0v7.3.0Ivan Kanakarakis2023-02-142-4/+19
| | | | Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
* tests: register pytest custom marksIvan Kanakarakis2023-02-141-0/+3
| | | | Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
* Update behaviour of subject-id requirements entity attributeIvan Kanakarakis2023-02-143-33/+71
| | | | | | When the subject-id requiment is "any", both the subject-id and pairwise-id should be processsed. Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
* Update dependenciesIvan Kanakarakis2023-02-141-732/+750
| | | | Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
* Merge pull request #894 from REANNZ/fix-ed-extensionsIvan Kanakarakis2023-01-311-0/+55
|\ | | | | Fix: render extensions also for EntityDescriptor and IdPSSODescriptor
| * fix: metadata: process extensions also for aa, aq and pdp descriptorsVlad Mencl2023-01-231-0/+33
| |
| * fix: metadata: process extensions also for idp_sso_descriptorVlad Mencl2023-01-161-0/+11
| |
| * fix: metadata: process extensions also for entity_descriptorVlad Mencl2023-01-161-0/+11
| | | | | | | | | | | | | | While extensions configured for an SP are processed (inside SPSSODescriptor), extensions defined at the EntityDescriptor level were ignored. Render the extensions also on the EntityDescriptor level.
* | Merge pull request #895 from earonesty/earonesty-patch-1Ivan Kanakarakis2023-01-311-1/+5
|\ \ | | | | | | Fix compatibility issues processing the payload with some saml implementations
| * | Update entity.pyearonesty2023-01-251-1/+5
|/ /
* | delete_one do not accept just a key as delete previous didJohan Lundberg2023-01-231-6/+3
|/ | | | | change delete_one to delete_many instead of iterating through results deleting all found documents
* collection.remove has been removed in pymongo >=4Johan Lundberg2022-12-231-1/+1
|
* Disable REFEDS Access entity categories for SwamidJohan Lundberg2022-12-232-3/+10
| | | | | Turns out the implementation of no aggregation ECs was not quite what was needed to comply with the policy for these.
* Bump certifi from 2022.9.24 to 2022.12.7dependabot[bot]2022-12-111-14/+3
| | | | | | | | | | | | | Bumps [certifi](https://github.com/certifi/python-certifi) from 2022.9.24 to 2022.12.7. - [Release notes](https://github.com/certifi/python-certifi/releases) - [Commits](https://github.com/certifi/python-certifi/compare/2022.09.24...2022.12.07) --- updated-dependencies: - dependency-name: certifi dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
* Merge pull request #888 from ↵Ivan Kanakarakis2022-12-115-4/+65
|\ | | | | | | | | johanlundberg/lundberg_treat_requested_subject_id_as_attribute Add support for subject-id requirements signalling in metadata
| * do not add a duplicate attribute request for subject idJohan Lundberg2022-12-091-1/+1
| |
| * cleanupJohan Lundberg2022-12-091-1/+0
| |
| * add test for requested subject idJohan Lundberg2022-12-092-1/+21
| |
| * add requested subject id to SPs requested attributesJohan Lundberg2022-12-091-2/+7
| |
| * add ability to get required subject id as a RequestedAttribute dictJohan Lundberg2022-12-091-0/+37
|/
* Update noteIvan Kanakarakis2022-12-071-1/+1
|
* clarify that order is important for all ECsJohan Lundberg2022-12-071-1/+3
|
* add tests for no aggregation entity categoriesJohan Lundberg2022-12-074-0/+385
|
* allow to specify no aggregation entity categoriesJohan Lundberg2022-12-071-2/+6
| | | | | this will restrict the attributes returned to only the one specified in that exact category
* added missing attribute mailLocalAddress to attribute mapsJohan Lundberg2022-12-072-0/+4
|
* update Swamid entity categories configJohan Lundberg2022-12-071-7/+53
| | | | new config option NO_AGGREGATION
* fix: use resp.name_id instead of resp.assertion.subject.name_id for cases ↵Tangent Chang2022-11-291-1/+1
| | | | that using encrypted-id
* deps: pdate pymongo and others packages on lockfileIvan Kanakarakis2022-11-291-198/+169
| | | | Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
* set defensive pymongo versionJohan Lundberg2022-11-291-1/+1
|
* added changelogJohan Lundberg2022-11-291-0/+4
|
* make mongodb code run with more recent pymongoJohan Lundberg2022-11-292-11/+4
| | | | these changes should be compatible with pymongo >=3.5
* deps: Update versions of dependenciesIvan Kanakarakis2022-11-151-238/+233
| | | | Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
* fix: example/requirements.txt to reduce vulnerabilitiessnyk-bot2022-11-151-0/+1
| | | | The following vulnerabilities are fixed by pinning transitive dependencies: - https://snyk.io/vuln/SNYK-PYTHON-SETUPTOOLS-3113904
* docs: Link to supported specificationsIvan Kanakarakis2022-11-151-0/+31
| | | | Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
* Clean up remaining legacy `try: except ImportError:` blocksAarni Koskela2022-11-159-91/+11
|
* Remove Six dependencyAarni Koskela2022-11-156-10/+4
|