Eric F Crist
7cb2840cd7
Merge branch 'solidgoldbomb-add-show-ca-command' into v3.0.6
...
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-12-11 20:07:17 -06:00
Eric F Crist
b21d9bd780
Mergeing from solidgoldbomg for #118
...
Merge branch 'add-show-ca-command' of
https://github.com/solidgoldbomb/easy-rsa
into solidgoldbomb-add-show-ca-command
2018-12-11 20:04:05 -06:00
Eric F Crist
fc8f3512d3
More Travis-CI corrections.
...
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-12-11 19:39:08 -06:00
Eric F Crist
e01401d618
Shellcheck corrections
...
Make some corrections to appease shellcheck now that travis is working
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-12-11 18:18:31 -06:00
Eric F Crist
c73a06349f
Update Travis-CI config to something that works?
...
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-12-11 17:56:30 -06:00
Stacey Sheldon
9dc040a42f
easyrsa: add show-ca command to display the ca certificate
2018-12-07 20:08:52 -05:00
Eric F Crist
fdd5db9995
Merge branch 'luizluca-fix_default_expire'
...
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-10-04 17:43:28 -05:00
Luiz Angelo Daros de Luca
ac8bccec2c
update EASYRSA_CERT_EXPIRE new default value
...
Improves 376c62f2b81e36db6f449ac7673013075b0c3ef1
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2018-10-04 18:08:43 -03:00
Eric F Crist
39bbfe2228
Merge branch 'luizluca-fix_initpki_openssl_path'
...
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-10-03 17:20:26 -05:00
Luiz Angelo Daros de Luca
13a2bf45d4
respect EASYRSA_SSL_CONF during init-pki
...
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2018-10-03 18:09:43 -03:00
Eric F Crist
ceffdf63e4
trap sig exit, too
...
The clean_temp() function failed to be called on a clean exit due to the
previous change (446a58f). Also adding in the bit from die() that I
failed to remember to push in.
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-10-02 17:06:36 -05:00
Eric F Crist
aa1894ba26
Merge branch 'TinCanTech-v3.0.6' into v3.0.6
...
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-10-02 13:39:40 -05:00
Eric F Crist
ca7a95142f
Merge branch 'v3.0.6' of https://github.com/TinCanTech/easy-rsa into TinCanTech-v3.0.6
...
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-10-02 13:39:09 -05:00
Richard Bonhomme
f17bcc9013
Improve hide_read_pass function
...
Follow example from prog_exit function
2018-10-02 18:52:05 +01:00
Eric F Crist
bcf1e43483
Missed file from 446a58f
...
I somehow missed adding this change, even though the file was part of
the commit. git is hard.
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-10-02 10:39:37 -05:00
Eric F Crist
7122f514c1
Fix minor build-dist.sh issues
...
* Use ~KEY~ pattern for replacement instead of ~~~, which doesn't scale.
* Include an empty string following -i for sed. This prevents the extra
files from showing up with -e.
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-10-02 10:34:50 -05:00
Eric F Crist
3792c9eafd
Broaden trap() functionality
...
Resolves #236 and #247
* Broaden trapped signals to SIGHUB, SIGINT, SIGQUIT, SIGABRT
* Turn echo back on upon exit.
* Provide a newline at exit just to make the terminal look pretty.
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-10-02 10:02:40 -05:00
Richard Bonhomme
c1a6e3c4cd
Improve hide_read_pass function
2018-09-29 13:57:05 +01:00
Eric F Crist
d43bd5f9d9
Update README to point to new #easyrsa on Freenode.
...
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-09-25 09:47:34 -05:00
Eric F Crist
cca3abbf4e
Merge branch 'TinCanTech-v3.0.6' into v3.0.6
...
Fix for echo issue on Windows for password prompts.
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-09-24 20:17:44 -05:00
Richard Bonhomme
02a8986a82
Correct path to sh.exe
2018-09-25 01:10:15 +01:00
Richard Bonhomme
162b8a278c
Function to hide password input
2018-09-24 23:42:26 +01:00
Eric F Crist
f6d8a9903b
Chicken/Egg config writing fixed
...
Only write out the default config to EASYRSA_PKI during init-pki
function call. Assume it's there or error out when appropriate.
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-09-15 10:43:49 -05:00
Eric F Crist
bb9b0b7543
Merge branch 'v3.0.5' of https://github.com/OpenVPN/easy-rsa into v3.0.6
2018-09-14 23:42:28 -05:00
Eric F Crist
0bc7dfa11b
Merge branch 'v3.0.5' of https://github.com/OpenVPN/easy-rsa into v3.0.5
2018-09-14 23:37:20 -05:00
Eric F Crist
20b014373c
Merge branch 'v3.0.5' of https://github.com/OpenVPN/easy-rsa into v3.0.5
...
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-09-14 23:18:31 -05:00
Eric F Crist
21b0de8f5e
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
a137125a5a
Update changelog for v3.0.5 release
...
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-09-14 23:12:19 -05:00
Eric F Crist
7e80326044
Merge btamayo change.
...
Closes #214 in master
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-09-14 22:42:57 -05:00
Eric F Crist
1f8017087d
Merge branch 'btamayo-patch-1' into v3.0.5
...
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-09-14 22:41:33 -05:00
Eric F Crist
a33928c76b
Merge in other commits suitable for v3.0.5 from masteer.
...
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-09-07 09:41:39 -05:00
Eric F Crist
86f220738c
Merge branch 'TinCanTech-master'
...
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-09-07 09:19:17 -05:00
Eric F Crist
aca41ecbd0
Merge branch 'master' of https://github.com/OpenVPN/easy-rsa
2018-09-07 09:18:32 -05:00
Eric F Crist
53ff1188ee
Merge branch 'master' of https://github.com/TinCanTech/easy-rsa into TinCanTech-master
2018-09-07 09:18:06 -05:00
Eric F Crist
5e7046cba1
Update copyright date.
...
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-09-07 09:14:27 -05:00
Richard Bonhomme
e3c51b39f1
Fix set_pass() 'nopass' option
2018-09-07 13:23:35 +01:00
Eric F Crist
ac2575f3e1
Correct sed work on version replacement
...
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-08-23 17:01:55 -05:00
Eric F Crist
97e1501424
Update default certificate length, comments
...
- Resolve #57 , set default certificate length to 1080 days, leaves CA
certifcates at 3650
- Add EasyRSA version to certificate comment for later troubleshooting
and identification.
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-08-23 16:51:17 -05:00
Eric F Crist
6235086142
Add LibreSSL support to EasyRSA
...
Merge branch 'TinCanTech-libressl'
This may also resolve the following issues:
#130 : cmd-opts nopass doesn't work
#76 : LibreSSL exposes misuse of $ENV
#74 : LibreSSL, Expected to find openssl command at: openssl
#34 : unexpected EOF when using init-pki on OSX 10.9
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-08-23 16:32:09 -05:00
Eric F Crist
9ff2df63d1
Add LibreSSL support to EasyRSA
...
Merge branch 'libressl' of https://github.com/TinCanTech/easy-rsa into TinCanTech-libressl
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-08-23 16:31:14 -05:00
Eric F Crist
6ae6659715
gah
2018-08-23 16:23:57 -05:00
Eric F Crist
45e6d1f531
Travis-CI, yay!
...
:\
2018-08-23 16:16:29 -05:00
Eric F Crist
ef968ace6e
shellcheck provided in travis-ci by default
...
Apparently no longer required to install shellcheck in the travis-ci
environment. See https://github.com/koalaman/shellcheck/wiki/TravisCI
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-08-23 16:10:22 -05:00
Richard Bonhomme
c14f3c6b16
libressl: minor style corrections
2018-08-23 21:26:30 +01:00
Richard Bonhomme
24913874f5
libressl: use make_ssl_config and safessl-easyrsa.cnf for revoke
2018-08-23 21:20:53 +01:00
Richard Bonhomme
0d1c17a0e9
libressl: use make_ssl_config and safessl-easyrsa.cnf for gen_crl
2018-08-23 21:16:32 +01:00
Richard Bonhomme
185a5b671f
libressl: use make_ssl_config and safessl-easyrsa.cnf for sign_req
2018-08-23 21:12:39 +01:00
Richard Bonhomme
247199489e
libressl: use make_ssl_config and safessl-easyrsa.cnf for gen_req
2018-08-23 21:10:57 +01:00
Richard Bonhomme
95871dca5e
libressl: use make_ssl_config and safessl-easyrsa.cnf for build_ca
2018-08-23 21:05:26 +01:00
Richard Bonhomme
af9b01944e
libressl: use make_ssl_config() for easyrsa openssl version check
2018-08-23 20:36:48 +01:00