Re: Unable to access Crypto Stick with gpg2

2013-02-17 Thread Jan Ignatius
On Sat, 16 Feb 2013 11:42:42 +0200 Jan Ignatius wrote: > On Thu, 14 Feb 2013 22:03:45 +0100 > Peter Lebbing wrote: > > > >> /bin/ps -e -o pid,supgrp,args > > > 1878 -/usr/sbin/pcscd > > > > pcscd will have GUID pcscd, so it's not a supplementary group. W

Re: Unable to access Crypto Stick with gpg2

2013-02-16 Thread Jan Ignatius
On Thu, 14 Feb 2013 22:03:45 +0100 Peter Lebbing wrote: > >> /bin/ps -e -o pid,supgrp,args > > 1878 -/usr/sbin/pcscd > > pcscd will have GUID pcscd, so it's not a supplementary group. With > $ ps -e -o pid,egroup,supgrp,args > > You'll most likely notice

Re: Unable to access Crypto Stick with gpg2

2013-02-14 Thread Peter Lebbing
>> /bin/ps -e -o pid,supgrp,args > 1878 -/usr/sbin/pcscd pcscd will have GUID pcscd, so it's not a supplementary group. With $ ps -e -o pid,egroup,supgrp,args You'll most likely notice "pcscd" in the second column for that daemon. Peter. -- I use the GNU

Re: Unable to access Crypto Stick with gpg2

2013-02-14 Thread Jan Ignatius
On Thu, 14 Feb 2013 18:51:13 +0100 Hauke Laging 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 > > ful

Re: Unable to access Crypto Stick with gpg2

2013-02-14 Thread Peter Lebbing
> The daemon group has... But is this group in the list of groups of the > scdaemon process? That's not a SUID/SGID binary. You're confusing pcscd and scdaemon. OP doesn't use direct access by scdaemon, but rather a PC/SC daemon which is run from init, and to which the scdaemon connects. If the

Re: Unable to access Crypto Stick with gpg2

2013-02-14 Thread Jan Ignatius
On Wed, 13 Feb 2013 23:32:29 +0100 Hauke Laging wrote: > Am Mi 13.02.2013, 20:16:01 schrieb Jan Ignatius: > > > Coming back to your original proposal, could you give me some > > guidance on how i can check the user permissions for the Crypto > > Stick? > > I think that means that you have conne

Re: Unable to access Crypto Stick with gpg2

2013-02-14 Thread Hauke Laging
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?

Re: Unable to access Crypto Stick with gpg2

2013-02-13 Thread Hauke Laging
Am Mi 13.02.2013, 20:16:01 schrieb Jan Ignatius: > Coming back to your original proposal, could you give me some guidance > on how i can check the user permissions for the Crypto Stick? That's easy: lsusb shows you the bus and device number. ls -l /dev/bus/usb/002/ for all devices on bus 2 or

Re: Unable to access Crypto Stick with gpg2

2013-02-13 Thread Jan Ignatius
On Wed, 13 Feb 2013 11:55:59 +0100 Hauke Laging wrote: > Am Mi 13.02.2013, 07:46:31 schrieb Jan Ignatius: > > > scdaemon[2740]: PC/SC OPEN failed: reader unavailable > > I think this is the relevant problem with thr rest being the result > of that. What are the access rights for the reader? Can

Re: Unable to access Crypto Stick with gpg2

2013-02-13 Thread Hauke Laging
Am Mi 13.02.2013, 07:46:31 schrieb Jan Ignatius: > scdaemon[2740]: PC/SC OPEN failed: reader unavailable I think this is the relevant problem with thr rest being the result of that. What are the access rights for the reader? Can your user account access it? Perhaps you need a suitable udev rule.

Unable to access Crypto Stick with gpg2

2013-02-12 Thread Jan Ignatius
Hello, so far I've been (successfully) using gpg2 with Windows but having recently installed Linux Mint 14 on a spare laptop, I've ran into problems when trying to access my keys stored on a GPF Cryto Stick: $ gpg2 --version gpg (GnuPG) 2.0.19 libgcrypt 1.5.0 $ gpg2 --card-status gpg: selectin