encrypted-file: Extend magic numbers in try_password().
authorBen Pfaff <blp@cs.stanford.edu>
Sat, 12 Jan 2019 20:14:36 +0000 (12:14 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Sun, 13 Jan 2019 00:59:37 +0000 (16:59 -0800)
commitb86361a1fe04710f9622145da6ca0e7981330c78
tree1deb969e0a0ce108ac28bf7e5d360e02e0b7bcd8
parente429f109ca7ac63fb68922e9b7a964a14fedba0f
encrypted-file: Extend magic numbers in try_password().

The three-byte magic numbers would match 1 in about every 16 million
guessed passwords, which is too frequent for exhaustive testing.  The new
7- and 10-byte magic numbers should not have the same problem.
src/data/encrypted-file.c