Smartcard Status Message Inconsistency

Joey Berkovitz joeyberkovitz at gmail.com
Sat Aug 7 00:36:18 CEST 2021


Hi,

I was looking through the Smartcard commands and found that while most
commands related to attribute changes output an SC_OP_SUCCESS, except for
the name change command which doesn't output a success message on the
status-fd.

The relevant code for each of the attribute commands is listed below:
name - no success message (
https://github.com/gpg/gnupg/blob/master/g10/card-util.c#L787)
url - https://github.com/gpg/gnupg/blob/master/g10/card-util.c#L845
login - https://github.com/gpg/gnupg/blob/master/g10/card-util.c#L1003
lang - https://github.com/gpg/gnupg/blob/master/g10/card-util.c#L1140
salutation - https://github.com/gpg/gnupg/blob/master/g10/card-util.c#L1176

Is there any reason why name changes don't output a status message?

Best,
Joey Berkovitz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20210806/12b30a70/attachment.html>


More information about the Gnupg-users mailing list