-
-
Save T4cC0re/a4fa54a46b0eea1c507d7efee5739c2f to your computer and use it in GitHub Desktop.
Gemalto smartcard with GnuPG under Arch Linux
This file contains hidden or 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
#!/usr/bin/bash | |
# more info: | |
# https://wiki.archlinux.org/index.php/GnuPG#Smartcards | |
SHELL_CONF=~/.bashrc | |
sudo pacman -S --noconfirm pcsclite libusb-compat | |
sudo systemctl enable pcscd.service | |
echo "export SSH_AUTH_SOCK=$HOME/.gnupg/S.gpg-agent.ssh" >> $SHELL_CONF | |
echo "enable-ssh-support" >> ~/.gnupg/gpg-agent.conf | |
echo "pcsc-driver /usr/lib/libpcsclite.so" > ~/.gnupg/scdaemon.conf | |
echo "card-timeout 5" >> ~/.gnupg/scdaemon.conf | |
echo "disable-ccid" >> ~/.gnupg/scdaemon.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment