- Clone public dotfiles repo
- Install GPG and fetch keys
curl -sSL https://key.mattforster.ca/gpg.pub | gpg --import -
- Trust keys
gpg --edit-key [key-id]
- [Mac] Setup ssh-agent
- [Windows] Setup win-gpg-agent
- [Windows] https://github.com/demonbane/wsl-gpg-systemd
- Run bootstrap script (env agnostic)
- Run install script (env agnostic)
- [optional] install brew, if absolutely needed
- Probably a bunch of other steps, it never works quite right
Useful commands;
home-manager switch
brew bundle cleanup && brew bundle check || brew bundle install
- Make sure GPG is set up + key is fetched
gopass clone
https://chipsenkbeil.com/posts/applying-gpg-and-yubikey-part-2-setup-primary-gpg-key/
gpg --full-generate-key
Type: RSA and RSA (default)
Length: 4096
Valid for: 3y
- Extend master expiry?
- Recreate subkeys
- add to card
gpg --expert --edit-key security@mattforster.ca
key 0
expire
key 0
addkey
key 1
keytocard
key 1
# repeat for other keys
```#