98 Commits

Author SHA1 Message Date
Richard T Bonhomme
352b8db0fc
ChangeLog: New commands 'inline' and 'x509-eku'
Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
2023-08-05 16:42:39 +01:00
Richard T Bonhomme
ef3e64f0a1
ChangeLog: Expose serial-check, display-dn, display-san and default-san
Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
2023-07-13 14:26:03 +01:00
Richard T Bonhomme
8d5867a54f
ChangeLog: Expand default status to include vars-file and CA status
Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
2023-07-03 23:59:04 +01:00
Richard T Bonhomme
d29183721f
sign-req: Allow the CSR DN-field order to be preserved
When signing a request, EasyRSA ALWAYS defaults to the CA defined
Distinguished Name field order, as defined by openssl-easyrsa.cnf
configuration file.

In the unlikely event that a CSR is received with a different DN-
field order, that order can be preserved for the signed certificate.

Command 'sign-req', now has a command option 'preserve' for this.

Additional:

Use of 'preserve = yes' in openssl-easyrsa.cnf has no effect for
EasyRSA.

Testing OpenSSL directly indicates that this option may have no effect
when used in OpenSSL default configuration file openssl.cnf

Also, OpenSSL documentation for command 'ca', option '-preserveDN'
does NOT infer that this option can be used in the configuration file.

None of which is important to EasyRSA because only foreign CSRs can
have a different DN-field order, so default behavior can remain.

Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
2023-06-30 21:28:41 +01:00
Eric F Crist
a8d43bc3cf
Release v3.1.5
* update build script to sign/verify using gpg
* update ChangeLog for release

Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2023-06-10 09:01:27 -05:00
Richard T Bonhomme
7da63e9408
ChangeLog: Automate support-file creation (Free packaging)
Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
2023-06-09 11:30:17 +01:00
Richard T Bonhomme
57471117a7
ChangeLog: Announce build-ca 'raw' method
Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
2023-06-05 21:37:20 +01:00
Richard T Bonhomme
a7284a1857
ChangeLog: Update for Easy-RSA version 3.1.4 release
Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
2023-05-23 21:53:41 +01:00
Richard T Bonhomme
5d7ad1306d
build-ca: Revert manual CA password method to temp-files
Change the integration of the following:
* build-ca: Replace password temp-file method with file-descriptors
* commit 27870d695a324e278854146afdac5d6bdade9bba

Instead of 'replacing' the standard temp-file method, the new 'stdin'
method is offered as an alternative by using option '--ca-via-stdin'

Discussion:

Using EasyRSA temp-files means that these files can be written to
specific places. In the case of the CA password, it is recommended
to use a RAM-Disk to write CA password temp-files to.

Using heredocs to pass data via file-descriptors, in all probability,
will write the heredoc data to a temp-file managed by the shell in use.

Thus, there are temp-files written in both methods.

The difference being that, the EasyRSA managed temp-files can be written to
specific places, while the shell managed temp-files are out of EasyRSA scope.

