169 Commits

Author SHA1 Message Date
Eric F Crist
5b72997d4b Update ChangeLog
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-01-21 23:45:49 -06:00
Eric F Crist
a1ed80517b 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
fae653879e 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
f431d83c27 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
3861b37672 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
ab8fa4803d Wrong SC code.
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-01-03 20:39:09 -06:00
Eric F Crist
6e69b85e3e additional automation
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-01-03 20:36:14 -06:00
Eric F Crist
9bd030e603 .
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-01-03 20:26:03 -06:00
Eric F Crist
4f391af108 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
612f15c8fa :\
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
01b523d2d9 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
972a999a40 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
c60ffa587d 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
b761374eeb Merge branch 'pillarsdotnet-master'
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-01-03 17:38:20 -06:00
Bob Vincent
da1942a2ab Allow "--copy-ext" without a value. (https://github.com/OpenVPN/easy-rsa/pull/153) 2018-01-02 16:53:15 -05:00
Bob Vincent
7799d78cac Fix the --subject-alt-name option. 2018-01-02 16:53:13 -05:00
Bob Vincent
be20590d50 Allow "--copy-ext" without a value. (https://github.com/OpenVPN/easy-rsa/pull/153) 2018-01-02 16:52:16 -05:00
Bob Vincent
32a35bb18b Fix the --subject-alt-name option. 2018-01-02 16:50:14 -05:00
Bob Vincent
afeb05b502 Fix generation of serverAltName. 2018-01-01 13:43:42 -05:00
Bob Vincent
d3f1da5abe Fix generation of serverAltName. 2018-01-01 13:41:18 -05:00
Eric F Crist
afd9bc0a4a 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
6008c45af5 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
5da67665fa 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
8fd8bdd59a Merge branch 'master' of https://github.com/OpenVPN/easy-rsa 2017-12-15 08:48:09 -06:00
Eric F Crist
e1fa3a02bb 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
e48a065087 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
f04622a623 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
b8e92877b1 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
dd7a05d82d 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
ac50b32676 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
2306dbe2bd 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
9fea587bcb 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
fe49819728 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
2aab338ef1 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
d21d5c9f6b 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
Viktor Szépe
ee8714e9aa Fix easyrsa path in testing (again) 2017-12-05 00:40:39 +01:00
Viktor Szépe
c9a0ea343b Fix Travis test
Add  easy-rsa/easyrsa3/easyrsa
2017-12-05 00:38:12 +01:00
Viktor Szépe
566859ee49 Test code quality on commits 2017-12-04 16:47:16 +01:00
Eric F Crist
e8cd6c9807 Rename config to openssl-easyrsa.cnf
This clarifies the use of the file as specific to EasyRSA while also
closing the loop on the openssl version chase.  No reason to have a
configuration file that is specific to openssl version at this point.
If the need arises, we'll do so in a sane fashion.

Resolves #159

Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2017-11-04 08:06:48 -05:00
Eric F Crist
c75e74a697 Merge branch 'chris-martin-directory-status-space'
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2017-09-12 08:58:19 -05:00
Eric F Crist
cee40f9ee0 Merge branch 'directory-status-space' of https://github.com/chris-martin/easy-rsa into chris-martin-directory-status-space 2017-09-12 08:57:45 -05:00
Eric F Crist
ace7720282 Correcting spelling from pull request #113
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2017-09-12 08:33:37 -05:00
Eric F Crist
2c95d0c5fe Merge branch 'mattock-master'
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2017-09-12 08:18:22 -05:00
Eric F Crist
64241d0467 Merge branch 'master' of https://github.com/mattock/easy-rsa into mattock-master
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2017-09-12 08:16:26 -05:00
Eric F Crist
3a7ec72833 Merge branch 'master' of github.com:OpenVPN/easy-rsa 2017-09-12 08:10:53 -05:00
Eric F Crist
cb58cfdfe2 Merge branch 'michalsarna-master'
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2017-09-12 08:10:04 -05:00
Eric F Crist
92e957883c Merge branch 'michalsarna-master'
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2017-09-12 07:58:13 -05:00
Eric F Crist
f2ee6d144a Extend .gitignore to pki and vars.
Merge branch 'master' of https://github.com/michalsarna/easy-rsa into michalsarna-master
2017-09-12 07:57:26 -05:00
Eric F Crist
ee23af8a87 Merge branch '3van-build-dist-fix'
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2017-09-12 07:52:27 -05:00