diff --git a/yubikey-bootstrap.md b/yubikey-bootstrap.md index 297dbee..c496503 100644 --- a/yubikey-bootstrap.md +++ b/yubikey-bootstrap.md @@ -8,6 +8,11 @@ sudo apt install git scdaemon qtpass gpg --receive-keys 5F78261B65C565041662A3B7FF8FC3C735BD4A51 ``` +### Learn Smartcard +``` +gpgsm --learn-card +``` + ### Add the following to `~/.gnupg/gpg-agent.conf` ``` enable-ssh-support @@ -34,4 +39,5 @@ Host git.mlaga97.space ### Test ``` git clone git@git.mlaga97.space:mlaga97/public-notes -``` \ No newline at end of file +``` + diff --git a/yubikey-bootstrap.sh b/yubikey-bootstrap.sh index b51ff7e..cd3dd78 100644 --- a/yubikey-bootstrap.sh +++ b/yubikey-bootstrap.sh @@ -31,7 +31,7 @@ sudo apt install git scdaemon qtpass vim # Configure GPG gpg --receive-keys 5F78261B65C565041662A3B7FF8FC3C735BD4A51 # Matieu Luc Lagarde -gpg --receive-keys CB2DA92C06453ADDEDDD49C60458D1300C09CC73 # Ashley Funkhouser +gpg --keyserver hkps://keyserver.ubuntu.com --receive-keys CB2DA92C06453ADDEDDD49C60458D1300C09CC73 # Ashley Funkhouser mkdir -p ~/.gnupg cat > ~/.gnupg/gpg-agent.conf <<- EOM