Jonathan Bennett
d939deb811
Spelling corrections, found using the codespell tool.
2016-04-10 12:03:59 -05:00
Jonathan Bennett
9475b625a0
Add Doxygen headers to client files
2016-01-01 02:13:21 +00:00
Michael Rash
a85b081f79
copyright update
2015-12-23 14:34:51 -05: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
ea9d6a0fdc
[client] apply patch from Ilya Tumaykin for terminal setting type
...
This commit also fixes a 'possible use of uninitialized value' warning from gcc for
the old_c_lflag variable.
2013-07-24 22:44:08 -04:00
Damien Stuart
5ec4998aaa
Reset terminal setting to orignal values after entering keys via stdin
2013-07-24 14:39:26 -04:00
Michael Rash
3ee8b47870
[client] fix minor memory leak in getpasswd() routine caught by the test suite in valgrind mode
2013-07-18 17:30:25 -04:00
Michael Rash
f2d829535b
[client] fix minor compilation warning about an unused variable
2013-07-18 00:15:22 -04:00
Damien S. Stuart
4b0f0802ee
Tweaks to unbreak the windows build: Renamed FD_SET macro to FD_SET_ALT to avoid conflict with the well-known FD_SET macro. Made the client read password from file descriptor a non-supported function on Windows.
2013-07-17 22:46:24 -04:00
Michael Rash
1e77f6ed53
continued changes to zero out sensitive information before exit ( #93 )
2013-07-07 22:32:30 -04:00
Franck Joncourt
c2e1a00154
s/GNU Public/GNU General Public/g
2013-06-30 22:21:22 +02:00
Michael Rash
66399fed1a
Merge remote-tracking branch 'fjoncourt/master'
...
Closes #74 - allows a passphrase to be read from STDIN or from a file descriptor
via --fd.
2013-06-02 22:54:23 -04:00
Franck Joncourt
583e1e02c7
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
client/config_init.c
2013-06-02 21:54:25 +02:00
Franck Joncourt
9fce10abd8
Adding support for reading encryption/key password from a file descriptor.
...
* Added tests to the test suite.
* Updated the usage message.
* Fixed the password functions.
reference : mrash/fwknop#74
2013-06-02 21:36:17 +02:00
Michael Rash
382099e85a
Updated copyright dates, removed NEWS file in favor of the ChangeLog
2013-06-02 14:07:01 -04:00
Franck Joncourt
f3af0d48c5
Interim commit to be able to load key from file descriptor (fd 0 for example).
2013-06-01 23:14:56 +02:00
Michael Rash
52462e7dba
Use {0} initializer for all stack allocated char arrays
...
Lots of places in the code were already using {0} to initialize stack char
arrays, but memset() was being used as well. This commit removes all
unnecessary memset() calls against char arrays that are already initialized
via {0} (which sets all members to zero for such arrays).
2013-05-21 22:00:15 -04:00
Franck Joncourt
cee5807deb
First draft to be able to use stdin as an input for submitting fwknop key.
...
mrash/fwknop#74
2013-05-18 10:54:44 +02:00
Franck Joncourt
bb90a8bf75
Fixed gcc warnings on openbsd. - mrash/fwknop#60
2013-05-14 22:08:44 +02:00
Michael Rash
c555a35489
[client] set ctx=NULL after fko_destroy() calls
2013-05-12 20:54:04 -04:00
Michael Rash
eb143db9a7
[client] added --get-hmac-key to mirror --get-key, closes #68
2013-05-05 21:54:07 -04:00
Franck Joncourt
7a719389ca
Integrated the log module in the whol client source code.
...
perror() is also replaced by log_msg()
2013-04-29 22:18:29 +02:00
Michael Rash
47ea800889
merged in fwknop-2.0.4 changes
2013-01-18 17:25:16 -05:00
Michael Rash
03b222ddda
[client] (Franck Joncourt) Fixed Ctrl-C problem where SPA packets were sent anyway
...
[client] (Franck Joncourt) Contributed a patch to allow the fwknop
client to be stopped during the password entry prompt with Ctrl-C before
any SPA packet is sent on the wire.
2012-11-08 22:22:04 -05:00
Michael Rash
175374337d
merged crypto_update after fwknop-2.0.1 merge to crypto_update from master
2012-07-24 17:10:00 -04:00
Michael Rash
24dccb34ec
[client] fix memory leak when unable to open --get-key file
2012-07-23 21:23:23 -04:00
Michael Rash
92e403a242
added initial HMAC-SHA256 support for the client side
2012-07-02 23:50:45 -04:00
Michael Rash
3095f0ee43
Added key generation support with --key-gen
...
Added --key-gen to allow KEY_BASE64 and HMAC_KEY_BASE64 keys to be created from
reading random data from /dev/random. These keys can be placed within server
access.conf files and corresponding client .fwknoprc files for SPA
communications. The HMAC key is not used yet with this commit, but that is
coming.
2012-06-27 23:06:17 -04:00
Michael Rash
6388e8ac7f
added 'const' to function prototype vars where possible
...
Added the 'const' qualifier to function prototype variables where possible.
In addition, reduced some functions to file-scope with 'static' where possible.
Also made a few minor changes to remove extra whitespace, and fixed a bug
in create_fwknoprc() to ensure the new fwknoprc filehandle is closed.
2011-10-25 21:00:40 -04:00
Michael Rash
ca5f82c067
Removed legacy $Id$ tags from svn
...
$Id$ tags don't really mean anything to git so they have been removed from all
source files.
2011-06-18 20:53:40 -04:00
Damien Stuart
0f6ca00ac4
Updated the GPL blurb at the top of the source files. Added some missing copyright statements (Thanks to Franck Joncourt).
...
git-svn-id: file:///home/mbr/svn/fwknop/trunk@300 510a4753-2344-4c79-9c09-4d669213fbeb
2010-11-13 03:04:36 +00:00
Damien Stuart
5035cf0fed
Added .fwknoprc file creation and processing. This allows for saved default and named configuration profiles. Updated fwknop manpage to reflect the new capability. Also cleaned up messages (errors, info) from the program.
...
git-svn-id: file:///home/mbr/svn/fwknop/trunk@234 510a4753-2344-4c79-9c09-4d669213fbeb
2010-07-05 22:49:03 +00:00
Damien Stuart
53b7fae8bb
Major rearrangement. Renamed directories: "fko" to "lib", "src" to "client". Added "common" and "server" directories. Setup autoconf to allow disabling the server and/or client builds.
...
git-svn-id: file:///home/mbr/svn/fwknop/trunk@127 510a4753-2344-4c79-9c09-4d669213fbeb
2009-08-09 15:43:16 +00:00