While testing the fix for T6378 I noticed that keytocard does not give an error message when giving the wrong PIN.
The error message "wrong PIN" is only given in the debug output.
This should at least be displayed on the command line, too. Better would be a new PIN entry window popping up and complaining.