libgocryptfs/internal/readpassword
Jakob Unterwurzacher fe06e9f456 readpassword: delete CheckTrailingGarbage
CheckTrailingGarbage was called even when "-passfile" was
used, which is stupid, and causes false positives:

https://github.com/rfjakob/gocryptfs/issues/391
(false error "Received trailing garbage after the password"
when using -passfile in .bash_profile)

Instead of trying to improve the logic to handle that case
and make everything even more complicated, delete the function.

It is unclear if actually helps in some cases, and it definitely
harms as shown by the above bug report.
2019-04-08 20:18:45 +02:00
..
passfile_test_files Allow multiple -extpass arguments 2019-03-03 13:25:30 +01:00
extpass_test.go Allow multiple -extpass arguments 2019-03-03 13:25:30 +01:00
passfile_test.go Allow multiple -extpass arguments 2019-03-03 13:25:30 +01:00
passfile.go passfile: directly read file instead of invoking cat 2018-12-15 17:09:38 +01:00
read.go readpassword: delete CheckTrailingGarbage 2019-04-08 20:18:45 +02:00
stdin_test.go Add -masterkey=stdin functionality 2018-03-22 00:02:10 +01:00
trezor_disabled.go trezor: show support in version string 2018-08-15 23:31:37 +02:00
trezor.go.broken Disable Trezor support 2019-02-04 22:08:03 +01:00