Am Mittwoch, 29. November 2023, 20:39:33 CET schrieb Werner Koch:
> Hi!

Hello,

> your patches look good.

thanks for reviewing the patches so quickly.

> > @@ -3500,7 +3507,7 @@ read_ef_tokeninfo (app_t app)
> > 
> >        ul |= (*p++) & 0xff;
> >        n--;
> >      
> >      }
> > 
> > -  if (ul)
> > +  if (ul > 1)
> > 
> >      {
> >      
> >        log_error ("p15: invalid version %lu in TokenInfo\n", ul);
> 
> Do you have any reference/spec for that version 1 TokenInfo?

It's specified as a fixed value in the docs provided by the vendor. In my 
understanding a value of 1 means the data is compliant to ISO/IEC 7816-15:2016 
which replaces PKCS#15. A value of 0 means the data is compliant to PKCS#15 
(or at least older editions of ISO/IEC 7816-15). But the content is 
effectively the same.

Kind regards
-- 
Mario Haustein
Facharbeitsgruppe Anwendungen
Universitätsrechenzentrum

Technische Universität Chemnitz
Straße der Nationen 62 | R. 1/B303 (neu: A11.303)
09111 Chemnitz
Germany

Tel:    +49 371 531-36606
Fax:    +49 371 531-836606

[email protected]
www.tu-chemnitz.de

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Gnupg-devel mailing list
[email protected]
https://lists.gnupg.org/mailman/listinfo/gnupg-devel

Reply via email to