185 Commits

Author SHA1 Message Date
Eric F Crist
78aca243b2 Ignore dist-staging path
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-09-14 23:16:55 -05:00
Eric F Crist
9bd3241a31 Update ChangeLog
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-02-26 09:29:45 -06:00
Eric F Crist
297f85c8ca Merge branch 'Antagonym-nopass-fix' into v3.0.5
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-02-26 09:22:44 -06:00
Hugues Fafard
a6be9e9df7 Fixed broken nopass option in build-ca subcommand 2018-02-26 15:53:08 +01:00
Eric F Crist
02532b2311 merge branch 'honor-vars' of https://github.com/Antagonym/easy-rsa into v3.0.5
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-02-26 07:34:23 -06:00
Eric F Crist
2ef2660470 Remove quotes around $pkcs_opts
Credit to @OtherSystems and @Antagonym and some others who pointed this out.  This
resolves #189 and #193 and #186 and #179.

Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-02-26 07:26:49 -06:00
Hugues Fafard
6e35636879 Merge remote-tracking branch 'upstream/v3.0.5' into honor-vars 2018-02-26 14:22:19 +01:00
Eric F Crist
88723063a2 Merge branch 'kodieGlosser-fix-travis-checks' into v3.0.5
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-02-26 07:15:51 -06:00
Kodie Glosser
8836d509ae formatting and travis fix 2018-02-21 10:55:15 -06:00
Hugues Fafard
ef31c6c2e1 Honor priv-key related settings during build-ca
The EASYRSA_ALGO, EASYRSA_KEY_SIZE, and EASYRSA_CURVE settings in
`vars`, as well as their runtime overrides are ignored during `build-ca`
since 6268cd9. This restores previous behavior of honring the settings.

Should also fix #179.
2018-02-10 17:53:51 +01:00
Eric F Crist
bdfbd51d7b Fix format string in printf
I knew this was hanging out there, but Antagoynm found it before I was
able to resolve it.  There was a message from shellcheck regarding this
one:
	SC2059: Don't use variables in the printf format string. Use
printf "..%s.." "$foo".

Should resolve #181

Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-02-01 17:59:17 -06:00
Eric F Crist
b39606577a Merge branch 'l0010o0001l-master' 2018-01-25 08:10:18 -06:00
Eric F Crist
26f8622049 Merge branch 'master' of https://github.com/l0010o0001l/easy-rsa into l0010o0001l-master
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-01-25 08:09:53 -06:00
Eric F Crist
33974a5893 Update KNOWN_ISSUES, remove #24
This closes #151.

Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-01-25 08:00:26 -06:00
Eric F Crist
303f89a1d0 Update ChangeLog
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-01-21 23:45:49 -06:00
Eric F Crist
7f2dda12c2 Use stty -echo instead of read -s
Some Linux distros and BSD sh don't support the -s option to the read
builin.  This is the POSIX way to handle secure input to a tty.

Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-01-21 23:41:07 -06:00
Eric F Crist
6268cd9653 Default CA key to AES256
Defaults the CA key created using AES256.

