Please test. When I can confirm that it is stable, I'll backport it to 2.2.
Oct 28 2019
Oct 9 2019
Not sure what I did wrong this time, but it's broken again - GPG will again prompt for the PIN on my computer instead of on the Gemalto Ezio Shield reader :(
I'm using GnuPG 2.2.4-1ubuntu1.2 with your patch applied:
Sep 25 2019
For pinpadtest.py, you need to offer an option --add (adding dummy byte), when you are using Cherry ST-2xxx.
It is not supported, by CCID protocol itself. So, it is not supported by scdaemon, and by any of card readers (which I know of), either.
Sep 24 2019
Aug 30 2019
For OpenPGP card v3.x, the data object is available, but it doesn't come with a button physically. So, I think it's no use.
Aug 29 2019
I have OpenPGP Smart Cards V3.3 from FLOSS Shop - these should support UIF, shouldn't they? I assumed so, because the spec includes it as of 3.0.
Jul 26 2019
Pinpad input is not supported for Gemalto Ezio Shield, currently. OpenPGP card expects variable length pinpad input, and we don't have any positive report with the card reader.
Jul 25 2019
Wow, thanks for the quick response! I've applied your patch to the Ubuntu package (2.2.4-1ubuntu1.2), and gpg --card-status now works fine: