Skip to content

Instantly share code, notes, and snippets.

@Karlthane
Created January 19, 2017 05:59
Show Gist options
  • Save Karlthane/3ada678fd68c72542d3f2e3bca5cfeaf to your computer and use it in GitHub Desktop.
Save Karlthane/3ada678fd68c72542d3f2e3bca5cfeaf to your computer and use it in GitHub Desktop.
#!/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