Commit Graph

137 Commits (w32-compat)

Author SHA1 Message Date
Christopher Wellons ec929a6696 Add a w32 compatability layer (WIP) 2017-10-03 21:32:33 -04:00
Christopher Wellons 39bc92455f Completely remove random device options
This option adds needless complexity. Just hardcode /dev/urandom.
2017-10-03 19:30:40 -04:00
Christopher Wellons 79c7bf97f9 Document large file support in the README (fixes #7) 2017-09-27 14:25:40 -04:00
Christopher Wellons 9d87816841 Use strerror() when available for better errors (#7) 2017-09-27 13:23:24 -04:00
Christopher Wellons bd1100ae99 Remove trailing whitespace 2017-09-27 13:20:16 -04:00
Christopher Wellons 9c1fa33356 Print usage newline on stderr, not stdout 2017-09-09 22:10:45 -04:00
Christopher Wellons 96d78c583f Use -f option for both install and uninstall 2017-07-24 12:27:57 -04:00
Christopher Wellons 2790ce019f Print random device instead of /dev/urandom 2017-07-24 12:25:01 -04:00
Christopher Wellons 727e89a81f Undo a comment change back to a basic comment 2017-07-24 12:24:38 -04:00
Christopher Wellons e1e857c935 Fix prototype for agent_read() 2017-07-24 12:23:55 -04:00
Christopher Wellons 9d7e161f05 Touch up function documentation comments. 2017-07-23 21:01:10 -04:00
Christopher Wellons 64471b097b Touch up the --help documentation. 2017-07-23 19:56:21 -04:00
Christopher Wellons 514dc7d4dc Free all path strings before success exit
This fixes all the valgrind complaints and properly frees all allocated
memory so long as the program exits successfully.
2017-07-22 20:01:00 -04:00
Christopher Wellons fa7228133e Use the correct output file in error message. 2017-07-22 17:18:15 -04:00
Christopher Wellons f28b650290 Add some missing backslashes to man page. 2017-07-22 16:43:55 -04:00
Christopher Wellons 32d40ad00b Disable hyphenation for SYNOPSIS. 2017-07-22 16:43:20 -04:00
Christopher Wellons e0776bda2a Touch up the man page some more.
Only show the short options in the synopsis, and add subcommands to
synopsis.
2017-07-21 23:42:31 +00:00
Christopher Wellons adc98e8a56 Bump to version 3.3 2017-07-21 12:12:56 -04:00
Christopher Wellons 65ce271f67 Clarify manual link in README 2017-07-21 12:12:54 -04:00
Christopher Wellons 04feb005b5 Add online man page link. 2017-07-13 09:32:06 -04:00
Christopher Wellons ccec5197d0 Adjust indentation in man page. 2017-07-12 08:54:31 -04:00
Christopher Wellons ab0ce78a00 Before mkdir(2), check if directory exists.
On Cygwin, mkdir(2) reports EACCES if the directory exists but the
system call would have failed had it not existed. This is a little odd
since EEXIST would be a much more sensible error code, but this odd
behavior seems to be permitted by POSIX. If mkdir(2) fails, but the path
exists as a directory, then continue as normal.
2017-07-11 20:35:46 -04:00
Christopher Wellons 949c649d90 Add install and uninstall targets (with PREFIX). 2017-07-11 15:48:17 -04:00
Christopher Wellons 6d1407bf1f Drop built-in help command. 2017-07-11 15:31:32 -04:00
Christopher Wellons 3b71d656ee Add a basic man page. 2017-07-11 15:25:25 -04:00
Christopher Wellons d7a455033b Fix missing newline in keygen help. 2017-07-03 23:03:11 -04:00
Christopher Wellons 808fde4f1a Fix a couple of style typos. 2017-07-02 21:58:59 -04:00
Christopher Wellons 2723203a68 Add enchive-mode.el. 2017-05-10 11:30:16 -04:00
Christopher Wellons 3d00adcac5 Switch _XOPEN_SOURCE to _POSIX_C_SOURCE (less strict). 2017-03-27 21:44:30 -04:00
Christopher Wellons 18cc64311c Simplify fingerprint command output. 2017-03-26 12:24:05 -04:00
Christopher Wellons b7a7e0094c Truncate fingerprints to 16 bytes. 2017-03-26 12:21:15 -04:00
Christopher Wellons 5d1f4dfe21 More consistent use of 'keypair' in docs. 2017-03-26 12:20:37 -04:00
Christopher Wellons 910a923139 List 'fingerprint' command in main help listing. 2017-03-26 08:48:24 -04:00
Christopher Wellons 00306b3c01 Bump to version 3.2. 2017-03-25 22:11:47 -04:00
Christopher Wellons d44d2bb255 Add fingerprint command and --fingerprint keygen option. 2017-03-25 22:11:17 -04:00
Christopher Wellons 63a2734b86 Bump to 3.1. 2017-03-17 20:46:06 -04:00
Christopher Wellons 27e5386af5 Add note about leaking filenames (#4). 2017-03-15 22:30:43 -04:00
Christopher Wellons 7b35ec4577 Tweak FAQ wording. 2017-03-14 17:33:46 -04:00
Christopher Wellons 6e200fb7f8 Add an FAQ. 2017-03-14 17:31:34 -04:00
Markus Böhme 1d365fbdf0 Fix out-of-bounds memory access. 2017-03-14 14:14:59 +01:00
Markus Böhme 8ca7eb3428 Replace magic value with already defined constant. 2017-03-14 14:14:06 +01:00
Markus Böhme 09e8ec6f8d Fix typos in comments. 2017-03-14 14:13:34 +01:00
Markus Böhme 18249a7f82 Use va_end in functions with a variable number of arguments. 2017-03-14 14:12:15 +01:00
Markus Böhme 99e568f55b Fix registering of files to be cleaned up to work with multiple files. 2017-03-14 14:11:08 +01:00
Christopher Wellons 7341de31ca Update docstring to say HMAC-SHA256. 2017-03-09 13:32:40 -05:00
Christopher Wellons 9ba88ec2b8 Change README headings. 2017-03-08 12:29:49 -05:00
Christopher Wellons b0fe47d3e1 Fix up README. 2017-03-08 12:28:33 -05:00
Christopher Wellons 91d13edd2f Fix up README intro. 2017-03-08 12:20:32 -05:00
Christopher Wellons b705d7d159 Fix Win32 directory detection. 2017-03-08 12:05:08 -05:00
Christopher Wellons 1f0f28c125 Use $XDG_RUNTIME_DIR for agent. 2017-03-08 11:51:21 -05:00