In conclusion, both methods are offered, however, the default remains
as EasyRSA temp-files for the CA password method.

Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
2023-05-22 23:08:42 +01:00
Eric F Crist
3fa9cd8c78
update changelog for release 2023-05-19 07:53:38 -05:00
Richard T Bonhomme
68ddeecf23
ChangeLog: build-ca: Replace password temp-files with file-descriptors
Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
2023-05-06 21:09:37 +01:00
Richard T Bonhomme
67e34ace64
ChangeLog: Replace option --fix-offset with --startdate/--enddate
Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
2023-03-21 01:44:22 +00:00
Richard T Bonhomme
fc6d827196
ChangeLog: Introduce option -S|--silent-ssl: Silence SSL output
Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
2023-03-11 16:26:15 +00:00
Richard T Bonhomme
9149aa8f74
ChangeLog: Always verify SSL lib, for all commands (#877)
Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
2023-03-07 22:37:36 +00:00
Richard T Bonhomme
436f77e888
ChangeLog; Only create a random serial number file when expected (#896)
Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
2023-02-21 22:01:16 +00:00
Richard T Bonhomme
ab264130c1
ChangeLog: Option --fix-offset: Adjust off-by-one day
Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
2023-02-04 21:14:01 +00:00
Eric F Crist
354c20d82b
update ChangeLog for release
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2023-01-13 15:46:44 -06:00
Richard T Bonhomme
51a82a7fb5
build-full: Always enable inline file creation
Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
2023-01-03 21:56:58 +00:00
Richard T Bonhomme
f315e6b5a2
Make default Edwards curve ED25519
Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
2022-12-28 17:34:29 +00:00
Richard T Bonhomme
6ac84dc2aa
Allow --fix-offset to create post-dated certificates
Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
2022-12-22 22:24:51 +00:00
Richard T Bonhomme
195d6e6c73
Update: Remove option '--quiet'
Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
2022-11-29 23:52:36 +00:00
Richard T Bonhomme
d0019deb25
Current 'set-X-pass' commands do not support Edwards Curve cryptography.
Replace all 'set-X-pass' commands with single 'set-pass' command.

The new EasyRSA 'set-pass' command uses OpenSSL command 'pkey' to manipulate
private keys.  OpenSSL 'pkey' command supports all EasyRSA cryptography.

Retain compatibility with old commands.

Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
2022-11-10 23:31:15 +00:00
Richard T Bonhomme
c905f0929a
Introduce global option '--nopass|--no-pass'
Squashed commit of the following:

commit 3bff869d3058b2d8d2e21b572dfed6bac773ffe8
Merge: dbb8517 1652f20
Author: Richard T Bonhomme <tincantech@protonmail.com>
Date:   Thu Nov 3 19:55:34 2022 +0000

    Merge branch 'new-global-opt-nopass' of ssh://github.com/TinCanTech/easy-rsa into TinCanTech-new-global-opt-nopass

    Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>

commit 1652f20e88ae72e731d8e6001d561d10aebdb780
Author: Richard T Bonhomme <tincantech@protonmail.com>
Date:   Wed Nov 2 17:46:54 2022 +0000

    Introduce global option '--nopass|--no-pass' (#752)

    Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>

commit 7817324cbb31baf922724e46d5a50947b0b649d6
Author: Richard T Bonhomme <tincantech@protonmail.com>
Date:   Wed Nov 2 17:29:41 2022 +0000

    Introduce global option '--nopass|--no-pass'

    This change forces all commands where passwords are not desired,
    to internally rely on the specific EasyRSA variable 'EASYRSA_NO_PASS'.

    Current use of 'nopass' as a command option, is unchanged.

    Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>

Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
2022-11-03 19:56:34 +00:00
Richard T Bonhomme
89a33bcbe0
Introduce global option '--notext|--no-text' (#745)
Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
2022-10-30 20:02:10 +00:00
Richard T Bonhomme
db33add56a
Command 'help': For unknown command, exit with error.
Added ChangeLog notice.

Squashed commit of the following:

commit de8f9e689e6409b606f112067754c28e3eef1d1d
Merge: ab7c480 0753241
Author: Richard T Bonhomme <tincantech@protonmail.com>
Date:   Wed Oct 26 21:45:29 2022 +0100

    Merge branch 'help-err-exit' of ssh://github.com/TinCanTech/easy-rsa into TinCanTech-help-err-exit

    Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>

commit 0753241b0c45311475822d05ce492ef925423dad
Author: Richard T Bonhomme <tincantech@protonmail.com>
Date:   Tue Oct 25 21:52:49 2022 +0100

    Command 'help': For unknown command, exit with error.

    Closes: #736

    Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>

Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
2022-10-26 21:48:45 +01:00
Richard T Bonhomme
17cbf07b29
ChangeLog: Find data-files in the correct order (#727)
Squashed commit of the following:

commit cd3ef9f218ba9e2862914ad9846dc674d5b89ea6
Merge: 368de14 8a8136b
Author: Richard T Bonhomme <tincantech@protonmail.com>
Date:   Tue Oct 25 21:04:16 2022 +0100

    Merge branch 'changlog-725' of ssh://github.com/TinCanTech/easy-rsa into TinCanTech-changlog-725

    Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>

commit 8a8136b20a4465b53d4bd59eff4b638af57a5d5b
Author: Richard T Bonhomme <tincantech@protonmail.com>
Date:   Tue Oct 25 20:03:49 2022 +0100

    ChangeLog: Find data-files in the correct order (#727)

    Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>

Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
2022-10-25 21:05:11 +01:00
Eric F Crist
2083fb29b5
update ChangeLog for today's v3.1.1 release
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2022-10-13 06:28:23 -05:00
Richard T Bonhomme
95af4f0a30
Documentation updates (No functional changes)
Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
2022-10-12 23:47:11 +01:00
Richard T Bonhomme
43e5cb9af1
ChangeLog: Add resolution of --subca-len=N issue
Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
2022-09-25 21:42:26 +01:00
Richard T Bonhomme
4b7b7516b4
ChangeLog: Final update for v3.1.1
Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
2022-09-21 22:29:28 +01:00
Richard T Bonhomme
993f504b09
ChangeLog: 'Always ensure X509-types files exist (#581 #696)'
Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
2022-09-20 22:26:33 +01:00
Eric F Crist
43fb5990d8
update OpenSSL to 3.0.5
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2022-09-14 19:28:55 -05:00
Richard T Bonhomme
2850fbb009
Remove renew-req
Phase-2: #684

Supersedes: #616

Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
2022-09-09 14:20:30 +01:00
Richard T Bonhomme
46d43aabbb
ChangeLog: Re-enable use of '--vars=FILE init-pki' #640 (Revert #566)
Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
2022-09-08 12:59:40 +01:00
Richard T Bonhomme
1dfd7307d5
ChangeLog: Add --keep-tmp
Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
2022-09-02 15:41:57 +01:00
Richard T Bonhomme
93ec118851
Add Quiet mode to ChangeLog
Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
2022-08-14 20:34:26 +01:00
Richard T Bonhomme
ae584fae99
Add 'renew-req' to ChangeLog
Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
2022-06-25 16:54:01 +01:00
Richard T Bonhomme
e5ec1ab771
Document '--req-serial' - Update 'help' and ChangeLog
Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
2022-06-21 00:22:50 +01:00
Richard T Bonhomme
a022a5cb2a
ChangeLog: Support ampersand and dollar-sign in vars file (#590)
Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
2022-06-03 16:38:58 +01:00
Richard T Bonhomme
303c076438
Introduce 'rewind-renew' (#579)
Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
2022-05-21 13:31:37 +01:00
Richard T Bonhomme
73d521bd34
Update #577
Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
2022-05-19 21:21:32 +01:00
Eric F Crist
1600b3fe9b
update ChangeLog for 3.1.0 release
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2022-05-18 20:52:31 -05:00
Richard T Bonhomme
81c47847f6
Update ChangeLog for Easy-RSA version 3.1.0
Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
2022-05-18 13:47:56 +01:00
Eric Crist
f18d08e1b4
Merge pull request #570 from OpenVPN/release/3.0
update ChangeLog for v3.0.9 final release
2022-05-17 21:35:01 -05:00
Eric F Crist
150e96ec9b
update ChangeLog for v3.0.9 final release
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2022-05-17 21:25:46 -05:00
Eric Crist
2f1e6eaad8
Merge pull request #563 from OpenVPN/release/3.0
Backport patch for #559 to 3.0
2022-05-09 21:21:08 -05:00
Eric F Crist
8670ee4a1f
Backport patch for #559 to 3.0
Backport the patch from a4e37cfe54167cca2610aa401b06caae6fa4f724 to 3.0
that fixes the data arguments on Darwin and BSD.  Patch originally
authored by @tincantech.

Update .gitignore to ignore macOS .DS_Store files.

Update ChangeLog for v3.0.9 release

Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2022-05-09 21:14:32 -05:00
Eric Crist
74a79b0c87
Merge pull request #558 from OpenVPN/release/3.0
Merging changes from Release/3.0
2022-05-07 07:13:07 -05:00
Eric F Crist
fc79ff14ed
Correct grep regex for POSIX compatibility
Issue brought up by Michael Gmelin in FreeBSD bug:
  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263812

The \d patter is not POSIX, instead :digit: or [0-9] should be used.
Opted for the latter.

Resolves #556 from freebsd/freebsd-ports@8e0b9d2

Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2022-05-07 07:07:17 -05:00
Eric F Crist
6b803b5a7b
update changelog for patch for #556
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2022-05-07 07:05:11 -05:00