aboutsummaryrefslogtreecommitdiff
path: root/utils/trust_gpg.sh
diff options
context:
space:
mode:
Diffstat (limited to 'utils/trust_gpg.sh')
-rwxr-xr-xutils/trust_gpg.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/trust_gpg.sh b/utils/trust_gpg.sh
new file mode 100755
index 0000000..5d4f8c3
--- /dev/null
+++ b/utils/trust_gpg.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+gpg --list-keys --fingerprint | grep pub -A 1 | grep -Ev "pub|--" | tr -d ' ' \
+ | awk 'BEGIN { FS = "\n" } ; { print $1":6:" } ' | gpg --import-ownertrust \ No newline at end of file