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> |
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 |
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); |
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) |
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. |