diff options
author | arshlinux | 2018-01-14 01:33:23 +0100 |
---|---|---|
committer | arshlinux | 2018-01-14 01:34:58 +0100 |
commit | ffed95e407777255cc37ae93d38db0e42e270cda (patch) | |
tree | 9a5e993f97637e4337ddd14380ae2abf779921ed | |
parent | 3f444781abce510b0f7f71b9ec515219f031011e (diff) | |
download | aur-ffed95e407777255cc37ae93d38db0e42e270cda.tar.gz |
Add GPG_TTY=/dev/console so it works again
-rw-r--r-- | hook | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -3,6 +3,8 @@ run_hook() { rootkey=$(mktemp) chmod 0000 "$rootkey" + + export GPG_TTY=/dev/console gpg --decrypt -o "$rootkey" --yes /rootkey.gpg # send the now decrypted key location to cryptsetup's encrypt hook |