History log of /sssd-io/src/tests/crypto-tests.c
Revision Date Author Comments Expand
49dd8ee2834d9477418961dbaffa4a03cfa9fd1e 29-Jan-2018 René Genz <liebundartig@freenet.de>

Fix minor spelling mistakes in tests/* Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>

96d239e83e671b82525cec760cf0bcaa5ee1c249 21-Oct-2016 Lukas Slebodnik <lslebodn@redhat.com>

crypto-tests: Rename encrypt decrypt test case libsss_crypto provide 2 pairs of encrypt + decrypt functions. sss_password_encrypt + sss_password_decrypt and more generic sss_encrypt + sss_decrypt. The name of one test case was a little bit confusing. It evokes that different pair of functions were tested. Reviewed-by: Christian Heimes <cheimes@redhat.com>

65c85654d9b32a866caa01c28fe743eeb0bdef67 21-Oct-2016 Lukas Slebodnik <lslebodn@redhat.com>

crypto-tests: Add unit test for sss_encrypt + sss_decrypt Reviewed-by: Christian Heimes <cheimes@redhat.com>

6b57784f0f175275fd900eca21c77415e3a5ea52 09-Jul-2014 Jakub Hrozek <jhrozek@redhat.com>

TOOLS: Always debug to stderr https://fedorahosted.org/sssd/ticket/2348 Programs that are supposed to only be executed on the foreground should log to stderr automatically. Reviewed-by: Michal Židek <mzidek@redhat.com>

auth-tests.c cmocka/sbus_internal_tests.c cmocka/test_ad_access_filter.c cmocka/test_ad_common.c cmocka/test_ad_gpo.c cmocka/test_dp_opts.c cmocka/test_dyndns.c cmocka/test_fqnames.c cmocka/test_ifp.c cmocka/test_ipa_idmap.c cmocka/test_nested_groups.c cmocka/test_nss_srv.c cmocka/test_responder_common.c cmocka/test_sdap.c cmocka/test_sss_idmap.c cmocka/test_sss_sifp.c cmocka/test_utils.c crypto-tests.c fail_over-tests.c files-tests.c krb5_child-test.c krb5_utils-tests.c refcount-tests.c resolv-tests.c responder_socket_access-tests.c simple_access-tests.c strtonum-tests.c sysdb-tests.c sysdb_ssh-tests.c util-tests.c /sssd-io/src/tools/sss_cache.c /sssd-io/src/tools/sss_debuglevel.c /sssd-io/src/tools/sss_groupadd.c /sssd-io/src/tools/sss_groupdel.c /sssd-io/src/tools/sss_groupmod.c /sssd-io/src/tools/sss_groupshow.c /sssd-io/src/tools/sss_seed.c /sssd-io/src/tools/sss_useradd.c /sssd-io/src/tools/sss_userdel.c /sssd-io/src/tools/sss_usermod.c /sssd-io/src/util/util.h
4139a7a731f2831963a42b26aac111422be28792 17-Apr-2013 Jakub Hrozek <jhrozek@redhat.com>

Make leak checks usable in tests that do not utilize check * Remove check-specific failure reporting from common_check.c * Check-specific abstraction over memleak checks * Rename common_check.c to leak_check.c

9e2c64c6d4f5560e27207193efea6536a566865e 29-Oct-2012 Michal Zidek <mzidek@redhat.com>

Include talloc log in our debug facility https://fedorahosted.org/sssd/ticket/1495

/sssd-io/src/monitor/monitor.c /sssd-io/src/providers/data_provider_be.c /sssd-io/src/providers/krb5/krb5_child.c /sssd-io/src/providers/ldap/ldap_child.c /sssd-io/src/providers/proxy/proxy_child.c /sssd-io/src/responder/autofs/autofssrv.c /sssd-io/src/responder/nss/nsssrv.c /sssd-io/src/responder/pac/pacsrv.c /sssd-io/src/responder/pam/pamsrv.c /sssd-io/src/responder/ssh/sshsrv.c /sssd-io/src/responder/sudo/sudosrv.c /sssd-io/src/sss_client/ssh/sss_ssh_authorizedkeys.c /sssd-io/src/sss_client/ssh/sss_ssh_knownhostsproxy.c auth-tests.c crypto-tests.c fail_over-tests.c files-tests.c krb5_child-test.c krb5_utils-tests.c refcount-tests.c resolv-tests.c responder_socket_access-tests.c simple_access-tests.c strtonum-tests.c sysdb-tests.c sysdb_ssh-tests.c util-tests.c /sssd-io/src/tools/sss_cache.c /sssd-io/src/tools/sss_debuglevel.c /sssd-io/src/tools/sss_groupadd.c /sssd-io/src/tools/sss_groupdel.c /sssd-io/src/tools/sss_groupmod.c /sssd-io/src/tools/sss_groupshow.c /sssd-io/src/tools/sss_seed.c /sssd-io/src/tools/sss_useradd.c /sssd-io/src/tools/sss_userdel.c /sssd-io/src/tools/sss_usermod.c /sssd-io/src/util/debug.c /sssd-io/src/util/util.h
e07a94a66985b674c5df11ca466792902164c4e2 26-Jun-2012 George McCollister <George.McCollister@gmail.com>

libcrypto fully implemented Implemented working versions of the following functions for libcrypto: sss_base64_encode sss_base64_decode sss_hmac_sha1 sss_password_encrypt sss_password_decrypt test_encrypt_decrypt now expects EOK from libcrypto. test_hmac_sha1 now expects EOK from libcrypto. Added test_base64_encode to test base64 encoding implementation. Added test_base64_decode to test base64 decoding implementation. Signed-off-by: George McCollister <George.McCollister@gmail.com>

66c238caf7a35701ea7b8bc8a3c15424c9867e9f 04-Jun-2012 Jan Zeleny <jzeleny@redhat.com>

Fixed setting of debug level in test suite

b35f20cd8ecdc8308a3201e55752fb0443ec6ae4 24-Apr-2012 Jan Cholasta <jcholast@redhat.com>

UTIL: Add HMAC-SHA-1 function

89caf5edcc99f5731e89bd51e6ffaad3ec11c304 25-Aug-2011 Pavel Březina <pbrezina@redhat.com>

New DEBUG facility - SSSDBG_UNRESOLVED changed from -1 to 0 Removed: SSS_UNRESOLVED_DEBUG_LEVEL (completely replaced with SSSDBG_UNRESOLVED) Added new macro: CONVERT_AND_SET_DEBUG_LEVEL(new_value) Changes unresolved debug level value (SSSDBG_UNRESOLVED) from -1 to 0 so DEBUG macro could be reduced by one condition. Anyway, it has a minor effect, every time you want to load debug_level from command line parameters, you have to use following pattern: /* Set debug level to invalid value so we can deside if -d 0 was used. */ debug_level = SSSDBG_INVALID; pc = poptGetContext(argv[0], argc, argv, long_options, 0); while((opt = poptGetNextOpt(pc)) != -1) { ... } CONVERT_AND_SET_DEBUG_LEVEL(debug_level);

