i2d_X509_REQ() -> d2i_X509_REQ() = asn1 encoding routines:c2i_ASN1_OBJECT:invalid object encoding:a_object.c:287

Michael Wojcik Michael.Wojcik at microfocus.com
Fri Mar 22 16:18:20 UTC 2019

> From: openssl-users [mailto:openssl-users-bounces at openssl.org] On Behalf Of
> Viktor Dukhovni
> Sent: Thursday, March 21, 2019 14:07
> To: openssl-users at openssl.org
> > On Mar 21, 2019, at 1:57 PM, Viktor Dukhovni <openssl-users at dukhovni.org>
> wrote:
> >
> >    2.  Emit a "harmless" default OID (such as 0.0), returning to
> >     the behaviour prior to 1.0.1i

What about registering a new OID for "missing required object"? Then at least there'd be a standard way to represent this case, and other parsers could decide to accommodate it however they prefer.

I'm by no means an ASN.1 expert, so this may be a dumb idea.

Michael Wojcik
Distinguished Engineer, Micro Focus

More information about the openssl-users mailing list