From 5f2b58b7034646cf1a297309c81059e0028ec34f Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 9 Oct 2019 16:51:15 +0200 Subject: [PATCH] update-keys: also collect keys with marginal trust --- update-keys | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/update-keys b/update-keys index ce75f2b..4a86a7c 100755 --- a/update-keys +++ b/update-keys @@ -75,7 +75,8 @@ while read -ra data; do keyid="${data[0]}" username="${data[@]:1}" if ! "${GPG[@]}" --list-keys --with-colons ${keyid} 2>/dev/null | grep -q '^pub:f:'; then - echo "key is not fully trusted: ${keyid} ${username}" + echo "WARNING: key is not fully trusted: ${keyid} ${username}" + "${GPG[@]}" --comment "marginal trust: ${username} (${keyid})" --export ${keyid} >> packager/${username}.asc else "${GPG[@]}" --comment "packager: ${username} (${keyid})" --export ${keyid} >> packager/${username}.asc fi