Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@caius
Created October 9, 2018 16:37
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 caius/c0aeb61a96fe1c867282ae46586541c4 to your computer and use it in GitHub Desktop.
Save caius/c0aeb61a96fe1c867282ae46586541c4 to your computer and use it in GitHub Desktop.
# On a mac
# Double check the README that these are still accurate instructions
git clone git://github.com/arekinath/piv-agent
cd piv-agent
make
# enter password when prompted
make install
# Stick the bit in your profile that it asks you to
# open a new shell now
piv-agent list
# This should show your yubikey
piv-agent setup
# PIN & PUK are 6-8 alphanumerical strings - keep them safe
# If you save the Admin Key it prints out you can amend keys/certs on the yubikey later. If you don't you have
# to wipe the yubikey to manage anything in future.
ssh-add -l # should list the four PIV slots on your key 4A, 4C, 4D and 4E.
# Watch https://www.youtube.com/watch?v=2uB9TO4kLqk&feature=youtu.be&app=desktop for more info
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment