Re: Card only available to root user

2011-12-03 Thread Crypto Stick
Hi Olav! Am 30.11.2011 05:06, schrieb Olav Seyfarth: Hi anonymous Crypto Stick and OpenPGP card users on Linux, You need an appropriate UDEV rule. On Debian you can install... Thanks for that link! Will the package find its way to the official debian repositories? I hope so. I submitted

Re: Card only available to root user

2011-12-01 Thread Werner Koch
On Wed, 30 Nov 2011 22:27, o...@enigmail.net said: And: I can access --card-status as root, just not as user ... Set up your udev rules or whatever is used on your system to setup correct permissions for the USB device. Shalom-Salam, Werner -- Die Gedanken sind frei. Ausnahmen regelt

Re: Card only available to root user

2011-11-30 Thread Werner Koch
On Tue, 29 Nov 2011 22:06, o...@enigmail.net said: events. However, my PCMCIA based reader Omnikey CardMan 4040 (linked as supported device on http://www.gnupg.org/howtos/card-howto/en/ch02s02.html) Omnikey based devices don't work with the v2 card on nin-Unix platforms. Salam-Shalom,

Re: Card only available to root user

2011-11-30 Thread Olav Seyfarth
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Hi Werner, Omnikey based devices don't work with the v2 card on nin-Unix platforms. that should be mentioned in the SmartCard HowTo then. And: I can access --card-status as root, just not as user ... Olav - -- The Enigmail Project - OpenPGP

Re: Card only available to root user

2011-11-29 Thread Crypto Stick
Hi Luis, sorry for the late reply. You need an appropriate UDEV rule. On Debian you can install the following package: https://www.assembla.com/spaces/cryptostick/documents/ds_EMCisGr4k7QeJe5cbCb/download/ds_EMCisGr4k7QeJe5cbCb Alternatively and on other systems you might copy the following UDEV

Re: Card only available to root user

2011-11-29 Thread Olav Seyfarth
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Hi anonymous Crypto Stick and OpenPGP card users on Linux, You need an appropriate UDEV rule. On Debian you can install... Thanks for that link! Will the package find its way to the official debian repositories? // Historical side note: Once

Re: Card only available to root user

2011-11-29 Thread Michel Messerschmidt
On Tue, Nov 29, 2011 at 10:06:45PM +0100, Olav Seyfarth wrote: It seems the above files don't solve my problem since they all trigger on USB events. However, my PCMCIA based reader Omnikey CardMan 4040 (linked as supported device on http://www.gnupg.org/howtos/card-howto/en/ch02s02.html) seems

Re: Problems with gnome-keyring et al. (was: Card only available to root user)

2011-08-10 Thread Luis de Bethencourt
So I found a solution \o/ If I do: unset GPG_AGENT_INFO then the card works for my user, unfortunately it only does work in terminals. It does launch pinentry-gtk-2 when I sign an email with mutt, and so that covers my usecase :) Thanks to all! Luis signature.asc Description: Digital

Re: Problems with gnome-keyring et al. (was: Card only available to root user)

2011-08-10 Thread Luis de Bethencourt
On Wed, Aug 10, 2011 at 01:29:04PM +0200, Luis de Bethencourt wrote: So I found a solution \o/ If I do: unset GPG_AGENT_INFO then the card works for my user, unfortunately it only does work in terminals. It does launch pinentry-gtk-2 when I sign an email with mutt, and so that covers my

Problems with gnome-keyring et al. (was: Card only available to root user)

2011-08-09 Thread Werner Koch
On Tue, 9 Aug 2011 02:44, l...@debethencourt.com said: So it looks like GNOME's ssh-agent is interfering. How can I avoid this? Tell them that they should not interfere with GnuPG. If you put a line use-standard-socket into ~/.gnupg/gpg-agent.conf and stop starting gpg-agent in the

Re: Card only available to root user

