Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | xml/samlp2_logout_request: fix leaks around session indexes | Benjamin Dauvergne | 2014-06-08 | 1 | -2/+14 |
| | |||||
* | xml/xml.c: fix liberal use of casting for the SNIPPET_INTEGER and ↵ | Benjamin Dauvergne | 2014-04-24 | 1 | -21/+34 |
| | | | | | | | | SNIPPET_BOOLEAN case Some behaviour are also made more explicit like the optional if equals to -1 case for integer fields, and the optional if FALSE for boolean fields. | ||||
* | lasso/xml/tools.c: fix reference to unitialized memory | Benjamin Dauvergne | 2014-04-24 | 1 | -1/+1 |
| | |||||
* | Fix license boilerplates | Simo Sorce | 2013-12-03 | 651 | -1302/+651 |
| | | | | | | | Instad of referring to an old FSF address, point the reader to the FSF website where the latest licenses and addresses are published. Signed-off-by: Simo Sorce <simo@redhat.com> | ||||
* | lasso/xml/tools.c: fix misuse of xmlURIUnescapeString | Benjamin Dauvergne | 2013-09-27 | 1 | -2/+10 |
| | | | | | If the length argument is NULL, the full string is unescaped; the behaviour we expected is to return a 0 length string. | ||||
* | saml2/profile: fix missing ArtifactResolutionService index in artifacts | Benjamin Dauvergne | 2013-09-08 | 1 | -0/+1 |
| | |||||
* | fix compilation errors on 64bits architectures | Benjamin Dauvergne | 2013-09-08 | 2 | -2/+2 |
| | | | | | * sizeof(unsigned int) != sizeof(size_t) * INT_MAX != LONG_MAX | ||||
* | fix warnings about unused but set variables | Benjamin Dauvergne | 2013-09-08 | 2 | -6/+4 |
| | |||||
* | Merge remote-tracking branch 'origin/libxml2.9-compat' | Benjamin Dauvergne | 2013-07-30 | 1 | -19/+20 |
|\ | |||||
| * | Rewrite all xmlNode serialization code to be compatible with libxml 2.9.0 | Benjamin Dauvergne | 2012-09-28 | 1 | -19/+20 |
| | | | | | | | | | | | | | | | | | | | | Libxml stopped exposing the internal of the xmlOutputBuffer structure; it was replace by proper use of the API and of the xmlBuffer structure. There could be regression for older version of libxml as some functions appeared in recent version of libxml; but the reference API document does not give any introduction date for functions so it's hard to be sure. | ||||
* | | xml-saml-2.0: ManageNameIDRequest must have a NameID | Benjamin Dauvergne | 2013-01-25 | 1 | -0/+18 |
| | | |||||
* | | xml-saml-2.0: LogoutRequest must have a NameID | Benjamin Dauvergne | 2013-01-25 | 1 | -0/+8 |
| | | |||||
* | | xml: really enforce elements cardinality when parsing messages | Benjamin Dauvergne | 2013-01-25 | 2 | -35/+78 |
| | | | | | | | | | | | | | | | | - add a new SNIPPET_MANDATORY: we could only indicate 0-1 and 0-* cardinalities, now we can also indicate 1-1 and 1-* cardinalities. - repect cadinalities when parsing an xmlNode tree into a LassoNode tree. | ||||
* | | xml-saml-2.0: add missing namespace declaration for the ↵ | Benjamin Dauvergne | 2013-01-25 | 1 | -1/+2 |
| | | | | | | | | KeyInfoSujectConfirmationData sub-type | ||||
* | | fix memory leak in lasso_node_impl_init_from_xml: release the class_list | Benjamin Dauvergne | 2013-01-25 | 1 | -6/+12 |
| | | |||||
* | | fix potential segfault in lasso_node_impl_init_from_xml | Benjamin Dauvergne | 2013-01-25 | 1 | -8/+10 |
|/ | |||||
* | [xml] fix wrong forward declaration | Benjamin Dauvergne | 2012-05-05 | 1 | -2/+2 |
| | |||||
* | [xml] add missing include | Benjamin Dauvergne | 2012-05-05 | 1 | -0/+2 |
| | |||||
* | [xml] fix typos | Benjamin Dauvergne | 2012-05-05 | 2 | -5/+5 |
| | |||||
* | [lasso] add missing GObjectIntrospection annotations to ↵ | Benjamin Dauvergne | 2012-05-05 | 1 | -1/+1 |
| | | | | lasso_node_get_original_xmlnode | ||||
* | [lasso] add missing GObjectIntrospection annotations to ↵ | Benjamin Dauvergne | 2012-05-05 | 1 | -1/+1 |
| | | | | lasso_misc_text_node_get_xml_content | ||||
* | Merge branch 'release-2.4.0' | Benjamin Dauvergne | 2012-05-05 | 4 | -69/+207 |
|\ | |||||
| * | [key] add methods to send message using SAML 2.0 redirect and post bindings | Benjamin Dauvergne | 2012-03-17 | 4 | -69/+207 |
| | | |||||
* | | fix wrong EXTRA_DIST in lasso/xml/dsig/Makefile.am | Benjamin Dauvergne | 2012-04-27 | 2 | -2/+36 |
| | | |||||
* | | 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 | 1 | -1/+0 |
|/ | |||||
* | Incompatibility with clang: local functions with closure does not work | Benjamin Dauvergne | 2011-12-29 | 1 | -4/+6 |
| | |||||
* | [doc] do some documentation fixing | Benjamin Dauvergne | 2011-12-22 | 1 | -3/+3 |
| | |||||
* | [id-ff 1.1] add support for multiple SessionIndex to lib:LogoutRequest | Benjamin Dauvergne | 2011-12-22 | 2 | -0/+71 |
| | | | | | Combined with the new LassoSession storage for SessionIndex, it should fix many bugs when doing SLO. | ||||
* | [id-ff 1.2] add lasso_saml_name_identifier_equals() to compare NameIDs | Benjamin Dauvergne | 2011-12-19 | 2 | -0/+17 |
| | |||||
* | [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 | 220 | -548/+548 |
| | |||||
* | [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 | 11 | -468/+614 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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] 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 | 17 | -42/+430 |
| | | | | | | node implementation The goal is to use the KeyInfo structure as a transport format for our cryptographic keys | ||||
* | [core] add the HMAC-SHA1 shared secret signature method | Benjamin Dauvergne | 2011-12-05 | 4 | -0/+101 |
| | |||||
* | [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] set the xmlSec log handler globally | Benjamin Dauvergne | 2011-12-05 | 1 | -14/+0 |
| | | | | The log handler is not set in lasso_init(). | ||||
* | [saml2] introduce a lasso_saml2_assertion_get_audirence_restrictions to ↵ | Benjamin Dauvergne | 2011-12-05 | 1 | -1/+1 |
| | | | | factorize some code | ||||
* | [core] introduce the LassoSignatureContext context, to pass around signature ↵ | Benjamin Dauvergne | 2011-12-05 | 3 | -347/+368 |
| | | | | | | | 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 |
| | |||||
* | [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 |
| | |||||
* | [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. |