Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] Building pcsclite with polkit enabled causes problems for existing setups.
@ 2023-11-27  8:23 dataCobra
  2023-11-27  8:25 ` dataCobra
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: dataCobra @ 2023-11-27  8:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1167 bytes --]

New issue by dataCobra on void-packages repository

https://github.com/void-linux/void-packages/issues/47426

Description:
### Is this a new report?

Yes

### System Info

Void 6.5.12_1 x86_64 AuthenticAMD uptodate FFFFFF

### Package(s) Affected

pcsclite-2.0.1_1

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

https://bbs.archlinux.org/viewtopic.php?id=286779
https://github.com/drduh/YubiKey-Guide/issues/376

### Expected behaviour

The package works like before the update to 2.0.1 without manual adjustment/configuration.

### Actual behaviour

Non-root users are no longer able to use the functionality of pcsclite when not installing elogind because the polkit policy which is packaged with pcsclite does only work when polkit recognizes a session as active which is only possible with elogind.

There is a workaround when manual creating a separate rules file for polkit if someone doesn't want to install elogind.

### Steps to reproduce

1. Update to pcsclite 2.0.1. (Make sure elogind or seatd is not installed)
2. Try to execute pcsc_scan or scdaemon via gnupg.
3. Get informed about denied access.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Building pcsclite with polkit enabled causes problems for existing setups.
  2023-11-27  8:23 [ISSUE] Building pcsclite with polkit enabled causes problems for existing setups dataCobra
@ 2023-11-27  8:25 ` dataCobra
  2023-11-27 22:20 ` 0x5c
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: dataCobra @ 2023-11-27  8:25 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 310 bytes --]

New comment by dataCobra on void-packages repository

https://github.com/void-linux/void-packages/issues/47426#issuecomment-1827350903

Comment:
There are two possible solutions to the problem:

1. Package our own polkit rules and inform the users via INSTALL.
2. Disable polkit while building the package.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Building pcsclite with polkit enabled causes problems for existing setups.
  2023-11-27  8:23 [ISSUE] Building pcsclite with polkit enabled causes problems for existing setups dataCobra
  2023-11-27  8:25 ` dataCobra
@ 2023-11-27 22:20 ` 0x5c
  2023-11-27 23:32 ` dataCobra
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: 0x5c @ 2023-11-27 22:20 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 384 bytes --]

New comment by 0x5c on void-packages repository

https://github.com/void-linux/void-packages/issues/47426#issuecomment-1828718544

Comment:
Are you in the `plugdev` group? The udev rules shipped by scdaemon should give the device node that group already.
Also keep in mind that scdaemon and pcsclite will fight for the device if scdaemon is not specially configured to use pcsclite.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Building pcsclite with polkit enabled causes problems for existing setups.
  2023-11-27  8:23 [ISSUE] Building pcsclite with polkit enabled causes problems for existing setups dataCobra
  2023-11-27  8:25 ` dataCobra
  2023-11-27 22:20 ` 0x5c
@ 2023-11-27 23:32 ` dataCobra
  2023-11-29  6:28 ` dataCobra
  2023-11-29 15:20 ` [ISSUE] [CLOSED] " abenson
  4 siblings, 0 replies; 6+ messages in thread
From: dataCobra @ 2023-11-27 23:32 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 269 bytes --]

New comment by dataCobra on void-packages repository

https://github.com/void-linux/void-packages/issues/47426#issuecomment-1828802994

Comment:
My user is in the plugdev group and I have configured scdaemon to work with pcsclite.

Everything worked before the update.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Building pcsclite with polkit enabled causes problems for existing setups.
  2023-11-27  8:23 [ISSUE] Building pcsclite with polkit enabled causes problems for existing setups dataCobra
                   ` (2 preceding siblings ...)
  2023-11-27 23:32 ` dataCobra
@ 2023-11-29  6:28 ` dataCobra
  2023-11-29 15:20 ` [ISSUE] [CLOSED] " abenson
  4 siblings, 0 replies; 6+ messages in thread
From: dataCobra @ 2023-11-29  6:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 240 bytes --]

New comment by dataCobra on void-packages repository

https://github.com/void-linux/void-packages/issues/47426#issuecomment-1831295183

Comment:
I think the right person to ask here is @abenson because he is the maintainer for the package.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ISSUE] [CLOSED] Building pcsclite with polkit enabled causes problems for existing setups.
  2023-11-27  8:23 [ISSUE] Building pcsclite with polkit enabled causes problems for existing setups dataCobra
                   ` (3 preceding siblings ...)
  2023-11-29  6:28 ` dataCobra
@ 2023-11-29 15:20 ` abenson
  4 siblings, 0 replies; 6+ messages in thread
From: abenson @ 2023-11-29 15:20 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1198 bytes --]

Closed issue by dataCobra on void-packages repository

https://github.com/void-linux/void-packages/issues/47426

Description:
### Is this a new report?

Yes

### System Info

Void 6.5.12_1 x86_64 AuthenticAMD uptodate FFFFFF

### Package(s) Affected

pcsclite-2.0.1_1

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

https://bbs.archlinux.org/viewtopic.php?id=286779

https://github.com/drduh/YubiKey-Guide/issues/376

### Expected behaviour

The package works like before the update to 2.0.1 without manual adjustment/configuration.

### Actual behaviour

Non-root users are no longer able to use the functionality of pcsclite when not installing elogind because the polkit policy which is packaged with pcsclite does only work when polkit recognizes a session as active which is only possible with elogind.

There is a workaround when manual creating a separate rules file for polkit if someone doesn't want to install elogind.

### Steps to reproduce

1. Update to pcsclite 2.0.1. (Make sure elogind or seatd is not installed)
2. Try to execute pcsc_scan or scdaemon via gnupg.
3. Get informed about denied access.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-11-29 15:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-27  8:23 [ISSUE] Building pcsclite with polkit enabled causes problems for existing setups dataCobra
2023-11-27  8:25 ` dataCobra
2023-11-27 22:20 ` 0x5c
2023-11-27 23:32 ` dataCobra
2023-11-29  6:28 ` dataCobra
2023-11-29 15:20 ` [ISSUE] [CLOSED] " abenson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).