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.

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