If I take a smart card where no PUK (PW2) is set and execute the following, the info returned is correct:
gpg --card-edit unblock gpg: OpenPGP Karte Nr. D276000124010304000500009D400000 erkannt gpg: Der Rückstellcode ist nicht vorhanden
But if I click "Unblock Card" in Kleopatra, I get "wrong PIN":
Kleopatra is not at fault, Ingo said:
The part after the colon is the error code GPG_ERR_BAD_PIN supplied by the backend converted to text.
GPG_ERR_BAD_PUK does not exist in gpg-error.