Commit Graph

171 Commits (master)

Author SHA1 Message Date
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
Christopher Wellons 3ee9942c01 Fix incorrect include in sha256.c. 2017-03-04 11:59:13 -05:00
Christopher Wellons 4150e9f217 Expand on README. 2017-03-04 11:50:51 -05:00
Christopher Wellons cac2b3a67b Parameterize passphrase size. 2017-03-04 11:44:51 -05:00
Christopher Wellons 709aebb057 Switch to powers of 2 for --derive and --iterations arguments. 2017-03-04 11:44:51 -05:00
Christopher Wellons 1e7fe39342 Add --edit option. 2017-03-04 11:17:27 -05:00
Christopher Wellons 1b7d764f1a Update README. 2017-03-03 23:10:57 -05:00
Christopher Wellons 7ace4544cf Add --iterations option and optional argument to --derive. 2017-03-03 23:07:17 -05:00
Christopher Wellons 6787983ede Add a roadmap to the README. 2017-03-03 21:47:13 -05:00
Christopher Wellons 92186b6c15 Only prompt for repeat on non-empty passphrase. 2017-03-03 20:57:02 -05:00
Christopher Wellons 06d514f4d1 Tweak .gitignore. 2017-03-03 20:55:18 -05:00
Christopher Wellons f4622b6376 Fix some modes. 2017-03-03 20:54:54 -05:00
Christopher Wellons 4aa0072050 Make Clang warnings go away. 2017-03-03 20:53:29 -05:00
Christopher Wellons 1716985257 Check write() from TTY prompt. 2017-03-03 20:51:42 -05:00
Christopher Wellons bb46184a49 Add Windows passphrase prompt. 2017-03-03 20:49:45 -05:00
Christopher Wellons 34cda4e9a1 Add Windows entropy gathering. 2017-03-03 19:50:21 -05:00
Christopher Wellons c00ff5d604 Dump old typedefs. 2017-03-03 19:48:47 -05:00
Christopher Wellons 25a443caec Update README. 2017-03-03 19:36:32 -05:00
Christopher Wellons e5d202cdff Add note about prefixes. 2017-03-03 18:43:10 -05:00
Christopher Wellons 590a50da71 Add --delete (-d) option. 2017-03-03 18:42:06 -05:00