You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

455 lines
12 KiB

5 years ago
1 month ago
12 months ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
  1. [//]: # (Copyright 2019-2020 Rodolphe Bréard <rodolphe@breard.tf>)
  2. [//]: # (Copying and distribution of this file, with or without modification,)
  3. [//]: # (are permitted in any medium without royalty provided the copyright)
  4. [//]: # (notice and this notice are preserved. This file is offered as-is,)
  5. [//]: # (without any warranty.)
  6. # Changelog
  7. All notable changes to this project will be documented in this file.
  8. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
  9. and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
  10. ## [Unreleased]
  11. ### Changed
  12. - Instead of loading a default configuration file, ACMEd now loads all the
  13. files from a default configuration directory (by default,
  14. `/etc/acmed/conf-enabled`).
  15. - The configuration arrays for accounts, endpoints, rate limits, hooks and
  16. groups has been replaced by tables.
  17. - The name of user-defined hooks and groups cannot start with `internal:`,
  18. which is now reserved for internal hooks.
  19. ### Removed
  20. - OpenSSL support has been removed.
  21. - tacd has been removed.
  22. - The `include` directive has been removed from the configuration.
  23. ## [0.24.0] - 2024-12-21
  24. ### Added
  25. - The file extension can now be customized.
  26. ### Changed
  27. - tacd does no longer supports OpenSSL 1.0.
  28. ## [0.23.0] - 2024-02-10
  29. ### Added
  30. - The `challenge-tls-alpn-01` hook now exposes the `raw_proof` variable, which
  31. contains the SHA-256 digest of the key authorization, encoded using Base64
  32. URL scheme without padding.
  33. ### Changed
  34. - The minimum supported Rust version (MSRV) is now 1.74.
  35. ## [0.22.2] - 2024-01-09
  36. ### Fixed
  37. - The default hooks were not properly updated during the 0.22.0 release, which
  38. causes the certificate renewal to fail.
  39. ## [0.22.1] - 2023-12-20
  40. ### Fixed
  41. - The `Cargo.lock` file is now updated before a new version is released (GitHub
  42. bug #103).
  43. ## [0.22.0] - 2023-12-20
  44. ### Fixed
  45. - ACMEd no longer crashes when the `random_early_renew` parameter is set to
  46. zero (GitHub bug #102).
  47. ### Changed
  48. - The minimum supported Rust version (MSRV) is now 1.70.
  49. - Manual (and badly designed) threads have been replaced by async.
  50. - Randomized early delay, for spacing out renewals when dealing with a lot of
  51. certificates.
  52. - Replaced the template engine TinyTemplate with MiniJinja.
  53. - The default period of time between the certificate renewal and its expiration
  54. date (`renew_delay`) has been changed from 3 weeks to 30 days.
  55. ## [0.21.0] - 2022-12-19
  56. ### Fixed
  57. - The JWK representation of ECDSA keys now have their coordinates padded.
  58. ### Changed
  59. - The minimal required Rust version is now 1.60.
  60. ## [0.20.0] - 2022-05-08
  61. ### Added
  62. - The `--no-pid-file` argument has been added to ACMEd and tacd.
  63. ### Fixed
  64. - An invalid reference in the command line arguments has been fixed.
  65. - Some missing file path in log messages has been added.
  66. - The calculation of the certificate's expiration delay does no longer break
  67. compilation on some systems.
  68. ## [0.19.0] - 2022-04-17
  69. ### Added
  70. - The `acmed@user.service` systemd unit configuration has been added as an
  71. alternative to the `acmed.service` unit.
  72. ### Changed
  73. - The minimal required Rust version is now 1.54.
  74. ## [0.18.0] - 2021-06-13
  75. ### Added
  76. - Add support for Ed25519 and Ed448 account keys and certificates.
  77. - In addition to `restart`, the Polkit rule also allows the `reload`,
  78. `try-restart`, `reload-or-restart` and `try-reload-or-restart` verbs.
  79. ## [0.17.0] - 2021-05-04
  80. ### Added
  81. - Allow the configuration of some default values at compile time using
  82. environment variables.
  83. ### Changed
  84. - The template engine has been changed in favor of TinyTemplate, which has a
  85. different syntax than the previous one.
  86. - The default account directory now is `/var/lib/acmed/accounts`.
  87. - The default certificates and private keys directory now is
  88. `/var/lib/acmed/certs`.
  89. - The default for volatile runtime data now is `/run`.
  90. ## [0.16.0] - 2020-11-11
  91. ### Added
  92. - The `pkcs9_email_address`, `postal_address` and `postal_code` subject
  93. attributes has been added.
  94. ### Changed
  95. - The `friendly_name` and `pseudonym` subject attributes has been removed.
  96. - The `street_address` subject attribute has been renamed `street`.
  97. ## [0.15.0] - 2020-11-03
  98. ### Added
  99. - The names of both the certificate file and the associated private key can now
  100. be configured.
  101. ### Fixed
  102. - Configuration files cannot be loaded more than one time, which prevents
  103. infinite recursion.
  104. ### Changed
  105. - Certificates are now allowed to share the same name if their respective key
  106. type is different.
  107. ## [0.14.0] - 2020-10-27
  108. ### Added
  109. - Add proxy support through the `HTTP_PROXY`, `HTTPS_PROXY` and `NO_PROXY`
  110. environment variables.
  111. - Allow to specify a unique name for each certificate.
  112. ### Changed
  113. - The minimal required Rust version is 1.42.0.
  114. ## [0.13.0] - 2020-10-10
  115. ### Added
  116. - In the configuration, `root_certificates` has been added to the `global` and
  117. `endpoint` sections as an array of strings representing the path to root
  118. certificate files.
  119. - At compilation, it is now possible to statically link OpenSSL using the
  120. `openssl_vendored` feature.
  121. - In the Makefile, it is now possible to specify which target triple to build
  122. for.
  123. ## [0.12.0] - 2020-09-26
  124. ### Added
  125. - Some subject attributes can now be specified.
  126. - Support for NIST P-521 certificates and account keys.
  127. ### Fixed
  128. - Support for Let's Encrypt non-standard account creation object.
  129. ## [0.11.0] - 2020-09-19
  130. ### Added
  131. - The `contacts` account configuration field has been added.
  132. - External account binding.
  133. ### Changed
  134. - The `email` account configuration field has been removed. In replacement, use
  135. the `contacts` field.
  136. - Accounts now have their own hooks and environment.
  137. - Accounts are now stored in a single binary file.
  138. ### Fixed
  139. - ACMEd can now build on platforms with a `time_t` not defined as an `i64`.
  140. - The Makefile is now fully works on FreeBSD.
  141. ## [0.10.0] - 2020-08-27
  142. ### Added
  143. - The account key type and signature algorithm can now be specified in the
  144. configuration using the `key_type` and `signature_algorithm` parameters.
  145. - The delay to renew a certificate before its expiration date can be specified
  146. in the configuration using the `renew_delay` parameter at either the
  147. certificate, endpoint and global level.
  148. - It is now possible to specify IP identifiers (RFC 8738) using the `ip`
  149. parameter instead of the `dns` one.
  150. - The hook templates of type `challenge-*` have a new `identifier_tls_alpn`
  151. field which contains, if available, the identifier in a form that is suitable
  152. to the TLS ALPN challenge.
  153. - Globing is now supported for configuration files inclusion.
  154. - The CSR's digest algorithm can now be specified using the `csr_digest`
  155. parameter.
  156. ### Changed
  157. - In the certificate configuration, the `domains` field has been renamed
  158. `identifiers`.
  159. - The `algorithm` certificate configuration field has been renamed `key_type`.
  160. - The `algorithm` hook template variable has been renamed `key_type`.
  161. - The `domain` hook template variable has been renamed `identifier`.
  162. - The default hooks have been updated.
  163. ### Fixed
  164. - The Makefile now works on FreeBSD. It should also work on other BSD although
  165. it has not been tested.
  166. ## [0.9.0] - 2020-08-01
  167. ### Added
  168. - System users and groups can now be specified by name in addition to uid/gid.
  169. ### Changed
  170. - The HTTP(S) part is now handled by `attohttpc` instead of `reqwest`.
  171. ### Fixed
  172. - In tacd, the `--acme-ext-file` parameter is now in conflict with `acme-ext`
  173. instead of itself.
  174. ## [0.8.0] - 2020-06-12
  175. ### Changed
  176. - The HTTP(S) part is now handled by `reqwest` instead of `http_req`.
  177. ### Fixed
  178. - `make install` now work with the busybox toolchain.
  179. ## [0.7.0] - 2020-03-12
  180. ### Added
  181. - Wildcard certificates are now supported. In the file name, the `*` is
  182. replaced by `_`.
  183. - Internationalized domain names are now supported.
  184. ### Changed
  185. - The PID file is now always written whether or not ACMEd is running in the
  186. foreground. Previously, it was written only when running in the background.
  187. ### Fixed
  188. - In the directory, the `externalAccountRequired` field is now a boolean
  189. instead of a string.
  190. ## [0.6.1] - 2019-09-13
  191. ### Fixed
  192. - A race condition when requesting multiple certificates on the same
  193. non-existent account has been fixed.
  194. - The `foregroung` option has been renamed `foreground`.
  195. ## [0.6.0] - 2019-06-05
  196. ### Added
  197. - Hooks now have the optional `allow_failure` field.
  198. - In hooks, the `stdin_str` has been added in replacement of the previous
  199. `stdin` behavior.
  200. - HTTPS request rate limits.
  201. ### Changed
  202. - Certificates are renewed in parallel.
  203. - Hooks are now cleaned right after the current challenge has been validated
  204. instead of after the certificate's retrieval.
  205. - In hooks, the `stdin` field now refers to the path of the file that should be
  206. written into the hook's standard input.
  207. - The logging format has been re-written.
  208. ### Fixed
  209. - The http-01-echo hook now correctly sets the file's access rights
  210. ## [0.5.0] - 2019-05-09
  211. ### Added
  212. - ACMEd now displays a warning when the server indicates an error in an order
  213. or an authorization.
  214. - A configuration file can now include several other files.
  215. - Hooks have access to environment variables.
  216. - In the configuration, the global section, certificates and domains can define
  217. environment variables for the hooks.
  218. - tacd is now able to listen on a unix socket.
  219. ## [0.4.0] - 2019-05-08
  220. ### Added
  221. - Man pages.
  222. - The project can now be built and installed using `make`.
  223. - The post-operation hooks now have access to the `is_success` template
  224. variable.
  225. - Challenge hooks now have the `is_clean_hook` template variable.
  226. - An existing certificate will be renewed if more domains have been added in
  227. the configuration.
  228. ### Changed
  229. - Unknown configuration fields are no longer tolerated.
  230. ### Removed
  231. - In challenge hooks, the `algorithm` template variable has been removed.
  232. ### Fixed
  233. - In some cases, ACMEd was unable to parse a certificate's expiration date.
  234. ## [0.3.0] - 2019-04-30
  235. ### Added
  236. - tacd, the TLS-ALPN-01 validation daemon.
  237. - An account object has been added in the configuration.
  238. - In the configuration, hooks now have a mandatory `type` variable.
  239. - It is now possible to declare hooks to clean after the challenge validation
  240. hooks.
  241. - The CLI `--root-cert` option has been added.
  242. - Failure recovery: HTTPS requests rejected by the server that are recoverable,
  243. like the badNonce error, are now retried several times before being
  244. considered a hard failure.
  245. - The TLS-ALPN-01 challenge is now supported. The proof is a string
  246. representation of the acmeIdentifier extension. The self-signed certificate
  247. itself has to be built by a hook.
  248. ### Changed
  249. - In the configuration, the `email` certificate field has been replaced by the
  250. `account` field which matches an account object.
  251. - The format of the `domain` configuration variable has changed and now
  252. includes the challenge type.
  253. - The `token` challenge hook variable has been renamed `file_name`.
  254. - The `challenge_hooks`, `post_operation_hooks`, `file_pre_create_hooks`,
  255. `file_post_create_hooks`, `file_pre_edit_hooks` and `file_post_edit_hooks`
  256. certificate variables has been replaced by `hooks`.
  257. - The logs has been purged from many useless debug and trace entries.
  258. ### Removed
  259. - The DER storage format has been removed.
  260. - The `challenge` certificate variables has been removed.
  261. ## [0.2.1] - 2019-03-30
  262. ### Fixed
  263. - The bug that prevented from requesting more than two certificates has been
  264. fixed.
  265. ## [0.2.0] - 2019-03-27
  266. ### Added
  267. - The `kp_reuse` flag allow to reuse a key pair instead of creating a new one
  268. at each renewal.
  269. - It is now possible to define hook groups that can reference either hooks or
  270. other hook groups.
  271. - Hooks can be defined when before and after a file is created or edited
  272. (`file_pre_create_hooks`, `file_post_create_hooks`, `file_pre_edit_hooks` and
  273. `file_post_edit_hooks`).
  274. - It is now possible to send logs either to syslog or stderr using the
  275. `--to-syslog` and `--to-stderr` arguments.
  276. ### Changed
  277. - `post_operation_hook` has been renamed `post_operation_hooks`.
  278. - By default, logs are now sent to syslog instead of stderr.
  279. - The process is now daemonized by default. It is possible to still run it in
  280. the foreground using the `--foregroung` flag.