diff options
-rwxr-xr-x | report-installed-packages.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/report-installed-packages.in b/report-installed-packages.in index 36dc65c..744e0a0 100755 --- a/report-installed-packages.in +++ b/report-installed-packages.in @@ -38,6 +38,14 @@ content=$( if [ -z "${to}" ] || [ -z "${from}" ]; then echo "${content}" elif [ -n "${content}" ]; then + gpg --list-keys --with-colons "${to}" \ + | awk -F: '$1 == "fpr" {print $10}' \ + | while read -r fpr; do + curl -Ss 'https://archlinux32.org/keys.php?k='"${fpr}" + done \ + | gpg --import \ + >/dev/null 2>&1 + printf '%s\n' \ "From: ${from}" \ "To: ${to}" \ |