Trying to make this work, slowly
This commit is contained in:
parent
614e4fe418
commit
e5f74348fc
1 changed files with 2 additions and 1 deletions
|
@ -5,4 +5,5 @@ gpg --default-new-key-algo rsa4096 --gen-key
|
|||
echo '[INFO] Listing keys'
|
||||
echo '$ gpg --list-secret-keys --keyid-format=long'
|
||||
gpg --list-secret-keys --keyid-format=long
|
||||
|
||||
key_id=$(gpg --list-secret-keys --keyid-format=long|grep sec|sed -E 's_.+ .+/([^ ]+) .+_\1_g')
|
||||
echo "[INFO] Detected key: $key_id"
|
||||
|
|
Loading…
Reference in a new issue