Commit Graph

158 Commits (8cd4fde19095beb955d5cbb0028f1b4b8d2fa97e)

Author SHA1 Message Date
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
Christopher Wellons 3e30188671 Fix key derivation salt to be 32 bytes. 2017-03-08 11:51:21 -05:00
Christopher Wellons 365b184ab8 Use XDG_CONFIG_HOME instead. 2017-03-08 11:51:21 -05:00
Christopher Wellons 6e8453894b Unlink socket before use (agent). 2017-03-08 11:43:36 -05:00
Christopher Wellons ff6ac9c7ca Remove extra passphrase mixing from key derivation. 2017-03-08 10:07:29 -05:00
Christopher Wellons 65467d2fe3 Tweak the algorithm further. 2017-03-07 23:09:32 -05:00
Christopher Wellons 52a0fb9f55 Add note about passphrase to derivation. 2017-03-07 22:28:49 -05:00
Christopher Wellons 62bed915da Fix argument parsing for new difficulty. 2017-03-07 22:22:34 -05:00
Christopher Wellons b50bebc2a3 Bump version. 2017-03-07 22:17:12 -05:00
Christopher Wellons c559458ee7 New key derivation algorithm. 2017-03-07 22:16:54 -05:00
Christopher Wellons 9af373c94c Add note about UCRT. 2017-03-07 10:04:38 -05:00
Christopher Wellons 26c041762a Bump to 2.1. 2017-03-07 09:37:15 -05:00
Christopher Wellons 6c25c7557d Add section on compilation to the README. 2017-03-07 09:36:09 -05:00
Christopher Wellons 096a872a2a Avoid possible double fclose() on some failures. 2017-03-07 09:31:07 -05:00
Christopher Wellons fcb4873498 Write secret key out first (more likely to fail). 2017-03-07 09:23:53 -05:00
Christopher Wellons 2cb2c2d2cb Include format version even without a protection key. 2017-03-07 09:21:55 -05:00
Christopher Wellons 369b2bce27 Update README on encrypting/decrypting. 2017-03-06 10:23:07 -05:00
Christopher Wellons d6218e8046 Add simple validation check before starting encryption. 2017-03-06 10:19:54 -05:00
Christopher Wellons a8e926d2dd Check the format version on secret keys. 2017-03-06 10:09:08 -05:00
Christopher Wellons 6c2fd6b52a Store the exponent, not the actual iteration count. 2017-03-06 10:06:51 -05:00
Christopher Wellons f7b2041010 Add note about major version. 2017-03-06 09:56:27 -05:00
Christopher Wellons b5c50e713e Bump major version. 2017-03-06 09:56:20 -05:00
Christopher Wellons f426735681 In key derivation, mix passphrase second.
This prevents the shortcut of pre-initializing the hash with the
passphrase. PBKDF2 doesn't have this feature.
2017-03-06 09:53:10 -05:00
Christopher Wellons 36909699f1 Tidy up HMAC code. 2017-03-06 09:51:35 -05:00
Christopher Wellons b218e3be80 Add --version and --help. 2017-03-05 21:05:44 -05:00
Christopher Wellons 188a0be098 Fix up README. 2017-03-05 20:43:36 -05:00
Christopher Wellons 72544c4301 Move sources under src/. 2017-03-05 20:26:31 -05:00
Christopher Wellons b1856fb9eb Use const to communicate intent. 2017-03-05 19:23:02 -05:00
Christopher Wellons d2de5a30f6 Switch to HMAC for the MAC. 2017-03-05 19:00:35 -05:00
Christopher Wellons e718e63324 Split up OS-specific code. 2017-03-05 18:14:48 -05:00