313 Commits

Author SHA1 Message Date
Markus Gerstel
2b365abcee fix spelling errors flagged by Debian lintian 2016-08-22 22:53:46 +01:00
Jonathan Bennett
6d173f73e4 Updates a missed reference of libfko version 2016-07-16 17:44:31 -05:00
Jonathan Bennett
b2f88a9dad Fixes libfko for mac, adds common functions 2016-07-16 17:43:33 -05:00
Michael Rash
3686eab348 bump version numbers in preparation for 2.6.9 release 2016-06-08 17:12:37 -07:00
Michael Rash
e5cfd5df19 [libfko] minor memset to zero update for SHA3 digest tmp buf 2016-05-13 09:40:09 -07:00
Michael Rash
be3c356661 [libfko] account for SHA3_256 and SHA3_512 digest lengths matching SHA256 and SHA512 2016-05-13 09:25:06 -07:00
Jonathan Bennett
dc9ad5de4a Adds a length modifier to is_valid_ipv4_addr 2016-05-07 21:59:48 -05:00
Jonathan Bennett
58bce15b1e Exclude the CUnit tests themselves from lcov 2016-05-02 13:17:03 -05:00
Jonathan Bennett
a7905f56cb Modifies c_unit compilation to avoid static linking. 2016-05-01 15:16:56 -05:00
Jonathan Bennett
aa0d926376 Removes non-ascii characters from sha3.c
Opted to simply remove the umlat from the author's name, and spelled out the greek letters that were in the comments.
2016-04-19 14:14:51 -05:00
Jonathan Bennett
d939deb811 Spelling corrections, found using the codespell tool. 2016-04-10 12:03:59 -05:00
Michael Rash
1fb4524e07 Merge pull request #195 from oneru/mingw_Build_dll 2016-01-18 21:28:56 -05:00
Michael Rash
f0b9b93b6a [libfko] comment out SHA3 hash functions that we're not using 2016-01-18 19:54:04 -05:00
Jonathan Bennett
8d901b10b0 Add yet another Mingw fix, Fixes dll build 2016-01-18 18:39:50 -06:00
Michael Rash
e3c6f87f04 [libfko] minor permissions update 2016-01-17 13:40:07 -08:00
Damien Stuart
4fc9d05660 Tweaks for MINGW builds 2016-01-17 13:09:15 -05:00
Damien Stuart
e4fffdf44c Changes to fix the native Windows build. 2016-01-17 10:45:51 -05:00
Jonathan Bennett
c0ad75704e Fixes to allow for MINGW32 compilation 2016-01-15 09:42:57 -06:00
Jonathan Bennett
17badb2b1d Change hmac functions to use calloc and check for null 2016-01-12 00:14:49 -06:00
Jonathan Bennett
1d10b0e4c2 Add base64 test to fko.h 2016-01-11 23:47:55 -06:00
Jonathan Bennett
82faacfb8e Add base64 CUnit tests 2016-01-03 23:24:54 -06:00
Jonathan Bennett
578cf501be Add Doxygen documentation to lib/hmac.c functions 2016-01-02 22:14:03 -06:00
Jonathan Bennett
af7d9e8544 Simplify hmac implementations 2016-01-02 21:59:26 -06:00
Jonathan Bennett
a3e0d1cc1b clean up whitespace problems 2016-01-02 20:18:12 -06:00
Jonathan Bennett
ae5451dccc Doxygen headers for libfko files 2016-01-01 02:04:24 +00:00
Jonathan Bennett
748803aef7 Add length checks for nat_access messages 2015-12-31 04:40:41 +00:00
Jonathan Bennett
bc55f0f21f Add count_characters and a CUnit test series for it. 2015-12-31 04:14:58 +00:00
Jonathan Bennett
56be13b3f6 Add dns resolution for nat access 2015-12-31 04:13:46 +00:00
Jonathan Bennett
2edbc04bc7 properly handle longer HMAC keys for hmac_sha384 and hmac_sha512 2015-12-30 20:32:52 +00:00
Jonathan Bennett
32a37f7e1f Add CUnit tests for various crypto functions 2015-12-30 20:32:52 +00:00
Jonathan Bennett
d9f9cb8ad5 Add SHA3 and HMAC-SHA3 support 2015-12-30 20:32:52 +00:00
Jonathan Bennett
b661dee583 Initial Doxygen config file and work on documenting libfko functions 2015-12-29 17:39:52 -06:00
Michael Rash
a85b081f79 copyright update 2015-12-23 14:34:51 -05:00
Michael Rash
e2925c1f85 [libfko] bump version to 2.0.4 to account for fko_set_username() crash fix 2015-12-22 03:29:07 -08:00
Michael Rash
988075b52b [server] bug fix to honor client timeout SPA messages in --nat-local mode, fixes #173 2015-12-04 19:36:51 -08:00
Michael Rash
21149faf89 [libfko] fko_set_username() crash bug fix.
Bug fix for a crash in libfko that could be triggered in fko_set_username()
when a username that is 64 chars or longer is specified. This crash
cannot be triggered in fwknopd even if an SPA packet contains such a
username however due to additional protections in the SPA decoding
routines. Further, this bug does not apply to the main fwknop client
either because the maximal username size is truncated down below 64
bytes. Hence, this bug only applies to client-side software that is
directly using libfko calling the fko_set_username() function.
2015-12-04 19:01:26 -08:00
Michael Rash
c67008b6a8 minor fault injection tag rework for fko_set_rand_value() and fko_set_username() 2015-11-30 12:28:59 -08:00
Damien Stuart
02049cb473 Added AM_CONDITIONAL to check if OS is Darwin (Apple) and not use the --whole-archive option if it is. 2015-11-02 23:02:22 -05:00
Damien Stuart
0ef8ba5259 Added use of --whole-archive for linking libfko_util.a to libfko.so. This takes care of the unresolved symbols (from libfko_util) when linking libfko.so. 2015-11-02 21:41:26 -05:00
Damien Stuart
a4309ad768 Added clean up for .gcno and .gcda files (left went c-unit-tests are enabled. 2015-09-05 15:20:22 -04:00
Damien Stuart
2e60687dcf Merge branch 'master' into dstuart_refactor_autoconf 2015-08-29 12:46:24 -04:00
Damien Stuart
2ea2aea0ba Tweaks for unit test support 2015-05-03 09:46:37 -04:00
Michael Rash
1dc4a47357 [libfko] minor update to make process_sigs() static 2015-03-26 22:04:20 -04:00
Michael Rash
56e2e5ca2f [test suite] restore digest length calculation for AFL fuzzing, fixes #148 2015-03-20 16:44:06 -04:00
Damien Stuart
5c8fc63b89 Missed tweak on the Makefile.am file in lib. 2015-02-17 14:58:08 -05:00
Damien Stuart
e4fae829bc Refactor of Makefile.am files to fix issues caused by referencing source files in other directories - which broke make dist and make distclean targets. 2015-02-17 14:37:20 -05:00
Damien Stuart
b152d15970 Refactored how the cunit tests are processed so "make dist" does not fail and builds with c-unit-tests enabled work on systems with firewalld (added fw_util_firewalld.c for server tests). 2015-02-14 12:29:30 -05:00
Franck Joncourt
1c81aef39d Fixed file permissions 2014-12-31 09:51:08 +01:00
Franck Joncourt
29a5a9804d * Added libfko unit tests 2014-12-30 20:49:14 +01:00
Franck Joncourt
620d31364e * Removed duplicated entry in Makefile.am for libfko
* Added c unit tests for fko (draft)
* Updated c unit test README file.
2014-12-29 18:47:17 +01:00