You are not logged in.
I'm trying to use pass program in my custom scripts, and get output "gpg: error getting version from 'scdaemon': Not supported" and also my password.
I never used smart cards and doesn't have any card readers, but for a while I've got an error "gpg: selecting card failed: No such device".
I solved it by adding the line in gpg-agent.conf
disable-scdaemonBut it shows another error message "gpg: error getting version from 'scdaemon': Not supported".
gpg.conf
keyid-format short
throw-keyids
no-emit-version
no-commentsgpg-agent.conf
pinentry-program /usr/bin/pinentry-tty
max-cache-ttl 60480000
default-cache-ttl 60480000
allow-preset-passphrase
disable-scdaemongpg version: 2.2.40
pass version: v1.7.4
Offline
Does it work not in a script? That is, if you just try using pass at the command line? If not, that's where you want to troubleshoot first. If so, what's in the script?
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Offline
What do
$ gpgconf --list-components
$ pacman -Qo /usr/lib/gnupg/scdaemon return?
Please don't post images of text.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
$ gpgconf --list-components
gpg:OpenPGP:/usr/bin/gpg
gpgsm:S/MIME:/usr/bin/gpgsm
gpg-agent:Private Keys:/usr/bin/gpg-agent
scdaemon:Smartcards:/usr/lib/gnupg/scdaemon
dirmngr:Network:/usr/bin/dirmngr
pinentry:Passphrase Entry:/usr/bin/pinentry$ pacman -Qo /usr/lib/gnupg/scdaemon
/usr/lib/gnupg/scdaemon is owned by gnupg 2.2.40-1Offline