jeluard / dotfiles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Install

git clone git://github.com/jeluard/dotfiles.git ~/Documents/Projects/dotfiles
./install.sh
chsh -s $(which zsh)

# GPG keys

Go offline

If you have a Yubikey read https://github.com/drduh/YubiKey-Guide and install necessary packages.

Install tails (optional)

Follow https://tails.boum.org/install/.

Generate keys

./gpg-gen-keys.sh

Publish key

gpg --send-keys $GPG_KEY_ID

Git setup

# Configure git to sign commits, tags and pushes
# https://git-scm.com/book/tr/v2/Git-Tools-Signing-Your-Work
git config --global user.signingKey ${GPG_KEY_ID}
git config --global commit.gpgSign true
git config --global tag.gpgSign true
git config --global push.gpgSign false # not yet supported by github


# Can be verified with `git tag --verify [signed-tag-name]`
# Verify signatures when merging: `git merge --verify-signatures`
git log --show-signature
git verify-commit
git show HEAD --show-signature
git config --help # to list all available options

FAQ

If you have some error messages when signing related to ioctl make sure you execute export GPG_TTY=$(tty). If you move your subkey to a Yubikey you will have to import the public key (see here). Note that you can generate your key directly on the Yubikey (see here).

Web of trust

Have others sign your key and reimport it back

gpg --sign-key eliasen@mindspring.com
gpg --export --armor their@email.address
gpg --import

TODO use gpg/ssh bridge

Sources

About


Languages

Language:Shell 73.6%Language:Vim Script 26.4%