26 Commits

Author SHA1 Message Date
Jakub Wilk 42ebb04605 [python] fix name error in Fko.errstr() 2017-02-09 12:16:29 +01:00
Jakub Wilk 8f5d9c0e82 [python] Fix typo in CFB mode 2017-01-26 19:29:30 +01:00
Michael Rash d8b44b4c4b [python] add SHA3 digest algorithms 2016-10-04 22:23:22 -04:00
Damien Stuart d7ddbec962 Indicate GPL2+ in setup.py 2016-06-02 22:45:47 -04:00
Damien Stuart a4879fdfc4 Added explicit GPL2 license text to the python module code files. 2016-06-02 22:36:59 -04:00
Jonathan Bennett d939deb811 Spelling corrections, found using the codespell tool. 2016-04-10 12:03:59 -05:00
Michael Rash a85b081f79 copyright update 2015-12-23 14:34:51 -05:00
Michael Rash a2ce50e9e5 [python module] default to HMAC SHA256 when an HMAC key is used but no HMAC mode was specified 2014-10-23 08:45:21 -04:00
Michael Rash 7e290245b2 [libfko] per-SPA message type field count validation
This commit implements more rigorous SPA packet field count validation
that takes into account expected field counts for each SPA message type.
Two new libfko error codes have been added in support of this, and the
corresponding changes made in the perl and python modules.
2014-03-16 21:47:19 -04:00
Michael Rash 6de811cbc6 [libfko] minor error constant label typo fix 2014-03-16 16:37:21 -04:00
Michael Rash 9e990c9be0 fix header non-ascii chars, and introduce test suite support for detecting this in source files 2014-03-14 09:14:35 -04:00
Michael Rash bfdbb8f260 Updated authorship and copyright information
This commit updates all authorship and copyright information to include a
standard header that references the AUTHORS and CREDITS file. This standard
header was written by the Debian legal team at the request of Franck Joncourt.
2014-03-04 17:53:10 -05:00
Michael Rash 796bd761a9 [python extension] bug fix for missing error code constants (caught with code structure test) 2013-11-17 20:44:41 -05:00
Michael Rash 62939521ac [test suite] minor python update to use a main() function 2013-10-22 21:38:47 -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 b92fcce648 [python extension] minor function name updates 2013-03-19 21:22:32 -04:00
Michael Rash 8c3cab0269 [python extension] update key_gen() parse tuple format arg to handle hmac_type integer 2013-03-19 21:15:45 -04:00
Michael Rash 817a719a9c [python module] update fko_new_with_data() call to include hmac_type 2013-03-17 23:03:48 -04:00
Franck Joncourt d299f1de66 Add ne wdirective to setup.py in order to be able to build the python binding
without having libfko installed on the system.
2013-03-17 12:03:07 +01:00
Damien Stuart 744e002779 Removed tmp lib and include dirs from the python module setup.py file. 2013-03-10 17:17:19 -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
Damien Stuart 225e36414d Additional docs and classes added to the fko python module. Minor tweak and bumped version in the fwknop.spec file.
git-svn-id: file:///home/mbr/svn/fwknop/trunk@307 510a4753-2344-4c79-9c09-4d669213fbeb
2010-12-05 15:44:01 +00:00
Damien Stuart 966b9bdccc Do not need parens around expression in if statements in python (still learning).
git-svn-id: file:///home/mbr/svn/fwknop/trunk@305 510a4753-2344-4c79-9c09-4d669213fbeb
2010-12-04 21:57:34 +00:00
Damien Stuart 4e5326660c Added pydoc text to the fko python module. Minot tweak to setup.py.
git-svn-id: file:///home/mbr/svn/fwknop/trunk@304 510a4753-2344-4c79-9c09-4d669213fbeb
2010-12-04 04:12:17 +00:00
Damien Stuart b6bf1d28bf Added the Fko class code to wrap the _fko wrapper around libfko.
git-svn-id: file:///home/mbr/svn/fwknop/trunk@303 510a4753-2344-4c79-9c09-4d669213fbeb
2010-11-27 03:18:58 +00:00
Damien Stuart 00bc99a966 Minor comment and documentation tweaks. Add the python directory which contains my first cut at a libfko Python wrapper module.
git-svn-id: file:///home/mbr/svn/fwknop/trunk@302 510a4753-2344-4c79-9c09-4d669213fbeb
2010-11-26 15:51:00 +00:00