MIME-Version: 1.0 Sender: adriaan@...1475... In-Reply-To: <4E14939F.9020708@...1432...> References: <4E12BE97.3000308@...1432...> <4E130E87.4070202@...1114...> <4E14939F.9020708@...1432...> Date: Thu, 7 Jul 2011 21:06:57 +0200 Message-ID: From: Adriaan de Jong Content-Type: multipart/alternative; boundary=000e0cd6ab38c69b4804a77f6b0f Subject: Re: [Openvpn-devel] Bug: extended x509-username-field broken in git List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Koetter Cc: openvpn-devel@lists.sourceforge.net --000e0cd6ab38c69b4804a77f6b0f Content-Type: text/plain; charset=ISO-8859-1 On Wed, Jul 6, 2011 at 6:55 PM, Markus Koetter < koetter@...1432...> wrote: > On 07/05/2011 03:15 PM, David Sommerseth wrote: > >> Can you please use git bisect to locate the offending commit? >> > > I figured out this never really worked with openvpn git at all. > During discussing the patch, the check for the error_depth disappeared. > So, if the root certificate lacked the extension, it would fail. > > Therefore, attached a patch which accepts this kind of error if the > error_depth is != 0 - the lowest level of the cert is not reached yet. > This duplicates the behavior which is used for the fields. > > I was wondering why the script tries to extract values from certificates > for any level but 0 anyway? > Hi Markus, A fix is included in my SSL separation patch set, in this patch to be exact: https://github.com/andj/openvpn-ssl-refactoring/commit/71e27b1e282bf8e10724b69fe4cbeac65dee325b . Does that solve the problem? Adriaan --000e0cd6ab38c69b4804a77f6b0f Content-Type: text/html; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable
On Wed, Jul 6, 2011 at 6:55 PM, Markus Koetter <= span dir=3D"ltr"><koetter@...1476...= ..> wrote:
On 07/05/2011 03:15 PM, David Sommerseth wrote:
Can you please use git bisect to locate the offending commit?

I figured out this never really worked with openvpn git at all.
During discussing the patch, the check for the error_depth disappeared.
So, if the root certificate lacked the extension, it would fail.

Therefore, attached a patch which accepts this kind of error if the error_d= epth is !=3D 0 - the lowest level of the cert is not reached yet.
This duplicates the behavior which is used for the fields.

I was wondering why the script tries to extract values from certificates fo= r any level but 0 anyway?


Hi Markus,

A fix is included in my SSL separation patch set, in this pa= tch to be exact:=A0https://github.com/andj/open= vpn-ssl-refactoring/commit/71e27b1e282bf8e10724b69fe4cbeac65dee325b=A0.= =A0

Does that solve the = problem?

Adriaan=A0
--000e0cd6ab38c69b4804a77f6b0f--