Gpg — Dongle Setup enable-ssh-support default-cache-ttl 600 max-cache-ttl 7200 pinentry-program /usr/bin/pinentry-curses # or pinentry-mac on macOS Restart the agent: sudo systemctl restart pcscd Edit ~/.gnupg/scdaemon.conf : gpg dongle setup gpgconf --kill gpg-agent Set admin PIN, user PIN, and reset code (optional): gpg dongle setup brew install gnupg ykman pinentry-mac : sudo pacman -S gnupg pcsc-tools Plug in your dongle and check if the system sees it: gpg dongle setup gpg --card-status Expected output shows: