31 Commits

Author SHA1 Message Date
Michael Rash
ceb213d545 [perl FKO] interim commit to update the perldoc info 2013-10-22 22:24:47 -04:00
Michael Rash
b091a1a1bc [test suite, FKO module] new(), spa_data_final(), and other fcns don't require key length args 2013-10-22 14:39:45 -04:00
Michael Rash
431a5e3ecd [perl FKO module] switch to CBC mode tests from ECB 2013-10-11 11:04:49 -04:00
Damien Stuart
0dc47f7e5c Fixed missing error codes and error tests. 2013-09-15 14:34:23 -04:00
Damien Stuart
1047146b23 Updated Perl FKO tests for lastest changes to libfko. Fixed bug where $fko->hmac() was always returning -1. 2013-09-04 15:19:43 -04:00
Damien Stuart
89c5e88219 First round of updates to get the Perl module up-to-date with the new libfko. Added new error refs and commented out bad/invalid tests. 2013-08-12 20:53:29 -04:00
Michael Rash
b17cb08ddc fixed two type mismatch compilation warnings for the perl FKO extension 2013-04-17 23:27:54 -04:00
Michael Rash
08c9cc0938 HMAC function rename for consistency
Make sure that HMAC function names conform to previously established get_*,
set_* naming convention.
2013-03-29 20:42:44 -04:00
Michael Rash
42cfc58e20 [perl FKO] add HMAC support along with test suite HMAC verification (closes #16) 2013-03-21 21:55:18 -04:00
Michael Rash
6e7a56067b [perl FKO module] add hmac_type to fko_new_with_data() calls 2013-03-11 21:13:20 -04:00
Damien Stuart
6fa3be393c Renamed fko_set_hmac_type to fko_set_spa_hmac_type. Incorporated libfko changes and additions to the fko python module code. 2013-03-10 13:21:24 -04:00
Michael Rash
44d05a6916 interim commit for supporting multiple HMAC digest types (# 45) 2013-03-07 23:14:48 -05:00
Michael Rash
0109d64e54 added encryption_mode() support to perl FKO module 2013-01-27 14:03:26 -05:00
Michael Rash
160a9e5565 perl FKO module HMAC compatibility 2013-01-20 14:27:27 -05:00
Michael Rash
437a05dac6 interim commit towards FKO compatibility with HMAC code 2013-01-19 16:27:34 -05:00
Michael Rash
8078b0ec1f Commented out Devel::Checklib since this is most likely for CPAN anyway
There were portability issues on FreeBSD when Devel::Checklib was in use, but
this can be added back in for a CPAN version of the perl FKO module.
2012-12-09 10:28:50 -05:00
Damien Stuart
e3c4c045c6 Changes to address header references, platform support, error messages, and the perl module test suite.
Rearranged headers to reduce duplication and remove local header
references from fko.h.
Removed references to headers that did not need to be explicitly set.
Moved the MAX_PROTO_STR_LEN and MAX_PORT_STR_LEN definitions to the
fko_limits.h file.
Fixed bug where invalid nat_access or command messages were returning
FKO_ERROR_INVALID_SPA_ACCESS_MSG error code instead of the one
appropriate to the message type.
Fixed bad nat_access_msg test in Perl module test suite (caught by new
validation code).
2012-12-01 11:06:41 -05:00
Michael Rash
67f5d1f1e9 Applied perl FKO module libfko path patch from Franck Joncourt
Applied patch from Franck Joncourt to have the perl FKO module link
against libfko in the local directory (if it exists) so that it doesn't
have to have libfko completely installed in /usr/lib/.  This allows the
test suite to run FKO tests without installing libfko.

Added the ability to the test suite to compile, install, and run some
basic tests against the perl FKO module.
2012-10-11 23:36:50 -04:00
Damien Stuart
67af7f7921 Updated perl module for additional error messages.
git-svn-id: file:///home/mbr/svn/fwknop/trunk@299 510a4753-2344-4c79-9c09-4d669213fbeb
2010-11-10 15:30:09 +00:00
Damien Stuart
7f95651fed Fixed minor typo in the POD synopsis (thanks Franck!).
git-svn-id: file:///home/mbr/svn/fwknop/trunk@157 510a4753-2344-4c79-9c09-4d669213fbeb
2009-10-19 23:52:36 +00:00
Damien Stuart
7f45031cef Added SHA384 and SHA512 digests. Tweaks for getting rid of windows warnings. Use recv instead of read on socket. Bumped version to 0.63 (libfko) and 0.23 (FKO perl module).
git-svn-id: file:///home/mbr/svn/fwknop/trunk@123 510a4753-2344-4c79-9c09-4d669213fbeb
2009-08-02 18:28:34 +00:00
Damien Stuart
3a77e0fefa Fixed some formatting errors in the POD.
git-svn-id: file:///home/mbr/svn/fwknop/trunk@114 510a4753-2344-4c79-9c09-4d669213fbeb
2009-07-19 20:48:19 +00:00
Michael Rash
e0e08f0cf2 bug fix suggested by Damien to allow the recompute of the SPA digest to properly happen when calling spa_digest() with a true value
git-svn-id: file:///home/mbr/svn/fwknop/trunk@109 510a4753-2344-4c79-9c09-4d669213fbeb
2009-06-29 00:52:12 +00:00
Michael Rash
591e5be81e minor typo fix (gps -> gpg)
git-svn-id: file:///home/mbr/svn/fwknop/trunk@106 510a4753-2344-4c79-9c09-4d669213fbeb
2009-06-14 23:44:43 +00:00
Damien Stuart
33e353b2fc Added the digest types constants to the types and individual export tags.
git-svn-id: file:///home/mbr/svn/fwknop/trunk@104 510a4753-2344-4c79-9c09-4d669213fbeb
2009-06-14 14:22:03 +00:00
Damien Stuart
04690e2f07 Forgot to bump the perl module minor version number.
git-svn-id: file:///home/mbr/svn/fwknop/trunk@101 510a4753-2344-4c79-9c09-4d669213fbeb
2009-06-07 20:46:14 +00:00
Damien Stuart
caab726e7b Brought Error constants in sync with libfko.
git-svn-id: file:///home/mbr/svn/fwknop/trunk@99 510a4753-2344-4c79-9c09-4d669213fbeb
2009-06-07 20:02:14 +00:00
Michael Rash
7206fa03a6 minor link update for the cipherdyne.org website
git-svn-id: file:///home/mbr/svn/fwknop/trunk@94 510a4753-2344-4c79-9c09-4d669213fbeb
2009-05-29 01:41:35 +00:00
Damien Stuart
2fff0a0a20 Added the Perl module files to Makefile.am so they will be included in the dist.
git-svn-id: file:///home/mbr/svn/fwknop/trunk@85 510a4753-2344-4c79-9c09-4d669213fbeb
2009-05-12 01:39:18 +00:00
Damien Stuart
2865912c0a Tweaks to updated API. Added GPG signature checking and processing functions. Updated Perl module and perldoc for new API and functions.
git-svn-id: file:///home/mbr/svn/fwknop/trunk@83 510a4753-2344-4c79-9c09-4d669213fbeb
2009-05-03 15:47:45 +00:00
Damien Stuart
58c1a85711 Added perl module code to the repository.
git-svn-id: file:///home/mbr/svn/fwknop/trunk@81 510a4753-2344-4c79-9c09-4d669213fbeb
2009-04-18 13:47:09 +00:00