bootstrap: remove GPG setup step
All checks were successful
ci/woodpecker/push/check Pipeline was successful
All checks were successful
ci/woodpecker/push/check Pipeline was successful
I don't use `git-crypt` anymore, this is no longer useful.
This commit is contained in:
parent
98c77cb258
commit
af470f507b
|
@ -87,15 +87,6 @@ get_creds() {
|
||||||
get_pgp
|
get_pgp
|
||||||
}
|
}
|
||||||
|
|
||||||
setup_gpg() {
|
|
||||||
info 'Setting up loopback pinentry for GnuPG'
|
|
||||||
echo "allow-loopback-pinentry" > ~/.gnupg/gpg-agent.conf
|
|
||||||
|
|
||||||
info 'Signing dummy message to ensure GnuPG key is usable by `git-crypt`'
|
|
||||||
echo whatever | gpg --clearsign --armor --pinentry loopback --output /dev/null
|
|
||||||
}
|
|
||||||
|
|
||||||
[ -z "$NOCREDS" ] && get_creds
|
[ -z "$NOCREDS" ] && get_creds
|
||||||
[ -z "$NOGPG" ] && setup_gpg
|
|
||||||
|
|
||||||
nix --experimental-features 'nix-command flakes' develop
|
nix --experimental-features 'nix-command flakes' develop
|
||||||
|
|
Loading…
Reference in a new issue