summaryrefslogtreecommitdiff
path: root/example
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Run flynt -tc + black + isortAarni Koskela2022-11-159-726/+726
|
* Run flynt + black + isortAarni Koskela2022-11-155-68/+68
|
* Run autoflake --remove-all-unused-imports --ignore-init-module-imports + ↵Aarni Koskela2022-11-155-11/+1
| | | | black + isort
* Run pyupgrade --py36-plus + black + isortAarni Koskela2022-11-158-63/+59
|
* Format code with black and isortIvan Kanakarakis2022-10-0120-2080/+1962
| | | | Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
* Allow multiple attributes to be returned by the example idpIvan Kanakarakis2022-04-221-1/+1
| | | | Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
* Fix example to correctly iterate certs with namesIvan Kanakarakis2022-01-051-1/+1
| | | | Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
* Update all.sh to generate 4096 bit keys to avoid SSL KEY TO SMALL errorsSanctus Messor2021-10-071-1/+1
|
* updating example keys to avoid SSL KEY TO SMALL errorsSanctus Messor2021-10-078-124/+328
|
* Fix example metadata generationIvan Kanakarakis2021-09-202-1/+50
| | | | | | | - add initial example-IdP metadata file - unset valid until property from the metadata of the IdP Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
* make metadata path the same as entityidori152021-01-141-1/+1
|
* fixed example/idp.py to properly return metadataori152021-01-141-1/+1
|
* Set example/idp2 to log to stderr to avoid redirecting log-output to ↵Ivan Kanakarakis2021-01-051-4/+4
| | | | | | metadata files Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
* Do not out debug logs for example/idp2Ivan Kanakarakis2020-10-261-1/+1
| | | | | | The debug logs becomes part of the xml metadata. Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
* Merge pull request #721 from dbaker-rh/dbaker-rh-patch-1Ivan Kanakarakis2020-09-291-1/+1
|\ | | | | Update to key generation to 2048 bits in example/create_key.sh
| * Update create_key.shDave Baker2020-09-071-1/+1
| | | | | | | | Increase key size to prevent: ssl.SSLError: [SSL: EE_KEY_TOO_SMALL] ee key too small (_ssl.c:3542)
* | Support logging configuration through the python loggerIvan Kanakarakis2020-09-291-7/+26
| | | | | | | | Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
* | Support both str and bytes SAML requests on the example idpIvan Kanakarakis2020-09-291-1/+6
|/ | | | Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
* fix escape not in cgi for newer pythonsrakvat2020-05-081-2/+8
|
* Update saml_uri.pybenjaminbecker2019-08-221-2/+2
| | | | According to https://tools.ietf.org/html/rfc2985 the urn for emailAddress has to be `1.2.840.113549.1.9.1`. In saml_uri.py this is not implemented correctly. The current version uses `PKCS_9+'1'` which equals to `1.2.840.113549.1.9.1.1`. This can be fixed by deleting the trailing '1.' from line 8. This should not cause any side-effects, because the variable `PKCS_9` in combination with `+'1'`.
* Explicit cherrypy requirements for the example applicationStavros Ntentos2019-05-281-1/+1
| | | | | | | Unless you are pulling always from https://pypi.org/simple, it is possible that you might get an older version of `cherrypy`. Make sure we request a "relatively recent" version. `pip install 'CherryPy>14.0.2,<15'` gave `CherryPy-14.2.0` which works
* Introduce middleware to convert data to bytesIvan Kanakarakis2019-04-011-8/+23
| | | | Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
* Handle eduPersonTargetedID as a single value on examplesIvan Kanakarakis2019-03-181-2/+2
| | | | Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
* Fix metadata endpoint on sp-wsgi exampleIvan Kanakarakis2019-03-181-1/+1
| | | | Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
* Fix examples python3 compatibilityIvan Kanakarakis2019-02-041-1/+3
| | | | Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
* Make example sp compatible with python3Ivan Kanakarakis2018-11-201-3/+11
| | | | Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
* Make example idp compatible with python3Ivan Kanakarakis2018-11-201-7/+24
| | | | Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
* Indent and format codeIvan Kanakarakis2018-11-202-298/+359
| | | | Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
* Restore idp.py codeIvan Kanakarakis2018-11-201-53/+21
| | | | Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
* [Need help] Fix IdP example to work with python 3Egor Panfilov2018-11-192-23/+55
|
* Replace string literals with MIME_PAOSEgor Panfilov2018-11-191-1/+3
|
* Fixed Unicode-objects must be encoded before hashing bugYuqing2018-11-101-1/+1
|
* Remove gitignore from subdirectoriesIvan Kanakarakis2018-07-041-9/+0
| | | | Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
* Merge pull request #398 from qianlei90/masterIvan Kanakarakis2018-02-121-2/+2
|\ | | | | fix example idp - use default value for path parameter in idp service
| * fix(example): using a default value to -p parameter in idp serviceQian Lei2017-03-161-2/+2
| | | | | | | | | | | | | | | | | | No configuration file is specified when we start idp service without -p parameter and the value of args.path will be None in function metadata and staticfile, which can not be used in list comprehension and startwith function. Signed-off-by: Qian Lei <qianlei90@gmail.com>
* | Do not request a signed response - backwards compatibilityIvan Kanakarakis2018-02-121-0/+1
| |
* | Fix wsgiserver usage for example spIvan Kanakarakis2018-02-121-6/+9
| |
* | Fix examlpes using cherrypy.wsgiserverIvan Kanakarakis2017-11-151-3/+8
| |
* | example/sp-wsgi/sp.py: respond with bytes (enhance WSGI compliance)Jan-Philip Gehrcke2016-10-141-8/+8
|/
* Use six instead of futures for PY3 compatibility.Rebecka Gulliksson2016-09-231-9/+4
|
* Fixed cookie load problemRoland Hedberg2016-09-221-4/+7
|
* Made it work better with Python3.5Roland Hedberg2016-05-172-8/+14
|
* Deal with entity category (CoCo) that have more complex evaluation rules.Roland Hedberg2016-05-161-1/+6
|
* Added functionality needed by the saml2test tool.Roland Hedberg2016-04-161-14/+23
|
* add_header method and returning a byte string.Roland Hedberg2016-04-111-15/+6
| | | | | Fixed some PY3 problems service_per_endpoint method useful when setting up an entity instance.
* fix #308: make all.sh and sp-wsgi examples work againArne Neumann2016-01-291-0/+3
|
* Show AuthnStatement together with all attributes on result page.Rebecka Gulliksson2016-01-151-13/+23
|
* Clean upRoland Hedberg2015-12-201-2/+0
|
* Reworked the security backend so you should now be able to use a HSM again ↵Roland Hedberg2015-12-113-3/+10
| | | | for XML security. Support for non-XML crypto using HSMs are on the way.