1758 Commits

Author SHA1 Message Date
Richard Bonhomme
673f158230
libressl: switch to using safessl-easyrsa.cnf
Keep openssl-easyrsa.cnf but switch to using safessl-easyrsa.cnf
Has the benefit of fixing easyrsa3 openssl version check for libressl
2018-08-23 20:22:43 +01:00
Richard Bonhomme
6c171b7882 libressl: switch to using safessl-easyrsa.cnf
Keep openssl-easyrsa.cnf but switch to using safessl-easyrsa.cnf
Has the benefit of fixing easyrsa3 openssl version check for libressl
2018-08-23 20:22:43 +01:00
Richard Bonhomme
8feb0f24fe
libressl: introduce function make_ssl_config
This function reads openssl-easyrsa.cnf and then
removes "ENV::" and replaces "$vars" with value
then writes the results to safessl-easyrsa.cnf
2018-08-23 20:12:55 +01:00
Richard Bonhomme
b647256313 libressl: introduce function make_ssl_config
This function reads openssl-easyrsa.cnf and then
removes "ENV::" and replaces "$vars" with value
then writes the results to safessl-easyrsa.cnf
2018-08-23 20:12:55 +01:00
Richard Bonhomme
cfab21f79f
libressl: prepare openssl-easyrsa.cnf for use with libressl 2018-08-23 20:03:36 +01:00
Richard Bonhomme
000b47712a libressl: prepare openssl-easyrsa.cnf for use with libressl 2018-08-23 20:03:36 +01:00
Richard Bonhomme
185f3ee03e
libressl: add esayrsa3/safessl-easyrsa.cnf to .gitignore 2018-08-23 19:57:51 +01:00
Richard Bonhomme
3f4e77092d libressl: add esayrsa3/safessl-easyrsa.cnf to .gitignore 2018-08-23 19:57:51 +01:00
Hugues Fafard
0db2dbe961 Fixed SC2115 2018-03-05 17:57:36 +01:00
Hugues Fafard
5f7707dcc5 Forgot some files for 'soft-reset' 2018-03-05 17:38:02 +01:00
Hugues Fafard
48c2df5d11 Added soft-reset option for init-pki subcommand. 2018-03-05 17:25:12 +01: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
0716b29ba6 Update ChangeLog
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-02-26 09:29:45 -06:00
Eric F Crist
ff07d754f5 Update ChangeLog
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-02-26 09:27:54 -06:00
Eric F Crist
af796ad839 Update ChangeLog
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-02-26 09:27:54 -06:00
Eric F Crist
45cd588fec Merge branch 'Antagonym-nopass-fix'
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-02-26 09:23:35 -06:00
Eric F Crist
f241bad2d7 Merge branch 'Antagonym-nopass-fix'
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-02-26 09:23:35 -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
Eric F Crist
cb20abf3e1 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
Hugues Fafard
63224439a6 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
d37a608944 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
Eric F Crist
67f76dafe0 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
Hugues Fafard
8b728d6a9e Merge remote-tracking branch 'upstream/v3.0.5' into honor-vars 2018-02-26 14:22:19 +01:00
Eric F Crist
15dc703660 Merge branch 'kodieGlosser-fix-travis-checks'
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-02-26 07:16:34 -06:00
Eric F Crist
cf192ae57a Merge branch 'kodieGlosser-fix-travis-checks'
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-02-26 07:16:34 -06: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
Eric F Crist
9708b2afc4 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
Kodie Glosser
1968cb0259 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
Hugues Fafard
9f5267a0a7 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
76a9d5db29 Fix format string for printf
I've gotta be doing this wrong... (I mean git.)

Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-02-01 18:03:01 -06:00
Eric F Crist
f693420e48 Fix format string for printf
I've gotta be doing this wrong... (I mean git.)

Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2018-02-01 18:03:01 -06: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
ca201d7ba8 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
933a7dc52f 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
7ebd09221f 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
759cf3d42a 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
5b72997d4b 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
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
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