Re: Change OpenPGP Smartcard PIN retry counter

Rodolfo Silva via Gnupg-users <[email protected]>
Newsgroups gmane.comp.encryption.gpg.user
Message-ID <[email protected]>
According to OpenPGP Card Spec 3.4.1 https://www.gnupg.org/ftp/specs/OpenPGP-smart-card-application-3.4.1.pdf


We cannot set retry counters( C4 DO ) via PUT DATA (page 28 of the spec)
I tried to construct a 07 byte DO via put data 

gpg-connect-agent --hex "scd apdu 00 DA 00 C4 07 00404040100303" /bye

but i receive a status code of 6700 (wrong length), which aligns with the spec.Can someone please check how i can update the retry counter?
-- 
 Secured with Tuta Mail: 
 https://tuta.com/free-email


Nov 22, 2025, 10:46 by [email protected]:

> On Sat, 22 Nov 2025 03:12, Rodolfo Silva said:
>
>> Where can i file a feature Request/ Bug Report for implementing change
>> functionality into gpg ?
>>
>
> I did it for you:
>
> https://dev.gnupg.org/T7947
>
> If you need an account there, let me know.  Note that the tracker is
> often under siege by AI scrapers.
>
>
> Shalom-Salam,
>
>  Werner
>
> -- 
> The pioneers of a warless world are the youth that
> refuse military service.             - A. Einstein
>


_______________________________________________
Gnupg-users mailing list
[email protected]
https://lists.gnupg.org/mailman/listinfo/gnupg-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.