]> git.apps.os.sepia.ceph.com Git - fscrypt.git/commit
Adjust recovery passphrase generation
authorEric Biggers <ebiggers@google.com>
Tue, 14 Sep 2021 21:12:39 +0000 (14:12 -0700)
committerEric Biggers <ebiggers3@gmail.com>
Tue, 5 Oct 2021 22:30:30 +0000 (15:30 -0700)
commit7fed63a84963cbd790e86a0e59ff14724bcf33c4
tree246e2f723ba3cd7ed3a76e4b8698b1913edabc11
parent4d20c7b6eda7f4e9f25442e0ec48bdf5f959853b
Adjust recovery passphrase generation

As per the feedback at https://github.com/google/fscrypt/issues/115
where users didn't understand that the recovery passphrase is important,
restore the original behavior where recovery passphrase generation
happens automatically without a prompt.  This applies to the case where
'fscrypt encrypt' is using a login protector on a non-root filesystem.

However, leave the --no-recovery option so that the recovery passphrase
can still be disabled if the user really wants to.  Also, clarify the
information provided about the recovery passphrase.

Update https://github.com/google/fscrypt/issues/115
README.md
actions/recovery.go
actions/recovery_test.go
cli-tests/t_encrypt_login.out
cli-tests/t_encrypt_login.sh
cmd/fscrypt/commands.go
cmd/fscrypt/flags.go
cmd/fscrypt/format.go