Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tests: add target to Makefile to produce valgrind suppression entries | Benjamin Dauvergne | 2014-06-08 | 1 | -0/+5 |
| | |||||
* | tests/valgrind: add suppression of all leaks related to initialisation of ↵ | Benjamin Dauvergne | 2014-06-08 | 1 | -0/+6 |
| | | | | the GLib type system | ||||
* | tests: fix leaks | Benjamin Dauvergne | 2014-06-08 | 1 | -0/+2 |
| | |||||
* | tests: fix leak in log message checker | Benjamin Dauvergne | 2014-06-07 | 1 | -1/+4 |
| | |||||
* | tests: do not reuse tc_response_new_from_xmlNode test case | Benjamin Dauvergne | 2014-06-07 | 1 | -2/+6 |
| | |||||
* | tests: pass automake CFLAGS when compiling tests2 | Benjamin Dauvergne | 2014-04-24 | 1 | -1/+1 |
| | |||||
* | Fix license boilerplates | Simo Sorce | 2013-12-03 | 11 | -22/+11 |
| | | | | | | | 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> | ||||
* | tests/data/Makefile: regenerate list of files and directories to distribute | Benjamin Dauvergne | 2013-09-26 | 1 | -8/+21 |
| | |||||
* | tests: add non-regression test to check that we correctly provide the ↵ | Benjamin Dauvergne | 2013-09-08 | 4 | -30/+82 |
| | | | | ArtifactResolutionService index in artifacts | ||||
* | tests: in check_equals() and check_not_equals() macros use long long int as ↵ | Benjamin Dauvergne | 2013-09-08 | 1 | -2/+2 |
| | | | | a catchall type for printing compared values | ||||
* | fix compilation errors on 64bits architectures | Benjamin Dauvergne | 2013-09-08 | 4 | -4/+4 |
| | | | | | * sizeof(unsigned int) != sizeof(size_t) * INT_MAX != LONG_MAX | ||||
* | fix warnings about unused but set variables | Benjamin Dauvergne | 2013-09-08 | 4 | -2/+102 |
| | |||||
* | tests: comment out dump/restore checks against complex nodes | Benjamin Dauvergne | 2013-03-20 | 1 | -4/+4 |
| | |||||
* | xml: really enforce elements cardinality when parsing messages | Benjamin Dauvergne | 2013-01-25 | 1 | -1/+17 |
| | | | | | | | | - 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. | ||||
* | tests: add a SSO test with DSA keys to python bindings tests | Benjamin Dauvergne | 2012-07-11 | 2 | -0/+106 |
| | |||||
* | [tests] add test cases for the LassoKey class | Benjamin Dauvergne | 2012-03-17 | 2 | -2/+104 |
| | |||||
* | [tests] remove work-around for letting ID-FF 1.2 tests work with the ↵ | Benjamin Dauvergne | 2011-12-23 | 1 | -21/+24 |
| | | | | | | | thin-sessions flag activated But when thin-sessions is activated we use the new way of passing artifact message content around. | ||||
* | [tests] protect the ID-FF 1.2 test cases from effect of the thin-sessions ↵ | Benjamin Dauvergne | 2011-12-22 | 1 | -2/+19 |
| | | | | flag until it is migrated to work also with thin sessions | ||||
* | Simplify useless complexity in include paths | Benjamin Dauvergne | 2011-12-16 | 9 | -35/+35 |
| | |||||
* | [tests] fix tests to comply with new implementation of parsing | Benjamin Dauvergne | 2011-12-16 | 1 | -13/+33 |
| | | | | | The test around parsing of EncryptedAssertion was wrong since it was missing the XMLEnc namespace declaration. | ||||
* | [tests] improve checking for log output | Benjamin Dauvergne | 2011-12-16 | 6 | -10/+98 |
| | | | | | | | | | | | - now any non expected log output is considered an error, by setting a g_log default handler. - block_lasso_logs()/unblock_lasso_logs() will block logging output at the DEBUG level - begin_check_do_log(level, message, endswith)/end_check_do_log() with check that the only message emitted between the two macros is one equals to "message" at the level "level", or ending (to work around variable parts in a log message) with "message" if "endswith" is True. | ||||
* | [tests] rename login test suite, with mentions of ID-FF 1.2 and SAML 2.0 | Benjamin Dauvergne | 2011-12-16 | 2 | -2/+2 |
| | |||||
* | [core] move XMLDsig related nodes in their own sub-library, add X509Data ↵ | Benjamin Dauvergne | 2011-12-16 | 1 | -0/+31 |
| | | | | | | node implementation The goal is to use the KeyInfo structure as a transport format for our cryptographic keys | ||||
* | remove debugging printf statement | Benjamin Dauvergne | 2011-12-09 | 1 | -2/+0 |
| | |||||
* | [core] rename lasso_provider_set_specific_signing_key to ↵ | Benjamin Dauvergne | 2011-12-05 | 2 | -3/+3 |
| | | | | lasso_provider_set_server_signing_key | ||||
* | [perfs] add command line options, add option to use shared secret key ↵ | Benjamin Dauvergne | 2011-12-05 | 1 | -11/+41 |
| | | | | | | cryptography Performance with HMAC-SHA1 is 100x the one with 2048 bits RSA. | ||||
* | [core] add the HMAC-SHA1 shared secret signature method | Benjamin Dauvergne | 2011-12-05 | 1 | -0/+100 |
| | |||||
* | [tests] use helper macros in id-ff test case | Benjamin Dauvergne | 2011-12-05 | 1 | -31/+26 |
| | |||||
* | [core] add a new class LassoKey | Benjamin Dauvergne | 2011-12-05 | 1 | -0/+30 |
| | | | | | | 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] introduce the LassoSignatureContext context, to pass around signature ↵ | Benjamin Dauvergne | 2011-12-05 | 1 | -2/+4 |
| | | | | | | | parameters This structure is used to pass around the signature algorithm and the signature key. | ||||
* | [integration tests] does not use full leak report | Benjamin Dauvergne | 2011-11-22 | 1 | -1/+1 |
| | |||||
* | [integration tests] show more callers when using valgrind memcheck looking ↵ | Benjamin Dauvergne | 2011-11-22 | 1 | -1/+1 |
| | | | | for leaks in authentic and lcs | ||||
* | [tests] add test for rollover on the SP side, i.e. rollover of encryption keys | Benjamin Dauvergne | 2011-11-22 | 8 | -0/+380 |
| | | | | | | This test case is the first to abstract the workflow between two LassoLogin object (for the idp and sp side). This part of the code could be used to simplify the code of other tests in the future. | ||||
* | [leakcheck] fix leaks seen by the unit tests | Benjamin Dauvergne | 2011-11-22 | 3 | -16/+84 |
| | | | | | This commit also improved valgrind suppression file to hide static allocations done by the GLib type system. | ||||
* | [xml saml-2.0] add a class to handle the KeyInfoConfirmationData type | Benjamin Dauvergne | 2011-10-13 | 1 | -0/+4 |
| | | | | | | * use a direct mapping to map this class to SubjectConfirmationData node having the xsi:type attribute. * overload get_xmlNode method to add the xsi:type attribute on output. | ||||
* | [tests] add non-regression tests concerning the parsing of any xmlNode tree ↵ | Benjamin Dauvergne | 2011-10-10 | 1 | -1/+30 |
| | | | | by LassoMiscTextNode when SNIPPET_ANY is used by a LassoNode | ||||
* | Disable metadata loading test with the UK federation files | Benjamin Dauvergne | 2011-05-27 | 1 | -0/+5 |
| | |||||
* | [tests] add unit test for the provider with multiple key feature | Benjamin Dauvergne | 2011-05-19 | 1 | -0/+120 |
| | |||||
* | [tests] add sample metadata for testing metadata with multiple key descriptors | Benjamin Dauvergne | 2011-05-19 | 5 | -0/+163 |
| | |||||
* | [tests] fix broken renater metadata file | Benjamin Dauvergne | 2011-05-17 | 2 | -1483/+4137 |
| | | | | | A modification was introduced which broke the signature, updating to the last version. | ||||
* | [tests] move renater metadata files into the metadata/ subdirectory | Benjamin Dauvergne | 2011-05-16 | 3 | -2/+2 |
| | |||||
* | [core] add flags parameter to lasso_server_load_metadata to tune signature ↵ | Benjamin Dauvergne | 2011-04-14 | 2 | -3/+12 |
| | | | | | | | | | | | | | | | checking on metadata files The flags parameter allows to control the checking of digital signature upon EntityDescriptor and EntitiesDescriptor nodes in SAML 2.0 metadata files. The default behaviour is to check all found signatures and to inherit signature from EntitiesDescriptor to their children. By only enabling checking of EntityDescrtiptor node signatures it's also possible to only check signature at the EntityDescriptor level and so only trust individual entities and not the aggregating provider. | ||||
* | [core] rename lasso_server_load_federation to lasso_server_load_metadata | Benjamin Dauvergne | 2011-04-04 | 1 | -10/+7 |
| | | | | | | | The aim of this function is now to load any metadata file, and to replace completely the use of lasso_server_add_provider. The metadata content argument is replaced by a metadata file path to more closely match other APIs. | ||||
* | [core] add a loaded_entity_ids output parameter to lasso_server_load_federation | Benjamin Dauvergne | 2011-03-30 | 1 | -2/+6 |
| | | | | | It allows to know which entity has been loaded from the metadata file. It must be freed by the caller. | ||||
* | [core] add a blacklisted_entity_ids parameter to lasso_server_load_federation | Benjamin Dauvergne | 2011-03-30 | 1 | -1/+3 |
| | | | | The goal is to prevent loading of provider known to have problems. | ||||
* | [tests] remove spurious output | Benjamin Dauvergne | 2011-03-29 | 1 | -2/+0 |
| | |||||
* | [tests] continue improving the lasso_server_load_federation test cases | Benjamin Dauvergne | 2011-03-29 | 1 | -2/+4 |
| | |||||
* | [tests] test lasso_server_load_federation | Benjamin Dauvergne | 2011-03-29 | 2 | -0/+38 |
| | | | | | The test operates on the metadata file of the french university network Renater. | ||||
* | [tests] add renater federation metadata file for testing | Benjamin Dauvergne | 2011-03-29 | 1 | -0/+27414 |
| | |||||
* | [tests] add test case for multiple load and dump of the same object | Benjamin Dauvergne | 2011-03-01 | 1 | -0/+72 |
| |