| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
separator
* lasso/xml/tools.c:
in lasso_saml2_verify_query_signature, extract needed field and order
them appropriately before computing digest, expect ';' as well as '&'
as separator.
* tests/random_test.c:
add non-regression tests for query signature validation.
* tests/Makefile.am:
make tests link agains static version of liblasso, to get access to
private functions.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* lasso/xml/tools.c:
xmlsec is not able to load a certificate public key without checking
it against trusted root certificate, so we must work around and load
the key by hand.
lasso_xmlsec_load_private_key_from_buffer is made more robust in the
same (loading of the key was extracted inside
_lasso_xmlsec_load_key_from_buffer) and now can load certificates and
keys directly embedded inside KeyValue nodes (in total opposition to
the XMLDsig specification but...), with or without PEM headers.
* tests/metadata/Makefile.am tests/metadata/metadata_06.xml
tests/metadata_tests.c:
add test case for RSAKeyValue public keys.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* lasso/id-wsf-2.0/profile.c: release private data object.
* lasso/saml-2.0/login.c: free NameID content after construction.
* lasso/xml/tools.c: free algorithm attribute content in
lasso_node_decrypt_xmlnode.
* lasso/xml/xml.c: release cutom_element->nodename in destructor.
remove useless finalize method.
* tests/basic_tests.c: release xmldoc after use.
* tests/random_tests.c: free resut of lasso_node_dump.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
button should still be there
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* tests/basic_tests.c:
when testing functionality of lasso registries which map namespace
elements to lasso objects, do not use liberty namespace because it
interacts with other tests -- deserialization of lib:Assertion node
was broken by this test -- when running them in CK_FORK=no mode.
Changed namespace LASSO_LIB_HREF, for "coin" which is less dangerous.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* tests/login_tests_saml2.c:
add logout to first SAML 2.0 login regression test.
* tests/tests.h:
add macros to simplify checking of return value with check macros
(encapsulate fail_unless macro to check for NULL/non-NULL values and
good rc value (0) or expected bad value).
|
|
|
|
|
| |
* tests/integration/saml2/__init__.py:
path to the current python file is __file__ not __FILE__.
|
|
|
|
|
|
|
|
| |
- tests/basic_test.c:
add test11_get_default_name_id_format which parse a metadata file and
try to extract the default name id format.
- tests/data/sp5-saml2/metadata.xml:
add NameIDFormat node for testing.
|
|
|
|
|
| |
* tests/random_tests.c:
add more assertion testing for various return values or field values.
|
|
|
|
|
|
|
|
|
| |
* lasso/xml/xml.c:
lasso_node_get_xmlnode_for_any_type is broken, if no original_xmlnode
is present, return just cur. Also add all missing cases for the state
of the pair (cur, orignal_xmlnode).
* tests/basic_tests.c:
add a non-regression test, testing all dump/restore functions.
|
|
|
|
|
| |
* tests/Makefile.am:
rpath must refer to the build directory, not the source directory.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tests/integration/README:
* tests/integration/saml2/__init__.py:
If ~/.config/lasso_integration.conf exists, load it to find path to
authentic and lcs.
Add support for three environement variables:
- LASSO_BUILDDIR, to specify an out of source build directory to
test,
- NO_SILENT, to allow authentic and lcs outputs,
- VALGRIND, to check memory leaks using valgrind.
|
|
|
|
|
|
|
| |
* tests/integration/saml2/__init__.py:
to permit using build directory different from the src directory, do
not force the PYTHONPATH to be relative to src dir to find lasso
python module.
|
|
|
|
| |
* tests/integration/valgrind-wrapper.sh: remove PYTHONPATH setting.
|
|
|
|
|
| |
* tests/Makefile.am:
add integration directory to the distdir.
|
|
|
|
|
| |
* tests/data/Makefile.am:
data file for tests2 were missing (to pass distcheck).
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* nearly all C files: change includes for relative paths.
* lasso/id-wsf/id_wsf.h, lasso/id-wsf-2.0/id_wsf_2.h: add top level
public include files for ID-WSF 1.0 and ID-WSF 2.0.
* lasso/id-ff/server.*, lasso/id-ff/session.*, lasso/id-ff/identity.*:
remove most of the code related to ID-WSF and push into
lasso/id-wsf/id_ff_extensions.* and lasso/id-wsf-2.0/identity.c,
lasso/id-wsf-2.0/server.c, lasso/id-wsf-2.0/session.c.
* lasso/id-wsf-2.0/saml2_login.c,
lasso/id-wsf-2.0/saml2_login_private.h: same change but for ID-WSF
2.0 support in SAML2 SSO profile.
|
|
|
|
|
|
|
|
| |
* tests/Makefile.am
add an SRCDIR symbol.
remove unused include paths.
* tests/tests2.c:
use SRCDIR to find data files.
|
|
|
|
|
|
|
| |
* tests/data/response-3:
this dump of a SAML message contains elements and attribute outside
the SAML schema, implementation detail from Lasso. They broke
execution of tests/tests2.
|
|
|
|
|
| |
* tests/data/response-4: test content
* tests/tests2.c: add loading of the new file.
|
|
|
|
|
|
| |
* tests/integration/saml2/__init__.py:
if /usr/bin/valgrind exist, use script valgrind-wrapper.sh to launch
tests, it stores log files in {authentic,lcs}_$ISODATE_pid$PID.log.
|
|
|
|
|
|
|
|
|
| |
* basic_tests.c:
* login_tests.c:
* login_tests_saml2.c:
* random_tests.c:
free replaced string, unref used nodes, initialize local variables
when necessary, free newly allocated strings.
|
|
|
|
|
|
| |
* tests/format-suppressions.py:
this is the script used to generate valgrind/lasso.supp and
valgrind/glib.supp.
|
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.am:
add targets
* tests2.c:
this simple makes lots of serializing, deserializing.
* data/response-1:
* data/response-2:
* data/response-3:
data test files
|
|
|
|
|
|
|
|
|
|
| |
* tests/valgrind/glib.supp:
suppress all "static" allocation by glib, usually for the type
system.
* tests/valgrind/lasso.supp:
suppress allocations from lasso that we cannot actually remove, they
are all from "called only once" code, so it should not really be a
problem for embedded codes.
|
|
|
|
|
| |
* tests/integration/saml2/__init__.py:
wait 5 seconds for dameons to start.
|
|
|
|
|
| |
* tests/login_tests_saml2.c:
remove debug code.
|
|
|
|
|
| |
* tests/basic_tests.c:
load data/response-1 and try to parse it.
|
|
|
|
|
|
|
| |
* tests/login_tests_saml2.c:
add a C login test for SAML 2.
* tests/Makefile.am:
add the new test to dependencies.
|
|
|
|
|
|
|
|
|
|
|
| |
* lasso/backward_comp.h:
this header will contain substitue function, defines or types for
compatibility with older versions of dependencies.
* lasso/utils.h:
remove declaration of g_strcmp0
* lasso.c:
* tests/login_tests.c:
use backward_comp.h
|
|
|
|
|
|
|
|
| |
* lasso/utils.h:
if glib is older than 2.16, export g_strcmp0 as part of internal
headers, in order to use it in login_tests.c
* tests/login_tests.c:
include utils.h
|
|
|
|
|
|
|
|
|
| |
* tests/basic_tests.c:
* tests/login_tests.c:
* tests/metadata_tests.c:
* tests/random_tests.c:
* tests/tests.c:
add missing g_free and g_object_unref calls.
|
|
|
|
|
|
| |
* tests/login_tests.c:
- (test02_serviceProviderLogin) add assertion concerning the relaying
of the RelayState parameter during an SP initiated SSO.
|
|
|
|
|
|
|
| |
* tests/login_tests.c:
after first test of parsing the soap response message in the login
test, try to parse it a second time, after modifying the InResponseTo
id of the assertion and disabling signature checking.
|
|
|
|
|
|
| |
* lots of files: Explicitely set all field of initialized structures,
in order to remove -Wno-missing-field-initilizers from needed
compiler options when using -Wall -Wextra.
|