Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replace assert with proper checksassert_deletion | Ivan Kanakarakis | 2020-09-11 | 1 | -6/+2 |
| | | | | Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com> | ||||
* | Reformat and rearrange code | Ivan Kanakarakis | 2019-12-26 | 1 | -50/+64 |
| | | | | Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com> | ||||
* | Remove unused default value | Nikos Sklikas | 2019-12-26 | 1 | -1/+1 |
| | |||||
* | Add freshness period feature for MetaDataMDX | Nikos Sklikas | 2019-12-26 | 1 | -16/+39 |
| | | | | | Add a configurable period for which the metadata is valid, this is only available when using MDX. | ||||
* | Fix exception name typo | Ivan Kanakarakis | 2019-12-17 | 1 | -1/+5 |
| | | | | Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com> | ||||
* | Convenience method for getting supported algorithms from metadata | Johan Lundberg | 2019-12-16 | 1 | -0/+34 |
| | |||||
* | Add mdstore method to extract assurance certifications | Ivan Kanakarakis | 2019-11-21 | 1 | -0/+10 |
| | | | | Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com> | ||||
* | Add mdstore method to extract contact_person data | Ivan Kanakarakis | 2019-11-21 | 1 | -0/+24 |
| | | | | Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com> | ||||
* | Improve mdstore methods that extract mdui uiinfo subelements | Ivan Kanakarakis | 2019-10-31 | 1 | -59/+40 |
| | | | | | | | | - Do not raise KeyError if entity-id is wrong - Keep only the generator form; as more perfomant and generic - Generalize internal searchers Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com> | ||||
* | Do not set a preferred language for uiinfo elements | Ivan Kanakarakis | 2019-10-09 | 1 | -9/+9 |
| | | | | | | | The return values are list of text values. By default return, all possible values. Users need to specify their own preference and choose whether they need one or more values. Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com> | ||||
* | Add mdstore methods to extract mdui uiinfo subelements | Ivan Kanakarakis | 2019-10-08 | 1 | -0/+108 |
| | | | | Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com> | ||||
* | Add mdstore method to extract mdui uiinfo elements | Ivan Kanakarakis | 2019-10-08 | 1 | -0/+35 |
| | | | | Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com> | ||||
* | Generate class names for metadata elements | Ivan Kanakarakis | 2019-10-08 | 1 | -13/+17 |
| | | | | Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com> | ||||
* | Various typo fixes | Kalevi Vázquez Tuisku | 2019-08-25 | 1 | -1/+1 |
| | |||||
* | Typo in comment | Liam Kinney | 2019-05-08 | 1 | -1/+1 |
| | |||||
* | Remove whitespace | Ivan Kanakarakis | 2018-12-11 | 1 | -3/+3 |
| | | | | Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com> | ||||
* | Fix typo and remove redundant argument | Scott Koranda | 2018-12-05 | 1 | -2/+2 |
| | |||||
* | Enable signature verification for MDQ | Scott Koranda | 2018-12-05 | 1 | -6/+35 |
| | | | | | | | Add functionality to allow configuration of signature verification for metadata obtained using the MDQ protocol. Support is limited to checking the signature of a response containing a single entity and not multiple entities. | ||||
* | Merge pull request #471 from mrvanes/patch-1 | Ivan Kanakarakis | 2018-03-06 | 1 | -1/+1 |
|\ | | | | | Strip trailing mdq slash | ||||
| * | Strip trailing mdq slash | Martin | 2017-10-30 | 1 | -1/+1 |
| | | | | | | Having been bitten by trailing slash errors while configuring mdq I thought it'd be nice to protect others from such a frustrating typo. | ||||
* | | Clean up unclosed files causing ResourceWarnings in tests | Jon Dufresne | 2017-10-11 | 1 | -2/+5 |
|/ | | | | | | | * Use better subprocess functions to correctly close pipes. * When opening files, use a context manager to ensure file is closed in a deterministic way. * Close logging handlers | ||||
* | Added certificate file and referenced it in the corresponding test. Patched ↵ | Bogdan Despotov | 2017-07-17 | 1 | -1/+1 |
| | | | | MetaDataMDX to avoid same issue there | ||||
* | Using the binary response content of requests in order to avoid the metadata ↵ | Bogdan Despotov | 2017-07-03 | 1 | -1/+1 |
| | | | | xml being saved with incorrect encoding | ||||
* | Fix import_module call. | Dan Sully | 2016-10-26 | 1 | -1/+1 |
| | |||||
* | Remove (undeclared dependency) usage of backports.test.support. This was | Dan Sully | 2016-10-26 | 1 | -5/+5 |
| | | | | | | | | pulling in `unittest2` as a runtime dependency instead of a test dependency. It's also really not needed, as the functionality that it provides was not being called. Just use importlib instead. Remove unused functions in s_utils.py | ||||
* | Merge pull request #357 from rebeckag/metadata-extension | Roland Hedberg | 2016-09-22 | 1 | -4/+3 |
|\ | | | | | Fix bug in MetadataStore.extension(). | ||||
| * | Fix bug in MetadataStore.extension(). | Rebecka Gulliksson | 2016-09-15 | 1 | -4/+3 |
| | | | | | | | | | | | | Continue with the next metadata source if the entity id or the expected type (SP or IDP) SSO descriptor is not found in the current metadata source instead of prematurely returning. | ||||
* | | Merge pull request #355 from rebeckag/mdq-md | Roland Hedberg | 2016-09-22 | 1 | -0/+3 |
|\ \ | |/ |/| | Recognize MDQ metadata storage from config. | ||||
| * | Recognize MDQ metadata storage from config. | Rebecka Gulliksson | 2016-09-06 | 1 | -0/+3 |
| | | |||||
* | | A second any method that is faster then the first. | Roland Hedberg | 2016-05-26 | 1 | -1/+32 |
| | | |||||
* | | TO deal with Python3 returning not list but dict_items. | Roland Hedberg | 2016-05-18 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #330 from rebeckag/remote-md_format_check | Roland Hedberg | 2016-05-14 | 1 | -0/+2 |
|\ | | | | | Explicitly signal incorrect 'remote' metadata conf. | ||||
| * | Explicitly signal incorrect 'remote' metadata conf. | Rebecka Gulliksson | 2016-05-03 | 1 | -0/+2 |
| | | |||||
* | | Added functionality needed by the saml2test tool. | Roland Hedberg | 2016-04-16 | 1 | -6/+6 |
| | | |||||
* | | add_header method and returning a byte string. | Roland Hedberg | 2016-04-11 | 1 | -11/+14 |
|/ | | | | | Fixed some PY3 problems service_per_endpoint method useful when setting up an entity instance. | ||||
* | Reworked the security backend so you should now be able to use a HSM again ↵ | Roland Hedberg | 2015-12-11 | 1 | -1/+4 |
| | | | | for XML security. Support for non-XML crypto using HSMs are on the way. | ||||
* | Merge branch 'master' of github.com:rohe/pysaml2 | Roland Hedberg | 2015-12-11 | 1 | -2/+18 |
|\ | |||||
| * | Adds support for getting extension elements from metadata. | Rebecka Gulliksson | 2015-12-10 | 1 | -2/+18 |
| | | |||||
* | | Made MetaData instances pickleable. | Roland Hedberg | 2015-12-01 | 1 | -31/+54 |
|/ | |||||
* | Fixed a problem in parsing metadata extensions. | Roland Hedberg | 2015-11-18 | 1 | -26/+47 |
| | |||||
* | Don't assume KeyDescriptor exists in metadata, since it is optional. | Rebecka Gulliksson | 2015-11-16 | 1 | -13/+14 |
| | |||||
* | Refactor Metadata.certs() and move it to base class. | Rebecka Gulliksson | 2015-11-16 | 1 | -82/+39 |
| | |||||
* | Merge branch 'master' of github.com:rohe/pysaml2 | Roland Hedberg | 2015-11-13 | 1 | -1/+1 |
|\ | |||||
| * | Open metadata in binary mode for Python 3 compatibility. | Oleg Girko | 2015-11-05 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Python 3 handles character data read from a file differently than Python 2 does. Python 3 opens files in text mode by default, causing file reads to return string data decoded from file using encoding specified as argument of open() builtin function. If encoding is not specified, open() uses some default encoding that can even be ASCII. Hence, using open() in text mode without specifying encoding is dangerous in Python 3 and can lead to unexpected results. However, it's safe to open metadata in binary mode, it gets encoded to UTF-8 later anyway. Signed-off-by: Oleg Girko <ol@infoserver.lv> | ||||
* | | Need to know which entity descriptors that has been reject because they ↵ | Roland Hedberg | 2015-11-13 | 1 | -11/+23 |
|/ | | | | where to old. | ||||
* | Fix paramter passing in logging messages | Jozef Knaperek | 2015-10-15 | 1 | -12/+12 |
| | | | | | | | | Pass parameters into logger calls directly instead of pre-merging with the logger message. This way the logs are easier to maintain and process. The code is also faster when logging is turned off since it doesn't have to evaluate all params and render them into strings. | ||||
* | Applied pull request #206 | Roland Hedberg | 2015-09-07 | 1 | -1/+1 |
| | |||||
* | Allow for not specifying a certificate when importing a metadata file over ↵ | Roland Hedberg | 2015-05-28 | 1 | -0/+4 |
| | | | | the net. | ||||
* | Providing a certificate when the metadata is not signed should not result in ↵ | Roland Hedberg | 2015-05-27 | 1 | -44/+61 |
| | | | | an error. Refactored the code so there is less duplication. | ||||
* | Fix missing 'file' keyword for python3 | Clint Byrum | 2015-05-21 | 1 | -1/+1 |
| | | | | | This was an oversight, and accidental that 'file' would be missed, but 'filename' was seemingly intended. |