Change OpenPGP Smartcard PIN retry counter

rodolfosilva2 at tutanota.com rodolfosilva2 at tutanota.com
Sun Nov 23 01:46:05 CET 2025


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 wk at gnupg.org:

> 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
>




More information about the Gnupg-users mailing list