FS#51912 - [pcsclite] Enable 'filter' support

Attached to Project: Community Packages
Opened by Vincent Brillault (Feandil) - Monday, 21 November 2016, 13:09 GMT
Last edited by Christian Hesse (eworm) - Monday, 19 June 2017, 13:49 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Christian Hesse (eworm)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

pcsclite has a built-in 'filter' feature that allows to filter
if a reader get ignored/extended via two environment variables

This feature is enabled if '--enable-filter' is added during the
configuration, which is unfortunately not the case on Archlinux

This is useful e.G. if one has two crypto card, one used as a PIV
card for Firefox and a Nitrokey for GPG. If the Nitrokey is not
filtered out, Firefox will lock it in PIV mode and make gnupg
unable to access it.

Additional info:
* Package Version: pcsclite-1.8.18-1

Steps to reproduce:
('Nitrokey' can be replaced by any other model/vendor)
- Install pcsclite
- Add to /etc/systemd/system/pcscd.service.d/override.conf:
```
[Service]
Environment=PCSCLITE_FILTER_IGNORE_READER_NAMES=Nitrokey
```
- Start the pcscd service (after a systemctl daemon-reload)
- Connect a Nitrokey
- Run pcsc_scan: The Nitrokey is detected, while it should not
have been
This task depends upon

Closed by  Christian Hesse (eworm)
Monday, 19 June 2017, 13:49 GMT
Reason for closing:  Implemented
Additional comments about closing:  pcsclite 1.8.22-1

Loading...