The only change that is required to build 0.23.0 is dropping gcc12.patch which is included upstream. If you do not have the time to make this happen, I can do it for you via a NMU.
- Bug#1025802: opensc: Import new upstream version Florian Bezdeka
- Bug#1025802: opensc: Import new upstream version Davide Prina
- Bug#1025802: opensc: Import new upstream version Bastian Germann