Christopher Wellons
|
c559458ee7
|
New key derivation algorithm.
|
2017-03-07 22:16:54 -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
|
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
|
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
|
72544c4301
|
Move sources under src/.
|
2017-03-05 20:26:31 -05:00 |