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.

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