Re: smart card + gpg only root

2006-05-17 Thread Dany
Many many thanks. It worked. I'll try to get the how-to found on fsfe.org fixe. Dany Michael Bienia wrote: > On 2006-05-17 07:52:47 +0200, Dany wrote: > >> Hello, >> > Hello, > > >> I'm trying to get regular users to use smart card readers under Ubuntu >> (dapper). As far as I kno

Re: smart card + gpg only root

2006-05-17 Thread Michael Bienia
On 2006-05-17 07:52:47 +0200, Dany wrote: > Hello, Hello, > I'm trying to get regular users to use smart card readers under Ubuntu > (dapper). As far as I know Ubuntu uses udev rather than hotplug so I > followed the instructions found at : > http://www.fsfe.org/en/card/howto/card_reader_howto_ud

Re: smart card + gpg only root

2006-05-17 Thread Dany
Hello, I'm trying to get regular users to use smart card readers under Ubuntu (dapper). As far as I know Ubuntu uses udev rather than hotplug so I followed the instructions found at : http://www.fsfe.org/en/card/howto/card_reader_howto_udev It works if I do sudo gpg --card-status. Unfortunately,

Re: smart card + gpg only root

2005-07-20 Thread Federico Munerotto
Il mer, 2005-07-20 alle 21:31, Federico Munerotto ha scritto: > Il mer, 2005-07-20 alle 17:49, Federico Munerotto ha scritto: > > Il mer, 2005-07-20 alle 16:55, Werner Koch ha scritto: > [...] > > > Does this help? > > > > Yep > > > > Finally it worked, many thanks! > > > > I copied your gnupg-c

Re: smart card + gpg only root

2005-07-20 Thread Federico Munerotto
Il mer, 2005-07-20 alle 16:55, Werner Koch ha scritto: > On Wed, 20 Jul 2005 16:27:04 +0200, Federico Munerotto said: > > > if the device is unplugged and then plugged again, belongs again to the > > root group and isn't writable again (change its location). I need to set > > up hotplug to > > 1.

Re: smart card + gpg only root

2005-07-20 Thread Werner Koch
On Wed, 20 Jul 2005 16:27:04 +0200, Federico Munerotto said: > if the device is unplugged and then plugged again, belongs again to the > root group and isn't writable again (change its location). I need to set > up hotplug to > 1. chgrp to the proper group > 2. chmod +rw scard > the file that is

Re: smart card + gpg only root

2005-07-20 Thread Federico Munerotto
Il mer, 2005-07-20 alle 15:03, Werner Koch ha scritto: [...] > $ ls -l /proc/bus/usb/001/014 > -rw-rw-r--1 root scard18 Jul 20 11:13 /proc/bus/usb/001/014 [...] Ok. Works BUT if the device is unplugged and then plugged again, belongs again to the root group and isn't writable again (c

Re: smart card + gpg only root

2005-07-20 Thread Werner Koch
On Wed, 20 Jul 2005 13:13:00 +0200, Federico Munerotto said: > gpg: DBG: ccid-driver: usb_claim_interface failed: -1 The USB device can't be accessed. This is a permission problem with the usbfs. > (ID=058F:9520:X:0) Use lsusb to figure out the device like: $ lsusb Bus 002 Device 001: ID

Re: smart card + gpg only root

2005-07-20 Thread Federico Munerotto
Il mer, 2005-07-20 alle 10:59, Werner Koch ha scritto: [...] > gpg --debug-ccid-driver as mune user [EMAIL PROTECTED] mune]$ /usr/local/bin/gpg --debug-ccid-driver --card-status gpg: ATTENZIONE: si sta usando memoria insicura! gpg: visitare http://www.gnupg.org/faq.html p

Re: smart card + gpg only root

2005-07-20 Thread Werner Koch
On Tue, 19 Jul 2005 13:05:16 +0200, Federico Munerotto said: > My user is the group scard but as long as only the root user can have > access to the smart card it remains useless. I think it is a trivial > permission issue: any help? With the Debian packages of pcscd anyone may connect to a runni

smart card + gpg only root

2005-07-19 Thread Federico Munerotto
I received the fsfe felloship card and I'm trying to use it. I Installed gnupg-1.4.1, ccid-0.9.3 and pcsc-lite-1.2.9-beta7. For all them I did (as root) 'make install'. As root I launch # /usr/local/sbin/pcscd # ./gpg --card-status works but still as *root*. My user is the group scard but

smart card + gpg only root

2005-07-19 Thread Federico Munerotto
I received the fsfe felloship card and I'm trying to use it. I Installed gnupg-1.4.1, ccid-0.9.3 and pcsc-lite-1.2.9-beta7. For all them I did (as root) 'make install'. As root I launch # /usr/local/sbin/pcscd # ./gpg --card-status works but still as *root*. My user is the group scard but