1333 Commits

Author SHA1 Message Date
Richard Bonhomme
54eb9dc8e6 Move verifying the SSL lib to verify_ssl_lib() and only call after verify_pki_init()
Signed-off-by: Richard Bonhomme <25598447+TinCanTech@users.noreply.github.com>
2019-01-04 00:43:08 +00:00
Richard Bonhomme
35b1f59e44
Use EASYRSA specific temp file for output to set_pass
Signed-off-by: Richard Bonhomme <25598447+TinCanTech@users.noreply.github.com>
2019-01-01 18:07:17 +00:00
Richard Bonhomme
fb6fd5465a Use EASYRSA specific temp file for output to set_pass
Signed-off-by: Richard Bonhomme <25598447+TinCanTech@users.noreply.github.com>
2019-01-01 18:07:17 +00:00
Javier Godoy
1a62872e05 Double quote to prevent globbing and word splitting 2018-12-22 06:05:00 -03:00
Javier Godoy
24182ff27e Double quote to prevent globbing and word splitting 2018-12-22 06:05:00 -03:00
Javier Godoy
23d7051e76 Add optional CRL reason parameter 2018-12-16 18:18:28 -03:00
Javier Godoy
07641547e4 Add optional CRL reason parameter 2018-12-16 18:18:28 -03:00
Javier Godoy
6227d89ec6 Preserve other environment variables 2018-12-16 18:03:58 -03:00
Javier Godoy
f173fb9c38 Preserve other environment variables 2018-12-16 18:03:58 -03:00
Richard Bonhomme
1061fc25f6
Merge pull request #1 from TinCanTech/TinCanTech-password-echo
Fix password echo
2018-12-16 18:17:26 +00:00
Richard Bonhomme
331038f5eb Merge pull request #1 from TinCanTech/TinCanTech-password-echo
Fix password echo
2018-12-16 18:17:26 +00:00
Richard Bonhomme
482c4b517f
Fix password echo 2018-12-16 18:16:48 +00:00
Richard Bonhomme
f32df2f932 Fix password echo 2018-12-16 18:16:48 +00:00
Eric F Crist
96696bcc7b
Merge branch 'TinCanTech-TinCanTech-sed-backtick' into v3.0.6
Resolves #267

Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-12-12 08:59:43 -06:00
Eric F Crist
1abc1405dd Merge branch 'TinCanTech-TinCanTech-sed-backtick' into v3.0.6
Resolves #267

Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-12-12 08:59:43 -06:00
Richard Bonhomme
3b0d1992a7
Use escape backtick for sed separator
Signed-off-by: Richard Bonhomme <25598447+TinCanTech@users.noreply.github.com>
2018-12-12 14:17:23 +00:00
Richard Bonhomme
a99623dfcb Use escape backtick for sed separator
Signed-off-by: Richard Bonhomme <25598447+TinCanTech@users.noreply.github.com>
2018-12-12 14:17:23 +00:00
Eric F Crist
38575d870c
test suite fixes
* need the script to actually do more functional testing
* need to be able to test input, need something automated

Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-12-11 20:39:21 -06:00
Eric F Crist
a860ea791a test suite fixes
* need the script to actually do more functional testing
* need to be able to test input, need something automated

Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-12-11 20:39:21 -06:00
Eric F Crist
272ee0ea89
SC1147, remove local call
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-12-11 20:21:03 -06:00
Eric F Crist
5bc2de6bbf SC1147, remove local call
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-12-11 20:21:03 -06:00
Eric F Crist
391948f267
Update op_test to support show-cert, add'l cmds
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-12-11 20:15:21 -06:00
Eric F Crist
9db151e388 Update op_test to support show-cert, add'l cmds
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-12-11 20:15:21 -06:00
Eric F Crist
8760707020
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
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
14a5dc8a7a
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
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
99eef5f278
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
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
f9fa4ca127
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
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
275b093f87
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
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
087d36a0d8 easyrsa: add show-ca command to display the ca certificate 2018-12-07 20:08:52 -05: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
b38f65927c
Merge branch 'luizluca-fix_default_expire'
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-10-04 17:43:28 -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
edf1e92a3f 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
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
3d002adf65
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
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
fcffd650ee 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
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
e11b8566fe
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
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
aaf8e3d0d4
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
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
e7bd1efa91
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
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
e1e3ce8860
Improve hide_read_pass function
Follow example from prog_exit function
2018-10-02 18:52:05 +01:00