aboutsummaryrefslogtreecommitdiff
path: root/utils/gpg_trust
diff options
context:
space:
mode:
Diffstat (limited to 'utils/gpg_trust')
-rwxr-xr-xutils/gpg_trust3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/gpg_trust b/utils/gpg_trust
new file mode 100755
index 0000000..5d4f8c3
--- /dev/null
+++ b/utils/gpg_trust
@@ -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