| 1 |
lacme (0.8.3) upstream; |
| 2 |
|
| 3 |
+ Fix post-issuance validation logic. We avoid pining the |
| 4 |
intermediate certificates in the bundle and instead validate the |
| 5 |
leaf certificate with intermediates supplied during issuance as |
| 6 |
untrusted (used for chain building only). Only the root |
| 7 |
certificates are used as trust anchor. Not pining intermediate |
| 8 |
certificates is in line with Let's Encrypt's latest recommendations. |
| 9 |
+ Pass `-in /dev/stdin` option to openssl(1) to avoid warning with |
| 10 |
OpenSSL 3.2 or later. |
| 11 |
+ Fix test suite. |
| 12 |
|
| 13 |
-- Guilhem Moulin <[email protected]> Thu, 13 Jun 2024 17:39:34 +0200 |
| 14 |
|
| 15 |
lacme (0.8.2) upstream; |
| 16 |
|
| 17 |
+ client: Handle "ready" → "processing" → "valid" status change during |
| 18 |
newOrder, instead of just "ready" → "valid". The latter may be what |
| 19 |
we observe when the server is fast enough, but according to RFC 8555 |
| 20 |
sec. 7.1.6 the state actually transitions via "processing" state and |
| 21 |
we need to account for that. |
| 22 |
- Test suite: Point stretch's archive URL to archive.d.o. |
| 23 |
|
| 24 |
-- Guilhem Moulin <[email protected]> Tue, 25 Apr 2023 20:06:22 +0200 |
| 25 |
|
| 26 |
lacme (0.8.1) upstream; |
| 27 |
|
| 28 |
+ lacme-accountd: improve log messages and refactor logging logic. |
| 29 |
+ lacme-accountd: refuse to sign JWS with an invalid Protected Header. |
| 30 |
+ lacme: don't write certificate(-chain) file on chown/chmod failure. |
| 31 |
+ lacme: default mode for certificate(-chain) creation is 0644 minus |
| 32 |
umask restrictions. Also, always spawn the client with umask 0022 so |
| 33 |
a starting lacme(8) with a restrictive umask doesn't impede serving |
| 34 |
challenge files. |
| 35 |
+ lacme: add 'owner' resp. 'mode' as (prefered) alias for 'chown' resp. |
| 36 |
'chmod'. |
| 37 |
+ lacme: split certificates using Net::SSLeay::PEM_* instead of calling |
| 38 |
openssl. |
| 39 |
+ lacme: pass a temporary JSON file with the client configuration to |
| 40 |
the internal client, so it doesn't have to parse the INI file again. |
| 41 |
- lacme: in the [accountd] config, let lacme-accountd(1) do the |
| 42 |
%-expansion for 'config', not lacme(8) when building the command. |
| 43 |
- lacme-accountd: don't log debug messages unless --debug is set. |
| 44 |
- lacme: when getpwnam()/getgrnam()'s errno is 0, exclude it from error |
| 45 |
messages. |
| 46 |
- tests/drop-privileges: ensure failure to drop privileges yields an |
| 47 |
error instead of retaining root priviliges. |
| 48 |
- tests/cert-install: include tests for failing chown(2) due to unknown |
| 49 |
user/group name. |
| 50 |
- lacme: ignore empty values in settings 'chown', 'chmod', 'certificate' |
| 51 |
and 'certificate-chain'. |
| 52 |
- lacme: return an error when the 'mode'/'chown' isn't a number. |
| 53 |
- Makefile: replace '$(dir $@)' with '$(@D)'. |
| 54 |
- Test suite: Adjust against current Let's Encrypt staging environment. |
| 55 |
|
| 56 |
-- Guilhem Moulin <[email protected]> Wed, 25 Jan 2023 03:23:51 +0100 |
| 57 |
|
| 58 |
lacme (0.8.0) upstream; |
| 59 |
|
| 60 |
* Breaking change: 'challenge-directory' now needs to be set to an |
| 61 |
*existing* directory (writable by the lacme client user). Since |
| 62 |
lacme(8) spawns a builtin webserver by default the change doesn't |
| 63 |
affect default configurations. |
| 64 |
Thanks to Benjamin Tietz for the idea and initial patch. |
| 65 |
* Breaking change: the 'iptables' option is now ignored unless the |
| 66 |
builtin webserver is used. |
| 67 |
* Unprivileged user/group for the internal client resp. webserver are |
| 68 |
now configurable at install time. |
| 69 |
* lacme: new flag `--force`, which aliases to `--min-days=-1`, i.e., |
| 70 |
forces renewal regardless of the expiration date of existing |
| 71 |
certificates. |
| 72 |
* Remove decomissioned intermediate CAs Authority X3 and X4 from the |
| 73 |
bundle. |
| 74 |
* Remove cross-signed intermediate CAs from the bundle and add the |
| 75 |
(self-signed) ISRG Root X1 and X2 instead. This allows us to fully |
| 76 |
validate provided X.509 chains using that self-contained bundle, |
| 77 |
regardless of which CAs is marqued as trusted under /etc/ssl/certs. |
| 78 |
This change bumps the minimum OpenSSL version to 1.1.0. |
| 79 |
* Breaking change: lacme(8) and lacme-accountd(1) respectively load |
| 80 |
their configuration file from /etc/lacme/lacme.conf resp. |
| 81 |
/etc/lacme/lacme-accountd.conf when running as root, and |
| 82 |
$XDG_CONFIG_HOME/lacme/lacme.conf resp. |
| 83 |
$XDG_CONFIG_HOME/lacme/lacme-accountd.conf when running as a normal |
| 84 |
user. There is no fallback to /etc anymore, and the lookup in the |
| 85 |
current directory as prefered choice is removed too. However |
| 86 |
lacme-accountd(1) can be used without configuration file under |
| 87 |
~/.config/lacme as it treats a non-existent default location as an |
| 88 |
empty file. |
| 89 |
* The client, webserver, and accountd commands are now split on |
| 90 |
whitespace. This doesn't change the default behavior but allows |
| 91 |
using `ssh -T [email protected] lacme-accountd` to spawn a |
| 92 |
remote lacme-accountd server for instance. |
| 93 |
* Add test suite against Let's Encrypt's staging environment |
| 94 |
https://letsencrypt.org/docs/staging-environment/ . |
| 95 |
* lacme(8)'s 'config' option in the [accountd] section no longer have a |
| 96 |
default value. The previous default /etc/lacme/lacme-accountd.conf |
| 97 |
is still honored when root privileges are preserved (the default). |
| 98 |
* Deprecate setting 'privkey' in [accountd] section of the lacme(8) |
| 99 |
configuration file. One need to use the lacme-accountd(1) |
| 100 |
configuration file for that instead. |
| 101 |
* lacme(8): add %-specifiers support for --config=, --socket=, |
| 102 |
--config-certs= (and 'socket'/'config-certs'/'challenge-directory' |
| 103 |
configuration options *before* privilege drop; and for the [accountd] |
| 104 |
section 'command'/'config' configuration options *after* privilege |
| 105 |
drop). |
| 106 |
* lacme-accountd(1): add %-specifiers support for --config=, --socket= |
| 107 |
and --privkey= (and 'socket'/'privkey' configuration options). |
| 108 |
* lacme-accountd(1): base64url-decode incoming signature requests shown |
| 109 |
in messages to the standard error. |
| 110 |
* lacme-accountd(1): new setting 'logfile' to log (decoded) incoming |
| 111 |
signature requests to a file. |
| 112 |
* lacme-accountd(1): new setting 'keyid' to easily revoke all account |
| 113 |
management access from the client. |
| 114 |
+ Improve nginx/apache2 snippets for direct serving of challenge files |
| 115 |
(with the new 'challenge-directory' logic symlinks can be disabled). |
| 116 |
+ Split Nginx and Apapche2 static configuration snippets into seperate |
| 117 |
files. That way users prefering that over reverse-proxying can just |
| 118 |
source/enable the relevant files without having to uncomment |
| 119 |
anything. |
| 120 |
+ Add support for TLS Feature extension from RFC 7633; this is mostly |
| 121 |
useful for OCSP Must-Staple. |
| 122 |
+ client: use "lacme-client/$VERSION" as User-Agent header. |
| 123 |
+ Consolidate error messages for consistency. |
| 124 |
+ Sanitize environment when spawning the lacme client, webserver and |
| 125 |
accountd. |
| 126 |
+ accountd: replace internal option --conn-fd=FD with flag --stdio. |
| 127 |
Using stdin/stdout makes it possible to tunnel the accountd |
| 128 |
connection through ssh. The new flag is documented to allow safe |
| 129 |
usage is authorized_keys(5) restrictions. |
| 130 |
+ Remove dependency on List::Util (core module). |
| 131 |
+ accountd: Pass JWA and JWK thumbprint via extended greeting data. |
| 132 |
This gives better forward flexibility. |
| 133 |
- lacme: delay webserver socket shutdown to after the process has |
| 134 |
terminated. |
| 135 |
- documentation: suggest to generate private key material with |
| 136 |
genpkey(1ssl); also suggest a command to generate an ECDSA key not |
| 137 |
just RSA; hint at which key algorithms are supported. |
| 138 |
- documentation: clarify that "file:/path/to/account.key" can point to |
| 139 |
a symmetrically-encrypted private key. |
| 140 |
- documentation: emphasize default values in the config file, and move |
| 141 |
the most common options ('hash', 'keyUsage', 'CAfile', 'min-days') to |
| 142 |
the default section. |
| 143 |
- Raise client timeout from 10 to 30s. |
| 144 |
- Remove dependency on Types::Serialiser. |
| 145 |
- client: fail immediately when the accountd is unreachable. |
| 146 |
- Makefile: set executable bit for $(bindir)/lacme-accountd and |
| 147 |
$(sbindir)/lacme. |
| 148 |
- client: avoid "Use of uninitialized value in pattern match (m//)" |
| 149 |
perl warnings when the accountd socket can't be reached. |
| 150 |
- webserver: reopen stdin from /dev/null. |
| 151 |
- Use 'acme-challenge.XXXXXXXXXX' as template for the temporary ACME |
| 152 |
challenge directory. |
| 153 |
- Set the DEBUG environment variable to 0/1 instead of ""/1. |
| 154 |
- Use File::Basename::dirname() to correctly extract the parent |
| 155 |
directory of the socket path. |
| 156 |
- client: Print Terms of Service URL for 'account' command. |
| 157 |
|
| 158 |
-- Guilhem Moulin <[email protected]> Mon, 22 Feb 2021 03:19:57 +0100 |
| 159 |
|
| 160 |
lacme (0.7) upstream; |
| 161 |
|
| 162 |
* Breaking change: the certificate indicated by 'CAfile' is no longer |
| 163 |
used as is in 'certificate-chain' (along with the leaf cert). The |
| 164 |
chain returned by the ACME v2 endpoint is used instead. This allows |
| 165 |
for more flexibility with respect to key/CA rotation, cf. |
| 166 |
https://letsencrypt.org/2020/11/06/own-two-feet.html and |
| 167 |
https://community.letsencrypt.org/t/beginning-issuance-from-r3/139018 |
| 168 |
+ 'CAfile' now defaults to @@datadir@@/lacme/ca-certificates.crt which |
| 169 |
is a concatenation of all known active CA certificates (which |
| 170 |
includes the previous default). |
| 171 |
|
| 172 |
-- Guilhem Moulin <[email protected]> Wed, 25 Nov 2020 23:39:39 +0100 |
| 173 |
|
| 174 |
lacme (0.6.1) upstream; |
| 175 |
|
| 176 |
+ Adapt Apache2 snippet to Apache2 2.4. |
| 177 |
+ Ignore [accountd] section from lacme.conf when the --socket option is |
| 178 |
defined. This allows remotely-controlled lacme processes being |
| 179 |
controlled without modifying an config files. |
| 180 |
* Makefile: major refactoring, add install and uninstall targets, honor |
| 181 |
BUILD_DOCDIR and DESTDIR variables. |
| 182 |
* Install lacme manual to section 8. |
| 183 |
* Change default libexec dir from /usr/lib/lacme to /usr/libexec/lacme. |
| 184 |
* Makefile: Use variables for target directories etc. |
| 185 |
|
| 186 |
-- Guilhem Moulin <[email protected]> Tue, 04 Aug 2020 01:39:47 +0200 |
| 187 |
|
| 188 |
lacme (0.6) upstream; |
| 189 |
|
| 190 |
+ client: poll order URL instead of each authz URL successively. |
| 191 |
+ lacme: new option 'account --deactivate' for client-initiated account |
| 192 |
deactivation, see RFC 8555 sec. 7.3.6. |
| 193 |
- lacme, client: new dependency Date::Parse, don't parse RFC 3339 |
| 194 |
datetime strings from X.509 certs manually. |
| 195 |
- lacme: assume that the iptables(8) binaries are under /usr/sbin not |
| 196 |
/sbin. As of Buster this is the case, and the maintainer plans to |
| 197 |
drop compatibility symlinks once Bullseye is released. |
| 198 |
- Link to RFC 8555 <https://tools.ietf.org/html/rfc8555> instead of the |
| 199 |
ACME I-D URL. |
| 200 |
- Issue GET and POST-as-GET requests (RFC 8555 sec. 6.3) for the |
| 201 |
authorizations, order and certificate URLs. |
| 202 |
|
| 203 |
-- Guilhem Moulin <[email protected]> Wed, 21 Aug 2019 18:23:50 +0200 |
| 204 |
|
| 205 |
lacme (0.5) upstream; |
| 206 |
|
| 207 |
+ Use ACME v2 endpoints (update protocol to the last draft of the spec |
| 208 |
https://tools.ietf.org/html/draft-ietf-acme-acme-12 ). Remove the |
| 209 |
'reg=' command, and rename the 'new-reg', 'new-cert' and |
| 210 |
'revoke-cert' commands to 'account', 'newOrder', and 'revokeCert' |
| 211 |
respectively, to match the the URI resource names. For backward |
| 212 |
compatibility 'new-cert' and 'revoke-cert' remain supported. |
| 213 |
- Fix manpage generation with pandoc >=2.1 |
| 214 |
|
| 215 |
-- Guilhem Moulin <[email protected]> Thu, 26 Apr 2018 16:48:13 +0200 |
| 216 |
|
| 217 |
lacme (0.4) upstream; |
| 218 |
|
| 219 |
* Fix generation of manpages with pandoc >=1.18 |
| 220 |
* Copy snippets/*.conf to /etc/lacme |
| 221 |
|
| 222 |
-- Guilhem Moulin <[email protected]> Fri, 28 Jul 2017 00:16:06 +0200 |
| 223 |
|
| 224 |
lacme (0.3) upstream; |
| 225 |
|
| 226 |
+ When parsing config-cert files and directories (default "lacme-certs.conf |
| 227 |
lacme-certs.conf.d"), import the default section of files read earlier. |
| 228 |
+ new-cert: create certificate files atomically. |
| 229 |
+ webserver: allow listening to multiple addresses (useful when |
| 230 |
dual IPv4/IPv6 stack is not supported). Listen to a UNIX-domain |
| 231 |
socket by default </var/run/lacme-www.socket>. |
| 232 |
+ webserver: don't install temporary iptables by default. Hosts |
| 233 |
without a public HTTP daemon listening on port 80 need to set the |
| 234 |
'listen' option to [::] and/or 0.0.0.0, and possibly set the |
| 235 |
'iptables' option to Yes. |
| 236 |
+ Change 'min-days' default from 10 to 21, to avoid expiration notices |
| 237 |
from Let's Encrypt when auto-renewal is done by a cronjob. |
| 238 |
+ Provide nginx and apache2 configuration snippets. |
| 239 |
- Ensure lacme's config file descriptor is not passed to the accountd |
| 240 |
or webserver components. |
| 241 |
- new-cert: sort section names if not passed explicitely. |
| 242 |
- new-cert: new CLI option "min-days" overriding the value found in |
| 243 |
the configuration file. |
| 244 |
- new-cert: mark the basicConstraints (CA:FALSE) and keyUsage x509v3 |
| 245 |
extensions as critical in the CSR, following upstream fix of |
| 246 |
Boulder's issue #565. |
| 247 |
- webserver: refuse to follow symlink when serving ACME challenge |
| 248 |
responses. When dropping privileges to a dedicated UID |
| 249 |
(recommended) only the ACME client could write to its current |
| 250 |
directory anyway, so following symlinks was not a serious |
| 251 |
vulnerability. |
| 252 |
- lacme(1), lacme-accountd(1): fix version number shown with |
| 253 |
--version. |
| 254 |
- client: remove potential race when creating ACME challenge response |
| 255 |
files. |
| 256 |
- When using open with mode "<&=" or ">&=", ensure the expression |
| 257 |
(fileno) is interpreted as an integer. (This failed in Perl v5.14.2 |
| 258 |
from Debian Jessie.) |
| 259 |
- Specify minimum required Perl version (v5.14.2). Moreover lacme(1) |
| 260 |
requires Socket 1.95 or later (for instance for IPPROTO_IPV6). |
| 261 |
|
| 262 |
-- Guilhem Moulin <[email protected]> Sun, 19 Feb 2017 13:08:41 +0100 |
| 263 |
|
| 264 |
lacme (0.2) upstream; |
| 265 |
|
| 266 |
+ Honor Retry-After headers for certificate issuance and challenge |
| 267 |
responses. |
| 268 |
+ Update example of Subscriber Agreement URL to v1.1.1. |
| 269 |
+ lacme: automaticall spawn lacme-acountd when a "[accountd]" section |
| 270 |
is present in the configuration file. The "socket" option is then |
| 271 |
ignored, and the two processes communicate through a socket pair. |
| 272 |
+ lacme: add an option --quiet to avoid mentioning valid certs (useful |
| 273 |
in cronjobs) |
| 274 |
+ "config-certs" now points to a space separated list of files or |
| 275 |
directories. New default "lacme-certs.conf lacme-certs.conf.d/". |
| 276 |
- Minor manpage fixes |
| 277 |
- More useful message upon Validation Challenge failure. |
| 278 |
- If restricting access via umask() fails, don't include errno in the |
| 279 |
error message as it's not set on failure. |
| 280 |
|
| 281 |
-- Guilhem Moulin <[email protected]> Sat, 03 Dec 2016 16:40:56 +0100 |
| 282 |
|
| 283 |
lacme (0.1) upstream; |
| 284 |
|
| 285 |
* Initial public release. Development was started in December 2015. |
| 286 |
|
| 287 |
-- Guilhem Moulin <[email protected]> Tue, 14 Jun 2016 17:30:58 +0200 |