make run-only
, or, if you do not have make
, just manually run ./do-kb-onetime.sh && ./do-kb.sh
.
Very lightweight keybase bootstrapping. Assumes you have sudo privileges. Out of an abundance of paranoia, this is interactive, prompting before importing keybase's public key into the user's gpg keyring.
-
do-kb-onetime.sh
: A one-time setup which downloads and verifies the install bits. -
do-kb.sh
: An "every-boot" setup for when you are running on a node where you lose non-user changes on each boot (so, for example,$HOME/
is preserved, but/usr/bin
is reset). Run this on reboot to re-install the already downloaded and verified package.If you are not in this situation, then
do-kb.sh
changes will stick around and you do not need to re-run on each boot. -
do-kb.lib.sh
: code shared between other scripts
sha512sum
(in packagecoreutils
)bash
curl
gpg
sudo
make
shellcheck
- Test via BATS
- These scripts need to run partly as root; an unprivileged option would be nice too.