This repository will help me bootstrap my machines (mostly workstations).
PRIMARY_KEY="2490AACAD97245B59ACCB7A96BFF495F6EF46E6E" && \
curl -s https://keybase.io/binbash/pgp_keys.asc | gpg --import
curl -sL --remote-name-all \
dels.ink/bootstrap/bin/setup-workstation.sh \
dels.ink/bootstrap/bin/setup-workstation.sh.sig
gpg --assert-signer "${PRIMARY_KEY}" --verify setup-workstation.sh.sig setup-workstation.sh && \
chmod +x setup-workstation.sh && ./setup-workstation.sh
setup-workstation.sh
When the setup-workstation.sh script is updated, a new detached signature file needs to be generated so that the script can be validated when downloaded.
gpg \
--local-user <name or (sub)key to sign with> \
--sign \
--armor \
--output bin/setup-workstation.sh.sig \
--detach-sign bin/setup-workstation.sh