/sssd-io/src/monitor/monitor.c /sssd-io/src/providers/data_provider_be.c /sssd-io/src/providers/krb5/krb5_child.c /sssd-io/src/providers/ldap/ldap_child.c /sssd-io/src/providers/proxy/proxy_child.c /sssd-io/src/responder/nss/nsssrv.c /sssd-io/src/responder/pam/pamsrv.c auth-tests.c crypto-tests.c debug-tests.c fail_over-tests.c files-tests.c krb5_utils-tests.c refcount-tests.c resolv-tests.c simple_access-tests.c strtonum-tests.c sysdb-tests.c util-tests.c /sssd-io/src/tools/sss_cache.c /sssd-io/src/tools/sss_groupadd.c /sssd-io/src/tools/sss_groupdel.c /sssd-io/src/tools/sss_groupmod.c /sssd-io/src/tools/sss_groupshow.c /sssd-io/src/tools/sss_useradd.c /sssd-io/src/tools/sss_userdel.c /sssd-io/src/tools/sss_usermod.c /sssd-io/src/util/debug.c /sssd-io/src/util/server.c /sssd-io/src/util/util.h
99dd40a885ed3d42af4bbbde7ee2fc98830544d0 25-Aug-2011 Pavel Březina <pbrezina@redhat.com>

New DEBUG facility - conversion https://fedorahosted.org/sssd/ticket/925 Conversion of the old debug_level format to the new one. (only where it was necessary) Removed: SSS_DEFAULT_DEBUG_LEVEL (completely replaced with SSSDBG_DEFAULT)

/sssd-io/src/monitor/monitor.c /sssd-io/src/monitor/monitor_sbus.c /sssd-io/src/providers/child_common.c /sssd-io/src/providers/data_provider.h /sssd-io/src/providers/data_provider_be.c /sssd-io/src/providers/data_provider_fo.c /sssd-io/src/providers/krb5/krb5_child.c /sssd-io/src/providers/ldap/ldap_child.c /sssd-io/src/providers/ldap/sdap_async.c /sssd-io/src/providers/ldap/sdap_fd_events.c /sssd-io/src/providers/proxy/proxy_auth.c /sssd-io/src/providers/proxy/proxy_child.c /sssd-io/src/providers/proxy/proxy_id.c /sssd-io/src/responder/nss/nsssrv.c /sssd-io/src/responder/pam/pamsrv.c /sssd-io/src/sbus/sssd_dbus_common.c auth-tests.c crypto-tests.c fail_over-tests.c files-tests.c find_uid-tests.c krb5_utils-tests.c refcount-tests.c resolv-tests.c simple_access-tests.c strtonum-tests.c sysdb-tests.c util-tests.c /sssd-io/src/tools/selinux.c /sssd-io/src/tools/sss_cache.c /sssd-io/src/tools/sss_groupadd.c /sssd-io/src/tools/sss_groupdel.c /sssd-io/src/tools/sss_groupmod.c /sssd-io/src/tools/sss_groupshow.c /sssd-io/src/tools/sss_useradd.c /sssd-io/src/tools/sss_userdel.c /sssd-io/src/tools/sss_usermod.c /sssd-io/src/util/debug.c /sssd-io/src/util/server.c /sssd-io/src/util/util.h
172c07013d1ea99447a780fd36f49d5c3a76981b 27-Apr-2011 Jakub Hrozek <jhrozek@redhat.com>

Require openssl-devel is libcrypto backend is selected

7fa3d0b46fe8cab6cacbed4ea7729a3dad67f93e 22-Sep-2010 Stephen Gallagher <sgallagh@redhat.com>

Initialize debug_level to zero in crypto tests

69aaef8719c5cf33ed1c4090fa313ba281bf8a02 08-Sep-2010 Jakub Hrozek <jhrozek@redhat.com>

Password obfuscation utility functions Adds two utility functions to obfuscate a password and inverse to extract the cleartext password back. So far, only NSS-based implementation is provided.