Skip to content

Instantly share code, notes, and snippets.

@byronmansfield
Created February 15, 2019 06:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save byronmansfield/859218b01131f28c31cebeb6e880274b to your computer and use it in GitHub Desktop.
Save byronmansfield/859218b01131f28c31cebeb6e880274b to your computer and use it in GitHub Desktop.

Setting up a new Arch install with existing password-store using Yubikey and GnuPG

These are instructions are for setting up your existing pass from the existing gpg keys and yubikey on a fresh Arch installation

Install required packages

yaourt -S pass gnupg2 pcsclite ccid yubikey-personalization hopenpgp-tools

Enable pcscd (the system smart card daemon)

systemctl enable pcscd.service
systemctl start pcscd.service

Get GPG key

gpg --recv-keys --keyserver hkps://hkps.pool.sks-keyservers.net 217FD2E8
gpg --edit-key 217FD2E8
gpg --import /mnt/publickey.txt

Setup pass

pass init 217FD2E8
pass git init
pass git remote add origin git@gitlab.com:bmansfield/password-store.git
pass git pull
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment