[Openvpn-devel] [PATCH] UTF-8 X.509 distinguished names

2012-02-04 Thread Heiko Hund
The UTF-8 support that came with commit 2627335 does allow international usernames and passwords. This patch introduces UTF-8 support for X.509 DNs. Additionally, instead of using the legacy openssl format, DNs are now displayed in RFC 2253 format; "/C=ru/L=\xD0\x9C\xD0\xBE\xD1\x81\xD0\xBA\xD0

Re: [Openvpn-devel] [PATCH] UTF-8 X.509 distinguished names

2011-11-24 Thread Alon Bar-Lev
On Thu, Nov 24, 2011 at 1:42 PM, Heiko Hund wrote: > On Wednesday 23 November 2011 17:48:54 Alon Bar-Lev wrote: >> Yes, there are many none unicode environments, and I am not sure what >> this patch will behave in windows environment as it is SCS-2 not >> UTF-8. It is

Re: [Openvpn-devel] [PATCH] UTF-8 X.509 distinguished names

2011-11-24 Thread Heiko Hund
On Wednesday 23 November 2011 17:48:54 Alon Bar-Lev wrote: > Yes, there are many none unicode environments, and I am not sure what > this patch will behave in windows environment as it is SCS-2 not > UTF-8. I agree on the UCS-16 environment in Windows. Will post a patch for that soon, as I'm

Re: [Openvpn-devel] [PATCH] UTF-8 X.509 distinguished names

2011-11-23 Thread Alon Bar-Lev
On Wed, Nov 23, 2011 at 5:14 PM, Heiko Hund wrote: > On Wednesday 23 November 2011 14:53:06 Alon Bar-Lev wrote: >> As this is inserted into environment, what happens if locale is not >> unicode enabled? > > Then the script will receive funny looking strings depending on

Re: [Openvpn-devel] [PATCH] UTF-8 X.509 distinguished names

2011-11-23 Thread Heiko Hund
On Wednesday 23 November 2011 14:53:06 Alon Bar-Lev wrote: > As this is inserted into environment, what happens if locale is not > unicode enabled? Then the script will receive funny looking strings depending on your locale's code page. However, this is nothing that's being introduced with this

Re: [Openvpn-devel] [PATCH] UTF-8 X.509 distinguished names

2011-11-23 Thread Alon Bar-Lev
As this is inserted into environment, what happens if locale is not unicode enabled? I think this may break some configurations. On Wed, Nov 23, 2011 at 4:14 PM, Heiko Hund wrote: > The UTF-8 support that came with commit 2627335 does allow international > usernames and

[Openvpn-devel] [PATCH] UTF-8 X.509 distinguished names

2011-11-23 Thread Heiko Hund
The UTF-8 support that came with commit 2627335 does allow international usernames and passwords. This patch introduces UTF-8 support for X.509 DNs. Additionally, instead of using the legacy openssl format, DNs are now displayed in RFC 2253 format; "/C=ru/L=\xD0\x9C\xD0\xBE\xD1\x81\xD0\xBA\xD0