]> git.apps.os.sepia.ceph.com Git - fscrypt.git/commit
actions/recovery: revert protector if it can't be added to policy
authorEric Biggers <ebiggers@google.com>
Tue, 28 Jan 2020 04:16:35 +0000 (20:16 -0800)
committerEric Biggers <ebiggers@google.com>
Tue, 28 Jan 2020 18:45:52 +0000 (10:45 -0800)
commit4e0230bdbc9cf893099919170a10e44f84422747
treed78443a66f19e5cd89bf2afdc94c9bc0bf17e953
parent9927ab8426e765db8de304e9f99ba5c520b5018c
actions/recovery: revert protector if it can't be added to policy

Ensure that a failed AddRecoveryPassphrase() doesn't leave around an
unneeded protector file.
actions/recovery.go