From 95b0b9c8af4c5f687c0306258f5c563af4e4f727 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 29 Oct 2016 19:41:21 +0100 Subject: [PATCH] Ensure that cryptsetup is installed before attempting to recover from a keydrive --- src/freedombone-utils-keys | 1 + 1 file changed, 1 insertion(+) diff --git a/src/freedombone-utils-keys b/src/freedombone-utils-keys index 41ff97e1..3d0a8f27 100755 --- a/src/freedombone-utils-keys +++ b/src/freedombone-utils-keys @@ -235,6 +235,7 @@ function interactive_key_recovery { 1) return;; 255) return;; esac + apt-get -yq install cryptsetup ${PROJECT_NAME}-recoverkey -u $MY_USERNAME if [ -d /home/$MY_USERNAME/.gnupg ]; then cp -rf /home/$MY_USERNAME/.gnupg /root