Re: Custom Extensions in x509 newline issue

2006-11-07 Thread Dr. Stephen Henson
On Tue, Nov 07, 2006, Andrew E. White wrote: > Okey, Thanks. I just want to make sure one other thing is clear. > > "You should really remove newlines from the env variable if you substitute > it." > > I can still hex encode a newline as hex and be fine so long as the converted > env var does

Re: Custom Extensions in x509 newline issue

2006-11-07 Thread Andrew E. White
Thanks, Andrew - Original Message - From: "Dr. Stephen Henson" <[EMAIL PROTECTED]> Date: Tuesday, November 7, 2006 6:29 am Subject: Re: Custom Extensions in x509 newline issue To: openssl-users@openssl.org > On Mon, Nov 06, 2006, Andrew White wrote: > > > Ah I see.

Re: Custom Extensions in x509 newline issue

2006-11-07 Thread Dr. Stephen Henson
On Mon, Nov 06, 2006, Andrew White wrote: > Ah I see. Long story short I just want to have an OID populated by some > string which contains newlines. In the past I was just DER encoding a > string ie... > > 1.2.3.4=DER:${ENV::CUSTOM_DATA_DER} > > Where CUSTOM_DATA_DER was created via... > > e

Re: Custom Extensions in x509 newline issue

2006-11-06 Thread Andrew White
Dr. Stephen Henson wrote: On Mon, Nov 06, 2006, Andrew White wrote: Maybe I just missed this, but how do you set some OID = some string which could contain newlines? I was just hex encoding a string which worked fine until newlines were added (DER:(hex encoded env var), and then weird stu

Re: Custom Extensions in x509 newline issue

2006-11-06 Thread Dr. Stephen Henson
On Mon, Nov 06, 2006, Andrew White wrote: > Maybe I just missed this, but how do you set some OID = some string > which could contain newlines? > > I was just hex encoding a string which worked fine until newlines were > added (DER:(hex encoded env var), and then weird stuff happened. Do I > n

Re: Custom Extensions in x509 newline issue

2006-11-06 Thread Andrew E. White
Is this the wrong place to ask this question or is more info needed? Thanks Andrew - Original Message - From: Andrew White <[EMAIL PROTECTED]> Date: Monday, November 6, 2006 10:47 am Subject: Custom Extensions in x509 newline issue To: openssl-users@openssl.org > Maybe I ju

Custom Extensions in x509 newline issue

2006-11-06 Thread Andrew White
Maybe I just missed this, but how do you set some OID = some string which could contain newlines? I was just hex encoding a string which worked fine until newlines were added (DER:(hex encoded env var), and then weird stuff happened. Do I need to use ASN.1 string types? If so, how? Thanks, A