From 08ca0a8eef95a4cbfa70da900cc41c8977d6168b Mon Sep 17 00:00:00 2001 From: Narrat Date: Sun, 7 Jan 2018 21:56:19 +0100 Subject: [PATCH] list_gnupg_ciphers: Remove check on gpg This function is called after _ensure_dependencies(), which would bail out if gpg is not found --- tomb | 3 --- 1 file changed, 3 deletions(-) diff --git a/tomb b/tomb index e69b834..232ec1f 100755 --- a/tomb +++ b/tomb @@ -1359,9 +1359,6 @@ gen_key() { # prints an array of ciphers available in gnupg (to encrypt keys) list_gnupg_ciphers() { - # prints an error if GnuPG is not found - which gpg &>/dev/null || _failure "gpg (GnuPG) is not found, Tomb cannot function without it." - # On gpg1 and gpg2 line 10 always point to available ciphers. # Print those until the next section is found ciphers=(`gpg --version | awk '