Re: [SOLVED] SCR3310 reader working for root, but not scard group

2011-02-27 Thread Martin Gollowitzer
* Todd A. Jacobs [110227 04:02]: > Here are the steps I needed to take under Ubuntu 10.10 to get this > particular reader working properly as a mortal user. You could also have run the script [1] linked from the only up-to-date OpenPGP smartcard howto [2] I'm aware of. [1] http://download.fsfe.o

Re: SCR3310 reader working for root, but not scard group

2011-02-26 Thread David Tomaschik
On 02/26/2011 10:29 PM, Grant Olson wrote: > On 02/26/2011 08:52 PM, David Tomaschik wrote: >> I have a 3310 and with pcscd, I haven't even found the need to use the >> scard group. I have found that occasionally I have to restart >> scdaemon in order to get new readers/cards recognized. I haven'

Re: SCR3310 reader working for root, but not scard group

2011-02-26 Thread Grant Olson
On 02/26/2011 08:52 PM, David Tomaschik wrote: > > I have a 3310 and with pcscd, I haven't even found the need to use the > scard group. I have found that occasionally I have to restart > scdaemon in order to get new readers/cards recognized. I haven't > narrowed it down specifically yet. (I ju

Re: SCR3310 reader working for root, but not scard group

2011-02-26 Thread Todd A. Jacobs
On Sat, Feb 26, 2011 at 5:53 PM, Hauke Laging > dev_device="${DEVICE//proc/dev}" > chgrp "${GROUP}" "${dev_device}" > chmod g+rw "${dev_device}" Thanks for the suggestion. However, $DEVICE isn't populated at all, although the udev rule appears to be triggering. My script now contains: #!/bin/bash

[SOLVED] SCR3310 reader working for root, but not scard group

2011-02-26 Thread Todd A. Jacobs
Here are the steps I needed to take under Ubuntu 10.10 to get this particular reader working properly as a mortal user. 1. sudo aptitude install --with-recommends libccid 2. sudo addgroup --system pcscd 3. sudo addgroup pcscd 4. cat << EOF | sudo tee /etc/udev/rules.d/gnupg-ccid.rules SUBSYST

Re: SCR3310 reader working for root, but not scard group

2011-02-26 Thread David Tomaschik
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have a 3310 and with pcscd, I haven't even found the need to use the scard group. I have found that occasionally I have to restart scdaemon in order to get new readers/cards recognized. I haven't narrowed it down specifically yet. (I just got my

Re: SCR3310 reader working for root, but not scard group

2011-02-26 Thread Todd A. Jacobs
The following line in gnupg-ccid.rules will now create the /dev node with the correct permissions, but the card reader itself still remains inaccessible to non-root users: ACTION=="add", SUBSYSTEM=="usb", ENV{PRODUCT}=="4e6/511f/*", GROUP="scard" This seems like a simpler way to assign the GID, r

Re: SCR3310 reader working for root, but not scard group

2011-02-26 Thread Grant Olson
On 02/26/2011 07:45 PM, Todd A. Jacobs wrote: > I have an SCR3310 card reader on an Ubuntu 10.10 system, and installed > the drivers through the libccid package. This works out of the box for > root, but mortal users can't access the card at all. I tried a lightly > modified version of the scripts

SCR3310 reader working for root, but not scard group

2011-02-26 Thread Todd A. Jacobs
I have an SCR3310 card reader on an Ubuntu 10.10 system, and installed the drivers through the libccid package. This works out of the box for root, but mortal users can't access the card at all. I tried a lightly modified version of the scripts from http://www.gnupg.org/howtos/card-howto/en/smartca

Re: SCR3310 reader working for root, but not scard group

2011-02-26 Thread Hauke Laging
Am Sonntag 27 Februar 2011 01:45:26 schrieb Todd A. Jacobs: > $ cat /usr/local/sbin/gnupg-ccid.sh > if [ "${ACTION}" = "add" ] && [ -f "${DEVICE}" ] > then > chmod o-rwx "${DEVICE}" > chgrp "${GROUP}" "${DEVICE}" > chmod g+rw "${DEVICE}" > fi I had the same problem. My problem was th

SCR3310 reader working for root, but not scard group

2011-02-26 Thread Todd A. Jacobs
I have an SCR3310 card reader on an Ubuntu 10.10 system, and installed the drivers through the libccid package. This works out of the box for root, but mortal users can't access the card at all. I tried a lightly modified version of the scripts from http://www.gnupg.org/howtos/card-howto/en/smartca