How to reproduce:
- Set a reset code / PUK for your Smart card.
- Get the PIN counter to 0 by giving the wrong PIN repeatedly
- Choose "Unblock PIN"
- Enter the wrong reset code (= PUK)
- you are asked 2x for the new PIN, enter the same twice
-> Error "Unblocking the PIN failed: wrong PIN"
Expected:
a) To get error message before being asked for new PIN
b) Error "Unblocking the PIN failed: wrong Reset Code"
In the case the PIN is unblocked with the Admin PIN instead, I'd expect "Unblocking the PIN failed: wrong Admin PIN"
I guess this is caused by gpg, not Kleopatra, as the message part behind the colon comes from gpg.
If a) is something which can be changed, I would make a separate ticket for that.