LudovicRousseau / PCSC

pcsc-lite: PC/SC implementation
https://pcsclite.apdu.fr/
Other
255 stars 107 forks source link

Backward protocol compatibility #199

Open Erick555 opened 1 month ago

Erick555 commented 1 month ago

Recently in 2.3.0 pcsc release there was minor protocol version bump. This was first protocol bump in 6 years.

This creates problem for using pcsc in containers (i.e. flatpak) where there's one client version but multiple server versions. Not updating client means all new servers are broken - updating means all old servers are. How to prevent such hopeless situation? Is it possible to introduce protocol negotiation instead of mismatch failure?

Alternatively is it possible to revert above commit until solution for protocol compat is found?

LudovicRousseau commented 1 month ago

Yes, it is a known issue. See https://salsa.debian.org/rousseau/PCSC/-/issues/22

I do not use flatpack myself. So I have no motivation to implement something.

LudovicRousseau commented 1 month ago

I would love to work on a solution.

You can contact by by email. See https://blog.apdu.fr/articles/about_me/