2011-08-08 Thread Werner Koch
On Sat, 6 Aug 2011 19:46, l...@debethencourt.com said: gpg-connect-agent 'getinfo version' /bye ERR 100 not implemented You are running a *very* old version of gpg-agent ( 2.0.5) - or something hijacked the connection to gpg-agent (seehorse? gnome-keyring?) Shalom-Salam, Werner -- Die

Re: Card only available to root user

2011-08-08 Thread Luis de Bethencourt
On Mon, Aug 08, 2011 at 09:38:49AM +0200, Werner Koch wrote: On Sat, 6 Aug 2011 19:46, l...@debethencourt.com said: gpg-connect-agent 'getinfo version' /bye ERR 100 not implemented You are running a *very* old version of gpg-agent ( 2.0.5) - or something hijacked the connection to

Re: Card only available to root user

2011-08-08 Thread Werner Koch
On Mon, 8 Aug 2011 18:05, l...@debethencourt.com said: this is very strange, that shows it as 2.0.17, but it still says that 'getinfo version' is not implemented. One if these GNOME tools is intercepting the connection and acts as a MITM between gpg-connect-agent and gpg-agent. Check the

Re: Card only available to root user

2011-08-08 Thread Luis de Bethencourt
On Mon, Aug 08, 2011 at 07:57:44PM +0200, Werner Koch wrote: On Mon, 8 Aug 2011 18:05, l...@debethencourt.com said: this is very strange, that shows it as 2.0.17, but it still says that 'getinfo version' is not implemented. One if these GNOME tools is intercepting the connection and

Re: Card only available to root user

2011-08-06 Thread Luis de Bethencourt
On Fri, Aug 05, 2011 at 11:00:26AM +0200, Werner Koch wrote: On Fri, 5 Aug 2011 10:31, l...@debethencourt.com said: Missed this question the first time around... It is a SCM Microsystems SCR 335 Well that one works. It even works fine with the scdaemon internal driver, thus try after

Re: Card only available to root user

2011-08-06 Thread Luis de Bethencourt
On Fri, Aug 05, 2011 at 10:59:28AM +0200, Peter Lebbing wrote: On 05/08/11 03:02, Luis de Bethencourt wrote: device in debian: crw-rw-r--+ 1 root root 189, 516 2011-08-05 00:46 /dev/bus/usb/005/005 device in gentoo: crw-rw-r-- 1 root pcscd 189, 395 Aug 5 02:56 /dev/bus/usb/004/012

Re: Card only available to root user

2011-08-06 Thread Peter Lebbing
On 06/08/11 19:50, Luis de Bethencourt wrote: Thanks for that information! I agree with you that if could also have a similar ACL in my gentoo machine it would work. Where is this set? Unfortunately, I don't know much, hardly anything, about ConsoleKit and friends. I suppose it is related to

Re: Card only available to root user

2011-08-05 Thread Werner Koch
On Fri, 5 Aug 2011 01:49, l...@debethencourt.com said: luisbg@atlas ~ $ gpg --card-status gpg: selecting openpgp failed: Unsupported certificate What kind of reader are you using? luisbg@atlas ~ $ gpg-agent --server gpg-connect-agent Now that is a strange command. The gpg-connect-agent

Re: Card only available to root user

2011-08-05 Thread Luis de Bethencourt
On Fri, Aug 05, 2011 at 09:32:35AM +0200, Werner Koch wrote: On Fri, 5 Aug 2011 01:49, l...@debethencourt.com said: luisbg@atlas ~ $ gpg --card-status gpg: selecting openpgp failed: Unsupported certificate What kind of reader are you using? luisbg@atlas ~ $ gpg-agent --server

Re: Card only available to root user

2011-08-05 Thread Luis de Bethencourt
On Fri, Aug 05, 2011 at 10:25:33AM +0200, Luis de Bethencourt wrote: On Fri, Aug 05, 2011 at 09:32:35AM +0200, Werner Koch wrote: On Fri, 5 Aug 2011 01:49, l...@debethencourt.com said: luisbg@atlas ~ $ gpg --card-status gpg: selecting openpgp failed: Unsupported certificate What

