Page 1 of 1

[Solved] bug on vars.bat.sample file on last version of openVPN

Posted: Mon Aug 14, 2017 12:14 pm
by videopache
Hi, i found that i can not run the vars.bat file which is generated based on vars.bat.sample file at from the last version of openVPN (2.4.3-I602). When i try to run the vars.bat in Windows i receive the folowing error:

D:\openvpn\easy-rsa>vars
'#' is not recognized as an internal or external command,operable program or batch file.

I suppose that is because the pound character (#) from line 26 of vars.bat.sample is :

#Private key size
set KEY_SIZE=4096

and not:

rem Increase this to 2048 if you
rem are paranoid. This will slow
rem down TLS negotiation performance
rem as well as the one-time DH parms
rem generation process.
set KEY_SIZE=1024

as it was in the previous versions of openVPN or at least in openvpn-install-2.3.12-I602-x86_64 which i checked.
I missed something ?
Thanks !

Re: Possible bug on vars.bat.sample file on last version of openVPN

Posted: Mon Aug 14, 2017 1:05 pm
by TinCanTech
Yes, this looks like a minor bug, thanks for reporting it.

Re: Possible bug on vars.bat.sample file on last version of openVPN

Posted: Mon Aug 28, 2017 12:23 pm
by samuli
Fixed by https://github.com/OpenVPN/easy-rsa-old/pull/4. The fix will be included in the next OpenVPN Windows installer bundle.