flathub / de.bund.ausweisapp.ausweisapp2

https://flathub.org/apps/details/de.bund.ausweisapp.ausweisapp2
8 stars 6 forks source link

SCL011 reader stopped working in 2.2.1 #56

Open fungs opened 1 month ago

fungs commented 1 month ago

Upgrading from 2.2.0 to 2.2.1, it stopped detecting my reader SCM Microsystems SCL011.

This may be an upstream bug, but https://github.com/Governikus/AusweisApp/ does not have an issue tracker and there is no official Linux non-flatpak build to validate against.

It may also be related to the upgrade of pcsc-lite from 2.1.0 to 2.3.0: https://github.com/flathub/de.bund.ausweisapp.ausweisapp2/commit/9a1a37c73cc52678d2afcf2fcfdce1bd6f7f83c0

Note: The reader was officially distributed as a starter pack when the electronic ID was introduced. But in version 2.2.0 there appears a notice that it is not officially supported (wtf) and that it might not work properly. However, it works like a charm until 2.2.0

misery commented 1 month ago

Do you have this problem? This cannot be fixed by flatpak or AusweisApp. https://github.com/LudovicRousseau/PCSC/issues/199

fungs commented 1 month ago

@misery that's probably it.

I assume that, by upgrading the system PCSC server version, the issue can be fixed then: https://ludovicrousseau.blogspot.com/2022/02/accessing-smart-cards-from-inside.html

While the Flatpak version cannot fix the issue itself, it could just stick to the older version of the pscs-lite and upgrade later. Given that the new version 2.3.0 was released about two months ago, we can expect that it is not contained in any major stable Linux distribution, yet. So many users will run into that issue.

Seems like https://github.com/flathub/de.bund.ausweisapp.ausweisapp2/issues/53 is the reverse case.

According to the authors, PCSC is not made for use in Flatpak (otherwise I would consider this behavior a clear bug).

Anyway, one solution is to downgrade the flatpak and mask it to prevent updates.

Erick555 commented 2 weeks ago

Something that flatpak can do is having one pcsc version in main flathub and other in flathub-beta repo then instruct users which version the should install. See example