projects
/
webi-installers
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
feature: add gpg-pubkey
[webi-installers/.git]
/
gpg-pubkey
/
gpg-pubkey-id.sh
diff --git a/gpg-pubkey/gpg-pubkey-id.sh
b/gpg-pubkey/gpg-pubkey-id.sh
new file mode 100644
(file)
index 0000000..
dd4062b
--- /dev/null
+++ b/
gpg-pubkey/gpg-pubkey-id.sh
@@ -0,0
+1,8
@@
+#!/bin/bash
+set -e
+set -u
+
+gpg --list-secret-keys --keyid-format LONG |
+ grep sec |
+ cut -d'/' -f2 |
+ cut -d' ' -f1