]>
git.ipfire.org Git - thirdparty/dehydrated.git/log
Lukas Schauer [Sat, 12 Dec 2020 02:12:13 +0000 (03:12 +0100)]
Fixed small unassigned variable issue
Lukas Schauer [Sat, 12 Dec 2020 02:01:47 +0000 (03:01 +0100)]
Do not revalidate authorizations on forced renewal
This commit introduces a new cli argument `--force-validation` which,
when used in combination with `--force` ignores valid domain
authorizations and forces a revalidation.
This has been implemented since at least LE seems to have changed some
behavior on valid authorizations. Only the previously validated
authorization-type is reusable, causing dehydrated to error out when
changing from recently validated authorization types while still trying
to force-renew certificates for whatever reason (e.g. changing algorithms).
Lukas Schauer [Fri, 11 Dec 2020 17:02:51 +0000 (18:02 +0100)]
fix CN extraction for older openssl versions
Lukas Schauer [Thu, 10 Dec 2020 15:56:13 +0000 (16:56 +0100)]
bump changelog for new draft releases
Lukas Schauer [Thu, 10 Dec 2020 15:54:26 +0000 (16:54 +0100)]
preparing for release 0.7.0
Lukas Schauer [Thu, 10 Dec 2020 15:32:02 +0000 (16:32 +0100)]
use normal error behaviour for failing http requests (fixes #782)
Lukas Schauer [Thu, 10 Dec 2020 15:07:28 +0000 (16:07 +0100)]
allow to set domains.txt as cli argument (fixes #678)
Lukas Schauer [Thu, 10 Dec 2020 15:01:54 +0000 (16:01 +0100)]
use secp384r1 as default (instead of rsa, fixes #651)
Lukas Schauer [Thu, 10 Dec 2020 15:01:08 +0000 (16:01 +0100)]
use secp384r1 as default (instead of rsa, fixes #651)
Raphael Hoegger [Wed, 15 Aug 2018 09:48:20 +0000 (11:48 +0200)]
adding new CLI Command (--cleanupdelete / -gcd) to cleanup+delete (instead of just moving to /archive) (closes #587)
Lukas Schauer [Thu, 10 Dec 2020 13:28:30 +0000 (14:28 +0100)]
allow setting OCSP_FETCH and OCSP_DAYS per certificate config (closes #602, thx @bjacke)
Lukas Schauer [Thu, 10 Dec 2020 13:15:07 +0000 (14:15 +0100)]
cleanup: also remove dangling symlinks
Arnout Vandecappelle (Essensium/Mind) [Fri, 30 Aug 2019 15:02:56 +0000 (17:02 +0200)]
cleanup: also do cleanup if symlink is broken (closes #667)
The cleanup command skips filetypes for which the symlink is broken or
doesn't exist. However, if dehydrated fails, we may end up in exactly
the situation that the symlink doesn't exist (yet). If dehydrated fails
repeatedly, we may end up with a lot of old cert.csr, cert.pem and
privkey.pem files, so we really want to be able to clean them up.
Remove all files if the symlink is broken/missing, instead of skipping
those files.
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Georg Altmann [Sat, 15 Aug 2020 12:53:04 +0000 (14:53 +0200)]
make alpn-validation certificates and keys group readable (closes #754, fixes #753)
Daniel Molkentin [Tue, 1 Dec 2020 18:51:06 +0000 (19:51 +0100)]
Fix OCSP_FETCH with libressl
libressl did not pick up the implicit host header patches
of OpenSSL 1.1 even in version 3 and thus exhibits the same
behavior as OpenSSL 1.0.
Patch by Chen, Chih-Chia <pigfoot@gmail.com>
Fixes #778
Lukas Schauer [Wed, 9 Dec 2020 19:41:17 +0000 (20:41 +0100)]
remove quotes from per-cert-config vars to allow for spaces (fixes #789, closes #791)
Lukas Schauer [Wed, 9 Dec 2020 18:38:27 +0000 (19:38 +0100)]
changed method for parsing issuer cn, fixing compatibility with some openssl versions
Lukas Schauer [Sat, 21 Nov 2020 15:19:08 +0000 (16:19 +0100)]
show available options if preferred chain is not found
Lukas Schauer [Fri, 20 Nov 2020 16:08:57 +0000 (17:08 +0100)]
fix spaces in sudo arguments
Lukas Schauer [Fri, 13 Nov 2020 19:49:18 +0000 (20:49 +0100)]
added display-terms to changelog+readme
Daniel Molkentin [Mon, 28 Sep 2020 14:44:36 +0000 (16:44 +0200)]
add --display-terms to display the URL for the current ToS
Implements #649
Lukas Schauer [Fri, 13 Nov 2020 19:36:51 +0000 (20:36 +0100)]
added support for requesting preferred-chain instead of default chain
Lukas Schauer [Wed, 30 Sep 2020 09:35:06 +0000 (11:35 +0200)]
one more \s -> [[:space:]] replacement
Jarkko Oranen [Mon, 7 Sep 2020 17:47:30 +0000 (20:47 +0300)]
Replace \s with [[:space:]] for compatibility
Daniel Molkentin [Sun, 27 Sep 2020 22:13:39 +0000 (00:13 +0200)]
Complain about deactivated accounts
Daniel Molkentin [Tue, 1 Sep 2020 22:49:17 +0000 (00:49 +0200)]
implement account deactivation through --deactivate parameter
This is an updated version of https://github.com/lukas2511/dehydrated/files/
2641548 /dehydrated_add_deactivate_command.diff.txt
Fixes #216
Daniel Molkentin [Tue, 1 Sep 2020 22:00:15 +0000 (00:00 +0200)]
Don't require sudo before we know we really need it
Fixes #665
Daniel Molkentin [Tue, 1 Sep 2020 21:43:00 +0000 (23:43 +0200)]
Do not fail silently with invalid sudo user/group
Daniel Molkentin [Thu, 17 Sep 2020 15:09:09 +0000 (17:09 +0200)]
add more CAs, now that support for CA presets is implemented
- letsencrypt-test (LE staging CA)
- buypass (verified to work with the new json parsing, see #653)
- buypass-test analogously
Daniel Molkentin [Thu, 17 Sep 2020 22:15:04 +0000 (00:15 +0200)]
fix OS name detection
before applying heuristics, use PRETTY_NAME from os-release(3),
which reliably exists on all common linux distributions.
keep the /etc/issue parsing as fallback.
Lukas Schauer [Tue, 15 Sep 2020 15:27:24 +0000 (17:27 +0200)]
tmpfix: log error if acmev1 validation is denied + fix unbound variable
Lukas Schauer [Mon, 14 Sep 2020 16:59:41 +0000 (18:59 +0200)]
eab: use hex key instead of binary (fixes issue with nullbytes)
Lukas Schauer [Mon, 14 Sep 2020 16:31:24 +0000 (18:31 +0200)]
do not fail on challenge in "processing" state (fixes #759)
Lukas Schauer [Mon, 14 Sep 2020 16:28:05 +0000 (18:28 +0200)]
fixed bad typo..
Lukas Schauer [Mon, 14 Sep 2020 16:24:01 +0000 (18:24 +0200)]
readme+changelog
Lukas Schauer [Mon, 14 Sep 2020 16:22:36 +0000 (18:22 +0200)]
EAB + ZeroSSL support
Lukas Schauer [Mon, 14 Sep 2020 16:19:08 +0000 (18:19 +0200)]
read boolean values from json
Lukas Schauer [Mon, 14 Sep 2020 16:18:35 +0000 (18:18 +0200)]
removed accidental shebang
Lukas Schauer [Mon, 14 Sep 2020 14:37:10 +0000 (16:37 +0200)]
use presets for some CAs instead of requiring full urls
Jason Francis [Thu, 14 May 2020 18:45:54 +0000 (14:45 -0400)]
fix tls-alpn-01 configuration example
Lukas Schauer [Sun, 5 Jul 2020 20:29:57 +0000 (22:29 +0200)]
fixed some typos (fixes #725, fixes #741, fixes #740)
j-ed [Tue, 30 Jun 2020 10:56:19 +0000 (12:56 +0200)]
removed tmp file in 'generate_alpn_certificate' function
Made sure that the temp file will be removed at the end of the function.
Lukas Schauer [Sun, 5 Jul 2020 02:13:06 +0000 (04:13 +0200)]
fixed zsh compatibility
Lukas Schauer [Sat, 4 Jul 2020 19:51:32 +0000 (21:51 +0200)]
merged temporary json.sh into dehydrated, fixed authorization "pending" loop
Lukas Schauer [Sat, 4 Jul 2020 19:36:23 +0000 (21:36 +0200)]
experimental json.sh support
Krayon [Fri, 13 Mar 2020 21:25:40 +0000 (08:25 +1100)]
Use existing curl version var
Signed-off-by: Krayon <krayon.git@qdnx.org>
Lukas Schauer [Tue, 28 Apr 2020 19:29:24 +0000 (21:29 +0200)]
removed instructions for importing from "official" client (certbot) as it probably doesn't work anymore and there isn't really much use for it anyway
Lukas Schauer [Tue, 28 Apr 2020 19:27:49 +0000 (21:27 +0200)]
fix link to wiki in documentation (fixes #690)
Lukas Schauer [Tue, 28 Apr 2020 19:25:08 +0000 (21:25 +0200)]
reworked dependency check and moved it up a bit in code (fixes #715, resolves #717 again...)
Lukas Schauer [Tue, 28 Apr 2020 19:10:14 +0000 (21:10 +0200)]
added changelog
Lukas Schauer [Tue, 28 Apr 2020 19:00:47 +0000 (21:00 +0200)]
added note about newline encoded in accounts directory hashes (resolves #730)
Lukas Schauer [Tue, 28 Apr 2020 18:58:46 +0000 (20:58 +0200)]
temporarily store raw curl version output to fix check (fixes #717)
Lukas Schauer [Tue, 28 Apr 2020 18:15:11 +0000 (20:15 +0200)]
store errorcode while using KEEP_GOING (fixes #659)
Lukas Schauer [Tue, 28 Apr 2020 16:37:49 +0000 (18:37 +0200)]
report issues with hook scripts instead of silently exiting (fixes #733, fixes #686)
Lukas Schauer [Tue, 28 Apr 2020 16:24:26 +0000 (18:24 +0200)]
skip exit_hook in _exiterr if KEEP_GOING is enabled (fixes #686)
Rogdham [Mon, 30 Mar 2020 20:14:07 +0000 (22:14 +0200)]
Move from account ID to account URL
We store the account URL on account creation in the account_id.json file.
When reading the file, if the attribute is missing, we retrieve the account URL
from the CA ( https://tools.ietf.org/html/rfc8555#section-7.3.1 ) and edit the
file.
Per https://tools.ietf.org/html/rfc8555#section-7.3
> The server returns this account object in a 201 (Created) response, with the
> account URL in a Location header field. The account URL is used as the "kid"
> value in the JWS authenticating subsequent requests by this account (see
> Section 6.2). The account URL is also used for requests for management
> actions on this account, as described below.
Lukas Schauer [Thu, 2 Apr 2020 10:44:40 +0000 (12:44 +0200)]
redirect output of cert expiry check (fixes #713)
Lukas Schauer [Thu, 2 Apr 2020 10:23:09 +0000 (12:23 +0200)]
fixed typo (closes #712)
Lukas Schauer [Thu, 2 Apr 2020 10:15:17 +0000 (12:15 +0200)]
only show order processing/pending message when waiting
Rogdham [Wed, 1 Apr 2020 07:03:20 +0000 (09:03 +0200)]
Don't assume order status to be valid
Per https://tools.ietf.org/html/rfc8555#section-7.1.3
> status (required, string): The status of this order. Possible values are
> "pending", "ready", "processing", "valid", and "invalid". See Section 7.1.6.
Rogdham [Mon, 30 Mar 2020 19:26:00 +0000 (21:26 +0200)]
Fix challenge response POST body in ACMEv2
Per https://tools.ietf.org/html/rfc8555#section-7.5.1
> The client indicates to the server that it is ready for the challenge
> validation by sending an empty JSON body ("{}") carried in a POST
> request to the challenge URL (not the authorization URL).
Lukas Schauer [Thu, 30 Jan 2020 21:51:25 +0000 (22:51 +0100)]
updated notice about move
Lukas Schauer [Thu, 30 Jan 2020 00:45:17 +0000 (01:45 +0100)]
added note about moving the repository
Lukas Schauer [Mon, 11 Nov 2019 21:45:23 +0000 (22:45 +0100)]
added funding.yml
Lukas Schauer [Wed, 9 Oct 2019 00:05:54 +0000 (02:05 +0200)]
fixed small logic bug
Lukas Schauer [Sat, 6 Jul 2019 17:25:32 +0000 (19:25 +0200)]
Merge tag 'v0.6.5'
Lukas Schauer [Wed, 26 Jun 2019 10:29:39 +0000 (12:29 +0200)]
release 0.6.5 (fixed apiv1 compatibility...)
Lukas Schauer [Wed, 26 Jun 2019 10:29:39 +0000 (12:29 +0200)]
release 0.6.5 (fixed apiv1 compatibility...)
Lukas Schauer [Tue, 25 Jun 2019 13:28:09 +0000 (15:28 +0200)]
release 0.6.4 (fixed account id handling, again)
Lukas Schauer [Tue, 25 Jun 2019 10:50:45 +0000 (12:50 +0200)]
release 0.6.3
Lukas Schauer [Tue, 25 Jun 2019 10:19:20 +0000 (12:19 +0200)]
fixed fetching of account information (fixes #652, fixes #647, fixes #650, closes #648)
Lukas Schauer [Mon, 4 Mar 2019 22:14:40 +0000 (23:14 +0100)]
added documentation about possible future removal of api version 1
Lukas Schauer [Mon, 4 Mar 2019 22:08:10 +0000 (23:08 +0100)]
Revert "cleanup: removed api version 1 support (closes #510)"
Since a few CAs out there actually seem to (only) support ACME v1 I
decided to revert the removal and keep ACME v1 around, at least until
it eventually becomes a bigger inconvenience to maintain.
This reverts commit
aadf7d5e648324d74a7558b52f2a504c1c8c356d .
Lukas Schauer [Sun, 3 Mar 2019 20:51:01 +0000 (21:51 +0100)]
BSD bugfixes for version command (closes #619)
Lukas Schauer [Sun, 3 Mar 2019 19:38:38 +0000 (20:38 +0100)]
tiny documentation fix: per-certificate-config can override PRIVATE_KEY_ROLLOVER (closes #614)
Lukas Schauer [Sun, 3 Mar 2019 19:32:10 +0000 (20:32 +0100)]
cleanup: removed api version 1 support (closes #510)
Lukas Schauer [Sun, 3 Mar 2019 19:22:41 +0000 (20:22 +0100)]
new hook: sync_cert (closes #609)
Lukas Schauer [Sun, 3 Mar 2019 19:08:18 +0000 (20:08 +0100)]
call exit_hook with error message (fixes #630)
Lukas Schauer [Sun, 3 Mar 2019 18:58:04 +0000 (19:58 +0100)]
implement POST-as-GET (closes #626)
Lukas Schauer [Fri, 18 Jan 2019 12:21:39 +0000 (13:21 +0100)]
updated oid for tls-alpn verification token (fixes #624)
Lukas Schauer [Sat, 20 Oct 2018 11:05:20 +0000 (13:05 +0200)]
document DOMAINS_D parameter in example config (fixes #575, closes #582)
Lukas Schauer [Sat, 20 Oct 2018 10:27:23 +0000 (12:27 +0200)]
fixed a bug that resulted in a deleted domains.txt when using incorrect parameters in combination with signcsr (fixes #597)
Lukas Schauer [Thu, 26 Jul 2018 02:44:29 +0000 (04:44 +0200)]
implemented initial support for tls-alpn-01 verification
Lukas Schauer [Wed, 9 May 2018 19:01:57 +0000 (21:01 +0200)]
Only match Replace-Nonce header at beginning of line
Florent [Wed, 9 May 2018 17:29:21 +0000 (19:29 +0200)]
Fixes #559 : when HTTP/2 is used, header names are lower case. So adding ignore case option (-i) to grep's.
Lukas Schauer [Mon, 7 May 2018 01:31:43 +0000 (03:31 +0200)]
made ocsp refresh interval configurable
Lukas Schauer [Tue, 1 May 2018 15:54:13 +0000 (17:54 +0200)]
added dns-txt-foo to troubleshooting.md
Lukas Schauer [Fri, 27 Apr 2018 11:08:44 +0000 (13:08 +0200)]
prepare for next version
Lukas Schauer [Wed, 25 Apr 2018 20:57:12 +0000 (22:57 +0200)]
release 0.6.2
Lukas Schauer [Wed, 25 Apr 2018 20:48:16 +0000 (22:48 +0200)]
add explanation on HEADERS parameter to request_failure hook (fixes #545)
Lukas Schauer [Fri, 20 Apr 2018 00:49:09 +0000 (02:49 +0200)]
added workaround for use with advanced filesystem ACLs (as originally suggested in #467)
Tobias Tiederle [Sat, 14 Apr 2018 08:29:54 +0000 (08:29 +0000)]
fix parameter
Lukas Schauer [Fri, 13 Apr 2018 20:09:52 +0000 (22:09 +0200)]
fix behaviour for fetching missing additional account information with unknown keys
Lukas Schauer [Fri, 13 Apr 2018 19:34:11 +0000 (21:34 +0200)]
allow registration using cli-specified private key (#534)
Lukas Schauer [Fri, 13 Apr 2018 18:59:27 +0000 (20:59 +0200)]
also call clean_challenge hook for http-01 challenges (fixes #536)
Lukas Schauer [Sun, 8 Apr 2018 20:44:28 +0000 (22:44 +0200)]
renamed ocsp hook to deploy_ocsp, exported altnames, added example hook
Ike Johnson [Sat, 17 Mar 2018 06:52:45 +0000 (14:52 +0800)]
Add ocsp_update hook
In relation to issue #513
Daniel Molkentin [Mon, 19 Mar 2018 11:49:52 +0000 (12:49 +0100)]
fix date in man page
Lukas Schauer [Sun, 8 Apr 2018 20:16:54 +0000 (22:16 +0200)]
also run request_failure and invalid_challenge when HOOK_CHAIN is defined (fixes #450)
Lukas Schauer [Sun, 8 Apr 2018 20:17:40 +0000 (22:17 +0200)]
fixed cleanup for invalid challenges