diff options
| author | KunoiSayami <[email protected]> | 2022-10-25 01:26:41 +0800 |
|---|---|---|
| committer | KunoiSayami <[email protected]> | 2022-10-25 01:26:41 +0800 |
| commit | 1770df9ad0f0412702eb4e96cb18cb4418e5038e (patch) | |
| tree | 46e14a936b726df2019f64afbb183f3c073dbb6b /utils/trust_gpg.sh | |
| parent | 80da4e750e1838b5fcbca1deccdbb3e73c466ee7 (diff) | |
feat(script): Implement all function
Signed-off-by: KunoiSayami <[email protected]>
Diffstat (limited to 'utils/trust_gpg.sh')
| -rwxr-xr-x | utils/trust_gpg.sh | 3 |
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 |