This resolves #58 and resolves #17

Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-01-21 11:10:25 -06:00
Eric F Crist
1ce52f8120 Update ChangeLog for future v3.0.5
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-01-21 10:16:03 -06:00
Eric F Crist
4c58b5eb89 Merge branch 'v3.0.4'
Merging up to master.

Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-01-21 10:13:34 -06:00
Eric F Crist
dcc79b2319 Wrong SC code.
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-01-03 20:39:09 -06:00
Eric F Crist
fefee6aa9f additional automation
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-01-03 20:36:14 -06:00
Eric F Crist
7370b01a91 .
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-01-03 20:26:03 -06:00
Eric F Crist
1e882effaf There has to be a better way...
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-01-03 19:55:05 -06:00
Eric F Crist
67ced150d5 :\
Seriously though, more automation.

Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-01-03 19:44:18 -06:00
Eric F Crist
ef2e21e757 More breakage for automated tests
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-01-03 19:34:45 -06:00
Eric F Crist
09e2c3b5c3 This breaks stuff (probably)
Attempts at making shellcheck happy and a little bit of sanity checking
for travis-ci.  Going to try and get some basic easyrsa commands going
next, once I figure out what travis-ci's environment looks like.

Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-01-03 18:54:23 -06:00
Eric F Crist
5eb5eecfa3 Merge branch 'pillarsdotnet-v3.0.4' into v3.0.4
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-01-03 17:43:31 -06:00
Eric F Crist
8fbc4eee53 Merge branch 'pillarsdotnet-master'
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-01-03 17:38:20 -06:00
Bob Vincent
06fd217ff3 Allow "--copy-ext" without a value. (https://github.com/OpenVPN/easy-rsa/pull/153) 2018-01-02 16:53:15 -05:00
Bob Vincent
86c8fc6b4c Fix the --subject-alt-name option. 2018-01-02 16:53:13 -05:00
Bob Vincent
482b3e7ade Allow "--copy-ext" without a value. (https://github.com/OpenVPN/easy-rsa/pull/153) 2018-01-02 16:52:16 -05:00
Bob Vincent
9500a6a14b Fix the --subject-alt-name option. 2018-01-02 16:50:14 -05:00
Bob Vincent
3151860109 Fix generation of serverAltName. 2018-01-01 13:43:42 -05:00
Bob Vincent
b83b8ff7a6 Fix generation of serverAltName. 2018-01-01 13:41:18 -05:00
Eric F Crist
b3ed48042e Correct subjectAltName errors in server sign
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2017-12-24 10:00:20 -06:00
Eric F Crist
0933b898b3 Update README, address vx.x.x branches (new v3.0.4)
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2017-12-20 21:40:38 -06:00
Eric F Crist
5d602778cf Declare some additional variables
Further fixes for #167 pointed out by bjoernv.  Thanks!

Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2017-12-20 21:18:25 -06:00
Eric F Crist
ae54b0aec3 Merge branch 'master' of https://github.com/OpenVPN/easy-rsa 2017-12-15 08:48:09 -06:00
Eric F Crist
bcac604197 Add link to POSIX standard.
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2017-12-15 08:47:43 -06:00
Eric F Crist
2d2c3a7004 set input as var, not function call
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2017-12-14 22:02:23 -06:00
Eric F Crist
da2bd3afbd More travis-ci changes, SAN fix, maybe related to #89
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2017-12-14 08:43:24 -06:00
Eric F Crist
b5803ee9e3 More travis-ci related cleanup
* Remove SC2006 from shellcheck: bashism
* Put variable declarations on separate lines (SC1007)
* Remove "local" from Windows sh script (SC2039)
* Remove "x" variable define from read in Windows sh script (SC2034)

Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2017-12-14 08:35:41 -06:00
Eric F Crist
fe7cbae65d unix2dos and fix tar command
* Run the Windows specific files through unix2dos for easier consumption
* Modify the tar command options to better support "build" on FreeBSD

Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2017-12-14 07:34:56 -06:00
Eric F Crist
f58cbc7845 Actually fix #167
amkhiv was kind enough to point out I failed to fix the "local" syntax
removal from cmd_help().  tincantech has pointed this out and I intended
on fixing, but missed it.

Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2017-12-14 06:57:11 -06:00
Eric F Crist
384d407408 Correct "local" removal errors
Also, update the README to indicate master is development.  People don't
seem to understand that.

Resolves #167

Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2017-12-12 19:36:18 -06:00
Eric F Crist
47d5477266 More fixes for #165
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2017-12-07 20:24:41 -06:00
Eric F Crist
d3502a9d85 Remove "local" keyword from variable assignment
Resolves #165

Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2017-12-07 19:59:14 -06:00
Eric F Crist
288a0e248d Initial attempt at travis-ci integration
This is the initial attempt to integrate the easyrsa project with
travis-ci by merging szepeviktor-master.  Additional work is necessary,
but this gets us going in the right direction.  Closes #165.

Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2017-12-07 19:26:06 -06:00
Eric F Crist
bb2c290c15 Merge branch 'master' of https://github.com/szepeviktor/easy-rsa into szepeviktor-master 2017-12-07 19:22:56 -06:00
Eric F Crist
7a29079efd Replace egrep with grep -E
This is an alternative to the proposed patch in #154 and is easier to
read than the change.

Closes #154.

Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2017-12-07 18:56:20 -06:00