Message-ID: <4E16AC8B.8020101@...1432...> Date: Fri, 08 Jul 2011 09:06:51 +0200 From: =?ISO-8859-1?Q?Markus_K=F6tter?= MIME-Version: 1.0 References: <4E12BE97.3000308@...1432...> <4E130E87.4070202@...1114...> <4E14939F.9020708@...1432...> <4E16A695.6050008@...1432...> <1CED409804E2164C8104F9E623B08B90126A219DE6@...1436...> In-Reply-To: <1CED409804E2164C8104F9E623B08B90126A219DE6@...1436...> Subject: Re: [Openvpn-devel] Bug: extended x509-username-field broken in git List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable To: "openvpn-devel@lists.sourceforge.net" On 07/08/2011 08:56 AM, Adriaan de Jong wrote: >> -----Original Message----- >> From: Markus K=F6tter [mailto:koetter@...1432...] >> Remaining question is why does openvpn even try to retrieve values from >> upper cert layers - they'll be overwritten anyway. > > The information is provided to scripts and plugins in environment variabl= es, so that additional verification can be performed there. Maybe we got a misunderstanding: Question is what would be wrong with: if( !cert_depth && verify_get_username(..) ) err(); Markus