Re: DER encoding in RFC 3161

"Todd E. Johnson" <[email protected]>
Newsgroups gmane.ietf.x509
Message-ID <[email protected]>
Peter,
 I received the exact same comment on our SCVP (5280) code. [What we should have done]

 
  On Thu, Jul 30, 2020 at 6:16, Peter Gutmann<[email protected]> wrote:   Phillip Hallam-Baker <[email protected]> writes:

>It is sufficiently possible that there are ASN.1 parsers there that insist on
>strict DER with definite length encoding throughout

Highly unlikely, since too many things would break if you did this, the last
parser I know of that did this was in the mid-1990s.  The rule has always been
"take whatever blob the other side sends you and use that", thus my long ago
comment that "there is only one encoding rule and that is memcpy()".  So in
practice you don't need to worry about it.  I mean, in theory you should, but
in practice you don't.

Peter.

_______________________________________________
pkix mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/pkix

_______________________________________________
pkix mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/pkix
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.