gpg does not recognise Omnikey 4040 Smartcard-reader

Bug #107337 reported by Robert M. Albrecht
8
Affects Status Importance Assigned to Milestone
gnupg (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: casper

gpg does not recognise Omnikey 4040 Smartcard-reader

GPGs homepage lists the 4040 as supported. Ubuntus GPG does not support this device:

Inserting the smartcard-reader:

[ 1501.256000] pcmcia: registering new device pcmcia0.0
[ 1501.504000] OMNIKEY CardMan 4040 v1.1.0gm5 - All bugs added by Harald Welte
[ 1501.504000] cm4040_cs 0.0: foo

Lauching gpg:

romal@helios:~$ gpg --card-edit
gpg: pcsc_connect failed: unknown reader (0x80100009)
gpg: card reader not available
gpg: OpenPGP Karte ist nicht vorhanden: Allgemeiner Fehler

Befehl>

Revision history for this message
Peter Magnusson (kmpm) wrote :

I had the same problems in edgy but it could be resolved by ejecting and inserting the card again.

But now after a clean install of feisty I can't get it to work.

Revision history for this message
Peter Magnusson (kmpm) wrote :

I got it to work with the following fixes that I got inspiration from on the site https://www.fsfe.org/en/fellows/tyrael/fsfe_card_complete_gnupg_ssh_login_how_to

I added the line
SUBSYSTEM=="cardman_4040", GROUP="scard", MODE="0660"
to /etc/udev/rules.d/50-pcscd_ccid.rules

Then I added a group called scard and then added myself to that group.
sudo addgroup scard
sudo addgroup YourUserName scard

It didn't work until I rebooted the computer.

Revision history for this message
Michael Bienia (geser) wrote :

That's related to bug #57755.

Revision history for this message
Peter Lewis (prlewis) wrote :

I can confirm this bug, so changing its status.

Changed in gnupg:
status: New → Confirmed
Revision history for this message
Peter Lewis (prlewis) wrote :

I can also confirm that Peter Magnusson's fix works for me.

Revision history for this message
Michael Bienia (geser) wrote :

Unduplicate again. Although this bug is connected to bug #57755, it's not fixed yet as the fix for bug 57755 fixes it only for some SCM smart card readers but not the Omnikey 4040.
What needs to be checked is if a similar fix works for the Omnikey 4040 too.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.