Mailing List Archive

Smartcard Status Message Inconsistency
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
Re: Smartcard Status Message Inconsistency [ In reply to ]
Hi!

On Fri, 6 Aug 2021 18:36, Joey Berkovitz said:
> 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.

Probably an overview or lazyness in 2009. I just added this to master.
Thanks for reporting.


Shalom-Salam,

Werner

--
Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.