Created
January 19, 2017 05:59
-
-
Save Karlthane/3ada678fd68c72542d3f2e3bca5cfeaf to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
# Fedora Yubikey Setup | |
sudo dnf install pcsc-tools opensc pcsc-lite-ccid gnupg2-smime yubico-piv-tool pam_yubico u2f-host pam-u2f u2f-server pamu2fcfg u2f-hidraw-policy yubikey-personalization-gui ykpers | |
# | |
echo "use-agent" >> /home/alex/.gnupg/gpg.conf | |
echo "enable-ssh-support" >> /home/alex/.gnupg/gpg-agent.conf | |
echo "SSH_AUTH_SOCK=/home/alex/.gnupg/S.gpg-agent.ssh; export SSH_AUTH_SOCK;" >> /home/alex/.bashrc | |
# | |
sudo systemctl enable pcscd | |
sudo systemctl start pcscd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment