The bug described here looks like the one I'm experiencing. I have
multiple yubikeys which I use for SSH and GPG (occasionally U2F but that
doesn't appear to be affected by this). If I just enable the pcscd
service, the daemon doesn't auto-start after a reboot. Running ssh or
gpg commands fails to access the key. I also need to enable the socket.
Then the daemon auto-starts and I can use ssh/gpg:

$ systemctl enable pcscd
# after a reboot, pcscd is stopped, ssh/gpg unable to access the key. Need to 
start pcscd manually.

$ systemctl enable pcscd.socket
# now after reboot both the socket and the service are running and ssh/gpg works

It wasn't like this with 20.04, there enabling pcscd.service was enough.

Hope this helps others with the issue, and/or the maintainers to address
it.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1971984

Title:
  pcscd 1.9.5-3 do not start automatically, only manual

Status in pcsc-lite package in Ubuntu:
  Confirmed

Bug description:
  Ubuntu Mate 22.04 with the latest updates.
  Problem is present with internal smart-card reader and also external usb 
smart-card reader.

  eid-viewer sees no card reader,but When i do:

  sudo pcscd -f

  it is working, also following the tips of Ludovic:
  
https://ludovicrousseau.blogspot.com/2011/11/pcscd-auto-start-using-systemd.html

  sudo systemctl stop pcscd.socket
  sudo systemctl start pcscd.socket

  It is working until next restart.

  libacsccid1  version: 1.1.8-1
  libccid version: 1.5.0-2
  pcscd version: 1.9.5-3
  eid-archive version: 2022.3
  eid-mw version: 5.0.28v5.0.28-0u2204-1
  eid-viewer version: 5.0.28v5.0.28-0u2204-1

  In Firefox, my eid card is then also recognized, but only in the ESR
  version, but this is a know Mozilla bug.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1971984/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to