Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | fix compilation error with xmlsec 1.2.18 / freebsd (#1365) | Thomas NOEL | 2012-04-26 | 1 | -0/+1 | |
| | | | | | | | | see http://dev.entrouvert.org/issues/1365 | |||||
* | | build: do not include multiple glib headers | Frédéric Péters | 2012-04-02 | 3 | -3/+2 | |
|/ | ||||||
* | Incompatibility with clang: local functions with closure does not work | Benjamin Dauvergne | 2011-12-29 | 1 | -4/+6 | |
| | ||||||
* | [id-ff 1.2] change websso with artifact binding to work as SAML 2.0 | Benjamin Dauvergne | 2011-12-23 | 1 | -21/+48 | |
| | | | | | | | | | | | | | | | | | The old way of transmiting the assertion to return via the session is kept, but a new way more semblable to the one used in the SAML 2.0 code is added. After lasso_login_build_artifact_msg() you must save the return of lasso_profile_get_artifact_message() linked to the value of the artifact obtained via lasso_profile_get_artifact(). In the artifact-resolve endpoint you must find the artifact message corresponding to the return value of lasso_profile_get_artifact() reinstall the artifact message using lasso_profile_set_artifact_message() just before calling lasso_login_build_response_msg(). This change is necessary for ID-FF 1.2 SSO profile to work with the thin-sessions. | |||||
* | [id-ff 1.2] in lasso_login_build_assertion() always add the assertion to the ↵ | Benjamin Dauvergne | 2011-12-22 | 1 | -7/+4 | |
| | | | | response | |||||
* | [doc] do some documentation fixing | Benjamin Dauvergne | 2011-12-22 | 3 | -4/+7 | |
| | ||||||
* | [id-ff 1.2] provision the SessionIndex into the assertions | Benjamin Dauvergne | 2011-12-22 | 1 | -0/+6 | |
| | | | | Without it SLO session management is broken. | |||||
* | [id-ff 1.1] add support for multiple SessionIndex to lib:LogoutRequest | Benjamin Dauvergne | 2011-12-22 | 3 | -80/+103 | |
| | | | | | Combined with the new LassoSession storage for SessionIndex, it should fix many bugs when doing SLO. | |||||
* | [saml 2.0] use the new SessionIndex storage for SLO management | Benjamin Dauvergne | 2011-12-22 | 2 | -115/+89 | |
| | | | | | It shoulf fix any missing functionnalities regarding missing session indexes in logout requests sent by identity providers or service providers. | |||||
* | [core] add support for thin-sessions environment flag, to reduce size of ↵ | Benjamin Dauvergne | 2011-12-22 | 3 | -0/+9 | |
| | | | | LassoSession dumps | |||||
* | [core] add simpler storage for SessionIndexes in the LassoSession | Benjamin Dauvergne | 2011-12-22 | 3 | -30/+400 | |
| | ||||||
* | [id-ff 1.2] add lasso_saml_name_identifier_equals() to compare NameIDs | Benjamin Dauvergne | 2011-12-19 | 2 | -0/+17 | |
| | ||||||
* | [saml2] fix lasso_saml20_logout_validate_request when more than one ↵ | Benjamin Dauvergne | 2011-12-16 | 1 | -7/+20 | |
| | | | | SessionIndex is sent | |||||
* | [Makefile] add strings.h to the dsig module includes | Benjamin Dauvergne | 2011-12-16 | 1 | -1/+2 | |
| | ||||||
* | [xml/saml2] replace magic string by a define | Benjamin Dauvergne | 2011-12-16 | 1 | -4/+4 | |
| | ||||||
* | Simplify useless complexity in include paths | Benjamin Dauvergne | 2011-12-16 | 254 | -634/+634 | |
| | ||||||
* | [xml] in is_interaction_request.h move new field to the end of the structure ↵ | Benjamin Dauvergne | 2011-12-16 | 1 | -2/+1 | |
| | | | | fto limit ABI impact | |||||
* | [xml] rewrite schema directed serialization/deserialization methods | Benjamin Dauvergne | 2011-12-16 | 20 | -557/+661 | |
| | | | | | | | | | | | | | | | | | | | | | | | | The new implementations of lasso_node_impl_init_from_xml now validate namespace of all child nodes befores parsing. It stops on any error. For node which implement their own parsing of an attribute or a node, it must declare an XmlSnippet with an offset field set to 0. The 0 value is invalid for public GObject structure (it's the place of the GObject machinery like the reference count). The 0 offset can be used for XmlSnippet in a private structure, so never set the offset to 0 with the flag SNIPPET_PRIVATE, for a field which is parsed by you get_xmlNode virtual method. Other ameliorations in this commit is the possibility to set attributes with namespace when using the flags SNIPPET_ATTRIBUTE|SNIPPET_ANY. The syntax for an attribute is inspired by the element tree API from Python: {namespace}attribute_name an example: {http://www.w3.org/2001/XMLSchema-instance}type for the classic xsi:type attribute. | |||||
* | [xml] add LASSO_XMLENC_PREFIX and LASSO_XMLENC_HREF defines | Benjamin Dauvergne | 2011-12-16 | 1 | -0/+14 | |
| | ||||||
* | [xml] add missing nodes to LassoIsInteractionRequest | Benjamin Dauvergne | 2011-12-16 | 2 | -3/+6 | |
| | ||||||
* | [xml] change saml_advice.h to declarer the real node type | Benjamin Dauvergne | 2011-12-16 | 1 | -2/+1 | |
| | | | | | It also needed a change to bindings.py to parse struct as well as typedef node classes. | |||||
* | [xml] complete missing namespace declarations for child nodes | Benjamin Dauvergne | 2011-12-16 | 63 | -114/+168 | |
| | | | | | | | To allow lasso_node_impl_init_from_xmlnode to do proper namespace checking, child node which are not of the same namespace as their parent in their XSD schema must have an explicit namespace declared in the XmlSnippet. | |||||
* | [core] mark private_data field of the LassoKey structure as private | Benjamin Dauvergne | 2011-12-16 | 1 | -0/+1 | |
| | ||||||
* | [Makefile] fix missing soap11 nodes when compiling for Mingw | Benjamin Dauvergne | 2011-12-16 | 1 | -0/+1 | |
| | ||||||
* | [core] fix uninitialized pointer to a GError structure | Benjamin Dauvergne | 2011-12-16 | 1 | -1/+1 | |
| | ||||||
* | [core] move XMLDsig related nodes in their own sub-library, add X509Data ↵ | Benjamin Dauvergne | 2011-12-16 | 18 | -42/+432 | |
| | | | | | | node implementation The goal is to use the KeyInfo structure as a transport format for our cryptographic keys | |||||
* | [provider] fix doc comment | Benjamin Dauvergne | 2011-12-08 | 1 | -4/+3 | |
| | ||||||
* | [id-ff] move LassoLogout to use LassoSignatureContext | Benjamin Dauvergne | 2011-12-08 | 1 | -135/+98 | |
| | ||||||
* | [logging] add an error() macro | Benjamin Dauvergne | 2011-12-08 | 1 | -0/+17 | |
| | ||||||
* | [id-ff] move LassoLogin to use LassoSignatureContext | Benjamin Dauvergne | 2011-12-08 | 1 | -92/+49 | |
| | ||||||
* | [core] rename lasso_provider_set_specific_signing_key to ↵ | Benjamin Dauvergne | 2011-12-05 | 2 | -3/+3 | |
| | | | | lasso_provider_set_server_signing_key | |||||
* | [core] add the HMAC-SHA1 shared secret signature method | Benjamin Dauvergne | 2011-12-05 | 5 | -1/+105 | |
| | ||||||
* | [core] refactor lasso_query_verify_signature and ↵ | Benjamin Dauvergne | 2011-12-05 | 1 | -149/+108 | |
| | | | | | | | lasso_saml2_query_verify_signature This commit introduces lasso_query_verify_helper which factorize cryptographic operations. | |||||
* | [core] add lasso_provider_add_key to add other key for signature validation | Benjamin Dauvergne | 2011-12-05 | 2 | -0/+43 | |
| | | | | | | The added key can be appended or prepended, depending on the need for the key: - rollover - improving performances (using simpler cryptographic algorithmss using shared secret keys) | |||||
* | [core] add method lasso_provider_set_specific_signing_key | Benjamin Dauvergne | 2011-12-05 | 2 | -0/+32 | |
| | | | | | | | Using this method you can specify a signing which will be used for communication with the specified provider instead of the one configured on the LassoServer object. The main objective is to allow shared secret cryptography instead of public key cryptography. | |||||
* | [core] add a new class LassoKey | Benjamin Dauvergne | 2011-12-05 | 4 | -3/+359 | |
| | | | | | | LassoKey currenly store a LassoSignatureContext inside a reference-counted and bindable object. It will be used to export API around key management to bindings. | |||||
* | [core] set the xmlSec log handler globally | Benjamin Dauvergne | 2011-12-05 | 2 | -14/+11 | |
| | | | | The log handler is not set in lasso_init(). | |||||
* | [saml2] introduce a lasso_saml2_assertion_get_audirence_restrictions to ↵ | Benjamin Dauvergne | 2011-12-05 | 2 | -20/+33 | |
| | | | | factorize some code | |||||
* | [core] introduce the LassoSignatureContext context, to pass around signature ↵ | Benjamin Dauvergne | 2011-12-05 | 10 | -494/+604 | |
| | | | | | | | parameters This structure is used to pass around the signature algorithm and the signature key. | |||||
* | [core] add a lasso_base64_decode function | Benjamin Dauvergne | 2011-12-05 | 2 | -0/+34 | |
| | ||||||
* | [core] replace explicit allocation of LassoProviderPrivate by use of ↵ | Benjamin Dauvergne | 2011-12-05 | 1 | -13/+3 | |
| | | | | | | g_type_class_add_private The private part is allocated contiguously to the public structure data. | |||||
* | [xml] use lasso_node_export_to_query_with_password to implement ↵ | Benjamin Dauvergne | 2011-12-05 | 1 | -18/+3 | |
| | | | | lasso_node_export_to_query | |||||
* | [tools] fix lasso_sha1 to return a glib allocated string | Benjamin Dauvergne | 2011-12-05 | 1 | -1/+1 | |
| | ||||||
* | [id-ff/saml2] add a lasso_server_add_provider2 | Benjamin Dauvergne | 2011-12-05 | 2 | -0/+24 | |
| | | | | | It allows to add LassoProvider objects directly to a LassoServer object, without using the metadata loading methods. | |||||
* | [utils] add lasso_crypto_memequal function | Benjamin Dauvergne | 2011-12-05 | 1 | -0/+20 | |
| | | | | This method compare byte strings in constant time. | |||||
* | [tools] add a LassoSignatureContext structure to pass signature parameters ↵ | Benjamin Dauvergne | 2011-12-05 | 1 | -0/+35 | |
| | | | | | | around Signature parameters are mainly a LassoSignatureMethod and a xmlSecKey. | |||||
* | [xml] add an inline function to validate LassoSignatureMethod values | Benjamin Dauvergne | 2011-12-05 | 2 | -1/+10 | |
| | | | | - add also a LASSO_SIGNATURE_METHOD_NONE value | |||||
* | [utils] add lasso_transfer_xml_node macros | Benjamin Dauvergne | 2011-12-05 | 1 | -0/+3 | |
| | ||||||
* | [core] simplify lasso_provider_load_public_key | Benjamin Dauvergne | 2011-12-05 | 1 | -9/+10 | |
| | ||||||
* | Merge branch 'multi-certificates' | Benjamin Dauvergne | 2011-11-29 | 14 | -67/+118 | |
|\ |