Commit Graph

140 Commits (ed739bc3dde653f010dd86f1c3d5d2f65caec352)

Author SHA1 Message Date
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
Christopher Wellons 0e9a0b494d Fix up other secure_creat(). 2017-03-05 18:11:41 -05:00
Christopher Wellons 57d299ee97 Switch to _XOPEN_SOURCE to work around FreeBSD bug. 2017-03-05 18:07:00 -05:00
Christopher Wellons 84e65be1e3 Parameterize maximum passphrase size. 2017-03-05 17:59:40 -05:00
Christopher Wellons 63b786386e Flesh out a bunch of code comments and structure. 2017-03-05 17:57:57 -05:00
Christopher Wellons af551a4e8d Don't blindly trust agent. 2017-03-05 16:40:08 -05:00
Christopher Wellons e9a4df55e0 Document compile-time options. 2017-03-05 16:26:44 -05:00
Christopher Wellons 67b82606c6 Add a key agent. 2017-03-05 15:55:11 -05:00
Christopher Wellons a9dad33fef Use IV as salt for protection key. 2017-03-05 13:53:41 -05:00
Christopher Wellons ea790d0a58 Include config in doc strings. 2017-03-05 13:40:24 -05:00
Christopher Wellons ab4206a02f Make it more configurable at compile time. 2017-03-05 13:31:20 -05:00
Christopher Wellons c45ef91c95 Improved amalgamation. 2017-03-05 13:03:20 -05:00
Christopher Wellons 0224ea1944 Remove unused variables. 2017-03-05 12:55:58 -05:00
Christopher Wellons 55b98dfaf4 Add amalgamation build. 2017-03-05 12:54:57 -05:00
Christopher Wellons 3fcfa2bc39 Break up large string constants. 2017-03-04 22:35:48 -05:00
Christopher Wellons b90e413544 Fix UI logic bug. 2017-03-04 12:05:00 -05:00
Christopher Wellons 10f50c4a22 Update README. 2017-03-04 12:02:41 -05:00
Christopher Wellons f0a2f44c9f List supported platforms in README. 2017-03-04 12:02:13 -05:00
Christopher Wellons 0fef876596 Document -p and -s global options. 2017-03-04 12:01:59 -05:00