| Summary: | Smartcard support in gpg does not work | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Dan Fandrich <dan> |
| Component: | RPM Packages | Assignee: | Mageia Bug Squad <bugsquad> |
| Status: | RESOLVED INVALID | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | Keywords: | IN_ERRATA9 |
| Version: | 9 | ||
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | gnupg2-2.3.8-1.mga9.src.rpm | CVE: | |
| Status comment: | |||
|
Description
Dan Fandrich
2024-04-08 20:50:38 CEST
I opened a thread on gnupg-users on this issue and made some interesting discoveries. It turns out that gnupg >=2.3.x no longer uses pcscd for its card interactions, but goes to USB directly. If pcscd is running, then that grabs the device and gpg (via scdaemon) doesn't have access and returns an error. Disabling pcscd (pcscd.service and pcscd.socket) would solve the problem, but since pcscd is needed for yubioath-desktop, rather than disable it I added the line "disable-ccid" to ~/.gnupg/scdaemon.conf. That fixes the problem while still allowing pcscd to work. Resolution:
(none) =>
INVALID (In reply to Dan Fandrich from comment #1) > I opened a thread on gnupg-users on this issue and made some interesting > discoveries. It turns out that gnupg >=2.3.x no longer uses pcscd for its > card interactions, but goes to USB directly. If pcscd is running, then that > grabs the device and gpg (via scdaemon) doesn't have access and returns an > error. > > Disabling pcscd (pcscd.service and pcscd.socket) would solve the problem, > but since pcscd is needed for yubioath-desktop, rather than disable it I > added the line "disable-ccid" to ~/.gnupg/scdaemon.conf. That fixes the > problem while still allowing pcscd to work. Can you please add this in the Erratas? Keywords:
(none) =>
FOR_ERRATA9 (In reply to Dan Fandrich from comment #3) > Added to https://wiki.mageia.org/en/Mageia_9_Errata Thank you Keywords:
FOR_ERRATA9 =>
IN_ERRATA9 |