chore: changes to gpg import

main
CrimsonTome 2022-11-23 09:21:57 +00:00 committed by Rowan Clark
parent ef1c5be4ca
commit 257da31235
No known key found for this signature in database
GPG Key ID: F620D51904044094
1 changed files with 2 additions and 1 deletions

View File

@ -71,6 +71,7 @@ else
fi fi
cd $gitdir; cd $gitdir;
pwd
gh auth login; gh auth login;
# after logged into gh # after logged into gh
@ -80,6 +81,6 @@ gh auth login;
# gpg --export --armor KEY > pubkey.asc && gpg --export-secret-keys --armor KEY > privatekey.asc # gpg --export --armor KEY > pubkey.asc && gpg --export-secret-keys --armor KEY > privatekey.asc
# scp them to machine ~/keys # scp them to machine ~/keys
[ ! -d ~/keys ] && echo "No keys found" || gpg --import keys/*; echo "GPG keys imported" [ ! -d ~/keys ] && echo "No keys found" || gpg --import keys/*
gh repo list --limit 100 |awk '{print $1}' | xargs -L1 gh repo clone; gh repo list --limit 100 |awk '{print $1}' | xargs -L1 gh repo clone;