Re: Card only available to root user

2011-08-05 Thread Peter Lebbing
On 05/08/11 03:02, Luis de Bethencourt wrote: device in debian: crw-rw-r--+ 1 root root 189, 516 2011-08-05 00:46 /dev/bus/usb/005/005 device in gentoo: crw-rw-r-- 1 root pcscd 189, 395 Aug 5 02:56 /dev/bus/usb/004/012 my user is part of the pcscd group. I just checked. Look closely at

Re: Card only available to root user

2011-08-05 Thread Werner Koch
On Fri, 5 Aug 2011 10:31, l...@debethencourt.com said: Missed this question the first time around... It is a SCM Microsystems SCR 335 Well that one works. It even works fine with the scdaemon internal driver, thus try after stopping pcscd. When I do it as you say I get: gpg-connect-agent

Re: Card only available to root user

2011-08-05 Thread Luis de Bethencourt
On Thu, Aug 04, 2011 at 11:25:36PM +0200, Luis de Bethencourt wrote: Hi everybody and thanks for the help. I recently upgraded my GnuPG setup with a Smart Card (GnuPG Card v2). I can get/set the information of the card through the root user, but this is not good for everyday use. I think I

Card only available to root user

2011-08-05 Thread Luis de Bethencourt
Hi everybody and thanks for the help. I recently upgraded my GnuPG setup with a Smart Card (GnuPG Card v2). I can get/set the information of the card through the root user, but this is not good for everyday use. I think I have pinpointed the problem, scdaemon iny my machine doesn't like anybody

Card only available to root user

2011-08-04 Thread Luis de Bethencourt
Hi everybody and thanks for the help. I recently upgraded my GnuPG setup with a Smart Card (GnuPG Card v2). I can get/set the information of the card through the root user, but this is not good for everyday use. I think I have pinpointed the problem, scdaemon iny my machine doesn't like anybody

Re: Card only available to root user

2011-08-04 Thread Luis de Bethencourt
On Fri, Aug 05, 2011 at 01:49:21AM +0200, Luis de Bethencourt wrote: Hi everybody and thanks for the help. I recently upgraded my GnuPG setup with a Smart Card (GnuPG Card v2). I can get/set the information of the card through the root user, but this is not good for everyday use. I think I

Re: Card only available to root user

2011-08-04 Thread Hauke Laging
Am Freitag, 5. August 2011, 01:49:21 schrieb Luis de Bethencourt: I can get/set the information of the card through the root user Notice how I can check the status as root, and do SCD Learn as my user. But= not check the status as my user (or sign my mails, which is the main problem). =

Re: Card only available to root user

2011-08-04 Thread Luis de Bethencourt
On Fri, Aug 05, 2011 at 12:14:47AM +0200, Hauke Laging wrote: Am Freitag, 5. August 2011, 01:49:21 schrieb Luis de Bethencourt: I can get/set the information of the card through the root user Notice how I can check the status as root, and do SCD Learn as my user. But= not check the

Re: Card only available to root user

2011-08-04 Thread Hauke Laging
Am Freitag, 5. August 2011, 03:02:07 schrieb Luis de Bethencourt: device in debian: crw-rw-r--+ 1 root root 189, 516 2011-08-05 00:46 /dev/bus/usb/005/005 device in gentoo: crw-rw-r-- 1 root pcscd 189, 395 Aug 5 02:56 /dev/bus/usb/004/012 my user is part of the pcscd group. I just

Re: Card only available to root user

2011-08-04 Thread Luis de Bethencourt
On Fri, Aug 05, 2011 at 01:07:19AM +0200, Hauke Laging wrote: Am Freitag, 5. August 2011, 03:02:07 schrieb Luis de Bethencourt: device in debian: crw-rw-r--+ 1 root root 189, 516 2011-08-05 00:46 /dev/bus/usb/005/005 device in gentoo: crw-rw-r-- 1 root pcscd 189, 395 Aug 5 02:56