From 8be3e7d2a02da7f582a4ded1d65749b5aee5750d Mon Sep 17 00:00:00 2001 From: Jaromil Date: Wed, 13 Apr 2022 15:58:09 +0200 Subject: [PATCH] gpg remove check for secret key --- tomb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tomb b/tomb index c8e7550..0b92036 100755 --- a/tomb +++ b/tomb @@ -980,14 +980,14 @@ is_valid_recipients() { done # At least one private key must be present - for gpg_id in ${recipients[@]}; do - gpg --with-colons --batch --list-secret-keys "$gpg_id" &> /dev/null - [[ $? = 0 ]] && { - return 0 - } - done +# for gpg_id in ${recipients[@]}; do +# gpg --with-colons --batch --list-secret-keys "$gpg_id" &> /dev/null +# [[ $? = 0 ]] && { +# return 0 +# } +# done - return 1 + return 0 } # $@ is the list of all the recipient used to encrypt a tomb key