1333 Commits

Author SHA1 Message Date
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
6bba336750
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
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
f0204c160b
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
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
446a58f9f3
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
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
abbae14592
Improve hide_read_pass function 2018-09-29 13:57:05 +01:00
Richard Bonhomme
c1a6e3c4cd Improve hide_read_pass function 2018-09-29 13:57:05 +01:00
Eric F Crist
8356b3231d
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
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
f73a2d4be8 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
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
d065ee3432
Correct path to sh.exe 2018-09-25 01:10:15 +01:00
Richard Bonhomme
02a8986a82 Correct path to sh.exe 2018-09-25 01:10:15 +01:00
Richard Bonhomme
881404932b Function to hide password input 2018-09-24 23:42:26 +01:00
Richard Bonhomme
162b8a278c Function to hide password input 2018-09-24 23:42:26 +01:00
Eric F Crist
85c949ef21 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
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
1daff987b3 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
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
119d0ffb7e 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
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
4152244bae 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
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
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
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
302dd05bbc 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
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
c5ff31e867 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
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
8f9f8e0b74 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
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
d0326c0d49 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
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
ad00be3411 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
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
083b125064 Merge branch 'master' of https://github.com/OpenVPN/easy-rsa 2018-09-07 09:18:32 -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
7e750b4caa Merge branch 'master' of https://github.com/TinCanTech/easy-rsa into TinCanTech-master 2018-09-07 09:18:06 -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
a6192a7fe9 Update copyright date.
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-09-07 09:14:27 -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
4d084268b8
Fix set_pass() 'nopass' option 2018-09-07 13:23:35 +01:00
Richard Bonhomme
e3c51b39f1 Fix set_pass() 'nopass' option 2018-09-07 13:23:35 +01:00
Eric F Crist
1eccb90148 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
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
376c62f2b8 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
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
93b0f2e74b 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