Unable to access Crypto Stick with gpg2

Jan Ignatius email at janignatius.fi
Thu Feb 14 21:20:11 CET 2013

On Thu, 14 Feb 2013 18:51:13 +0100
Hauke Laging <mailinglisten at hauke-laging.de> wrote:

> Am Do 14.02.2013, 19:38:05 schrieb Jan Ignatius:
> > Turns out it was mounted on /dev/bus/usb/001/005:
> > crw-rw-r-- 1 root pcscd 189, 4 Feb 14 19:13 005
> > 
> > The access rights seem ok to me - the smart card daemon pcscd has
> > full rights to the device. Does anyone have other ideas I could
> > test out?
> The daemon group has... But is this group in the list of groups of
> the scdaemon process? That's not a SUID/SGID binary. So if you are
> not in this group then scdaemon started by you (or by gpg-agent
> started by you) won't be either.
> /bin/ps -e -o pid,supgrp,args
> Hauke

This is what I could find from the output of that command that seemed
relevant for gpg:

1878 -                                        /usr/sbin/pcscd
2666 adm,cdrom,sudo,dip,plugdev,lpadmin,samba /usr/bin/gpg-agent
--daemon --sh
--write-env-file=/home/jan/.gnupg/gpg-agent-info-Sibelius /usr/bin/dbus-launch
--exit-with-session x-session-manager
2683 adm,cdrom,sudo,dip,plugdev,lpadmin,samba mate-keyring-daemon
--start --components=gpg
2781 adm,cdrom,sudo,dip,plugdev,lpadmin,samba /usr/bin/gnome-keyring-daemon
--start --components=gpg

As you can see, there are no entries for scdaemon. I've attached the
full output for reference. 

If I run scdaemon manually (scdaemon --daemon), this is the entry from
the ps-command:

7592 adm,cdrom,sudo,dip,plugdev,lpadmin,samba scdaemon --daemon

Is the solution such that I need to get the scdaemon to be a part of
the group "pcscd"? 

Jan <email at janignatius.fi>
PGP Key: https://janignatius.fi/pgp
PGP Key Fingerprint: 08EC 7FDC BAAA EEF5 AFE8  BEEC 8B71 471F 7F86 1262
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ps-output1.txt
URL: </pipermail/attachments/20130214/879ce75a/attachment.txt>

More information about the Gnupg-users mailing list