Trying to make this work, slowly

This commit is contained in:
Firepup Sixfifty 2024-05-07 17:55:55 -05:00
parent 614e4fe418
commit e5f74348fc
Signed by: Firepup650
GPG key ID: 7C92E2ABBBFAB9BA

View file

@ -5,4 +5,5 @@ gpg --default-new-key-algo rsa4096 --gen-key
echo '[INFO] Listing keys' echo '[INFO] Listing keys'
echo '$ gpg --list-secret-keys --keyid-format=long' echo '$ gpg --list-secret-keys --keyid-format=long'
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"