Re: [Openvpn-devel] Questionable restriction in --x509-username-field

2014-05-08 Thread Kalnozols, Andris
On 5/7/2014 10:06 PM, Jan Just Keijser wrote: > Hi Andris, > > On 08/05/14 03:32, Andris Kalnozols wrote: >> The X.509 user certificates in our organization have Subject fields >> that appear as in the following example: >> >>Subject: O=Hewlett-Packard Company, OU=WEB, >>CN=GivenName

Re: [Openvpn-devel] Questionable restriction in --x509-username-field

2014-05-09 Thread Kalnozols, Andris
On 5/8/2014 4:17 AM, Jan Just Keijser wrote: > Hi Andris, > > I would consider this a bug, as you are indeed not able to specify > something like 'emailAddress' as a x509-username parameter. > Personally I would like to remove the 'toupper' line altogether, but > from a usability point of view

Re: [Openvpn-devel] [PATCH] Do not upcase x509-username-field for mixed-case arguments.

2014-07-08 Thread Kalnozols, Andris
Thanks, Steffan, for the comments and code cleanup. Your method is definitely safer and has less clutter. I tested your version and it works as intended. Regarding the "ext:" argument prefix, I had submitted an enhanced version of extract_x509_extension() mainly for more helpful log messages.