Created
November 23, 2017 06:22
-
-
Save nicolerenee/af15ba140cd81a10b7b0235070abc9e1 to your computer and use it in GitHub Desktop.
Script I use to setup my yubikeys
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Yubikey setup | |
# Disable standard yubikey mode. I only use U2F & GPG. This stops accidental touches from typing a bunch of stuff too. | |
ykman mode u+c | |
ykman openpgp touch --admin-pin 12345678 -f sig on | |
ykman openpgp touch --admin-pin 12345678 -f enc on | |
ykman openpgp touch --admin-pin 12345678 -f aut on | |
gpg2 --card-edit | |
#https://developers.yubico.com/PGP/Card_edit.html | |
#https://developers.yubico.com/PGP/Importing_keys.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment