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.

267 lines
9.9 KiB

5 years ago
3 years ago
3 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
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.0.0/),
  9. and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
  10. ## [0.20.0] - 2022-05-08
  11. ### Added
  12. - The `--no-pid-file` argument has been added to ACMEd and tacd.
  13. ### Fixed
  14. - An invalid reference in the command line arguments has been fixed.
  15. - Some missing file path in log messages has been added.
  16. - The calculation of the certificate's expiration delay does no longer break compilation on some systems.
  17. ## [0.19.0] - 2022-04-17
  18. ### Added
  19. - The `acmed@user.service` systemd unit configuration has been added as an alternative to the `acmed.service` unit.
  20. ### Changed
  21. - The minimal required Rust version is now 1.54.
  22. ## [0.18.0] - 2021-06-13
  23. ### Added
  24. - Add support for Ed25519 and Ed448 account keys and certificates.
  25. - In addition to `restart`, the Polkit rule also allows the `reload`, `try-restart`, `reload-or-restart` and `try-reload-or-restart` verbs.
  26. ## [0.17.0] - 2021-05-04
  27. ### Added
  28. - Allow the configuration of some default values at compile time using environment variables.
  29. ### Changed
  30. - The template engine has been changed in favor of TinyTemplate, which has a different syntax than the previous one.
  31. - The default account directory now is `/var/lib/acmed/accounts`.
  32. - The default certificates and private keys directory now is `/var/lib/acmed/certs`.
  33. - The default for volatile runtime data now is `/run`.
  34. ## [0.16.0] - 2020-11-11
  35. ### Added
  36. - The `pkcs9_email_address`, `postal_address` and `postal_code` subject attributes has been added.
  37. ### Changed
  38. - The `friendly_name` and `pseudonym` subject attributes has been removed.
  39. - The `street_address` subject attribute has been renamed `street`.
  40. ## [0.15.0] - 2020-11-03
  41. ### Added
  42. - The names of both the certificate file and the associated private key can now be configured.
  43. ### Fixed
  44. - Configuration files cannot be loaded more than one time, which prevents infinite recursion.
  45. ### Changed
  46. - Certificates are now allowed to share the same name if their respective key type is different.
  47. ## [0.14.0] - 2020-10-27
  48. ### Added
  49. - Add proxy support through the `HTTP_PROXY`, `HTTPS_PROXY` and `NO_PROXY` environment variables.
  50. - Allow to specify a unique name for each certificate.
  51. ### Changed
  52. - The minimal required Rust version is 1.42.0.
  53. ## [0.13.0] - 2020-10-10
  54. ### Added
  55. - In the configuration, `root_certificates` has been added to the `global` and `endpoint` sections as an array of strings representing the path to root certificate files.
  56. - At compilation, it is now possible to statically link OpenSSL using the `openssl_vendored` feature.
  57. - In the Makefile, it is now possible to specify which target triple to build for.
  58. ## [0.12.0] - 2020-09-26
  59. ### Added
  60. - Some subject attributes can now be specified.
  61. - Support for NIST P-521 certificates and account keys.
  62. ### Fixed
  63. - Support for Let's Encrypt non-standard account creation object.
  64. ## [0.11.0] - 2020-09-19
  65. ### Added
  66. - The `contacts` account configuration field has been added.
  67. - External account binding.
  68. ### Changed
  69. - The `email` account configuration field has been removed. In replacement, use the `contacts` field.
  70. - Accounts now have their own hooks and environment.
  71. - Accounts are now stored in a single binary file.
  72. ### Fixed
  73. - ACMEd can now build on platforms with a `time_t` not defined as an `i64`.
  74. - The Makefile is now fully works on FreeBSD.
  75. ## [0.10.0] - 2020-08-27
  76. ### Added
  77. - The account key type and signature algorithm can now be specified in the configuration using the `key_type` and `signature_algorithm` parameters.
  78. - The delay to renew a certificate before its expiration date can be specified in the configuration using the `renew_delay` parameter at either the certificate, endpoint and global level.
  79. - It is now possible to specify IP identifiers (RFC 8738) using the `ip` parameter instead of the `dns` one.
  80. - The hook templates of type `challenge-*` have a new `identifier_tls_alpn` field which contains, if available, the identifier in a form that is suitable to the TLS ALPN challenge.
  81. - Globing is now supported for configuration files inclusion.
  82. - The CSR's digest algorithm can now be specified using the `csr_digest` parameter.
  83. ### Changed
  84. - In the certificate configuration, the `domains` field has been renamed `identifiers`.
  85. - The `algorithm` certificate configuration field has been renamed `key_type`.
  86. - The `algorithm` hook template variable has been renamed `key_type`.
  87. - The `domain` hook template variable has been renamed `identifier`.
  88. - The default hooks have been updated.
  89. ### Fixed
  90. - The Makefile now works on FreeBSD. It should also work on other BSD although it has not been tested.
  91. ## [0.9.0] - 2020-08-01
  92. ### Added
  93. - System users and groups can now be specified by name in addition to uid/gid.
  94. ### Changed
  95. - The HTTP(S) part is now handled by `attohttpc` instead of `reqwest`.
  96. ### Fixed
  97. - In tacd, the `--acme-ext-file` parameter is now in conflict with `acme-ext` instead of itself.
  98. ## [0.8.0] - 2020-06-12
  99. ### Changed
  100. - The HTTP(S) part is now handled by `reqwest` instead of `http_req`.
  101. ## Fixed
  102. - `make install` now work with the busybox toolchain.
  103. ## [0.7.0] - 2020-03-12
  104. ### Added
  105. - Wildcard certificates are now supported. In the file name, the `*` is replaced by `_`.
  106. - Internationalized domain names are now supported.
  107. ### Changed
  108. - The PID file is now always written whether or not ACMEd is running in the foreground. Previously, it was written only when running in the background.
  109. ### Fixed
  110. - In the directory, the `externalAccountRequired` field is now a boolean instead of a string.
  111. ## [0.6.1] - 2019-09-13
  112. ### Fixed
  113. - A race condition when requesting multiple certificates on the same non-existent account has been fixed.
  114. - The `foregroung` option has been renamed `foreground`.
  115. ## [0.6.0] - 2019-06-05
  116. ### Added
  117. - Hooks now have the optional `allow_failure` field.
  118. - In hooks, the `stdin_str` has been added in replacement of the previous `stdin` behavior.
  119. - HTTPS request rate limits.
  120. ### Changed
  121. - Certificates are renewed in parallel.
  122. - Hooks are now cleaned right after the current challenge has been validated instead of after the certificate's retrieval.
  123. - In hooks, the `stdin` field now refers to the path of the file that should be written into the hook's standard input.
  124. - The logging format has been re-written.
  125. ### Fixed
  126. - The http-01-echo hook now correctly sets the file's access rights
  127. ## [0.5.0] - 2019-05-09
  128. ### Added
  129. - ACMEd now displays a warning when the server indicates an error in an order or an authorization.
  130. - A configuration file can now include several other files.
  131. - Hooks have access to environment variables.
  132. - In the configuration, the global section, certificates and domains can define environment variables for the hooks.
  133. - tacd is now able to listen on a unix socket.
  134. ## [0.4.0] - 2019-05-08
  135. ### Added
  136. - Man pages.
  137. - The project can now be built and installed using `make`.
  138. - The post-operation hooks now have access to the `is_success` template variable.
  139. - Challenge hooks now have the `is_clean_hook` template variable.
  140. - An existing certificate will be renewed if more domains have been added in the configuration.
  141. ### Changed
  142. - Unknown configuration fields are no longer tolerated.
  143. ### Removed
  144. - In challenge hooks, the `algorithm` template variable has been removed.
  145. ### Fixed
  146. - In some cases, ACMEd was unable to parse a certificate's expiration date.
  147. ## [0.3.0] - 2019-04-30
  148. ### Added
  149. - tacd, the TLS-ALPN-01 validation daemon.
  150. - An account object has been added in the configuration.
  151. - In the configuration, hooks now have a mandatory `type` variable.
  152. - It is now possible to declare hooks to clean after the challenge validation hooks.
  153. - The CLI `--root-cert` option has been added.
  154. - Failure recovery: HTTPS requests rejected by the server that are recoverable, like the badNonce error, are now retried several times before being considered a hard failure.
  155. - The TLS-ALPN-01 challenge is now supported. The proof is a string representation of the acmeIdentifier extension. The self-signed certificate itself has to be built by a hook.
  156. ### Changed
  157. - In the configuration, the `email` certificate field has been replaced by the `account` field which matches an account object.
  158. - The format of the `domain` configuration variable has changed and now includes the challenge type.
  159. - The `token` challenge hook variable has been renamed `file_name`.
  160. - The `challenge_hooks`, `post_operation_hooks`, `file_pre_create_hooks`, `file_post_create_hooks`, `file_pre_edit_hooks` and `file_post_edit_hooks` certificate variables has been replaced by `hooks`.
  161. - The logs has been purged from many useless debug and trace entries.
  162. ### Removed
  163. - The DER storage format has been removed.
  164. - The `challenge` certificate variables has been removed.
  165. ## [0.2.1] - 2019-03-30
  166. ### Changed
  167. - The bug that prevented from requesting more than two certificates has been fixed.
  168. ## [0.2.0] - 2019-03-27
  169. ### Added
  170. - The `kp_reuse` flag allow to reuse a key pair instead of creating a new one at each renewal.
  171. - It is now possible to define hook groups that can reference either hooks or other hook groups.
  172. - Hooks can be defined when before and after a file is created or edited (`file_pre_create_hooks`, `file_post_create_hooks`, `file_pre_edit_hooks` and `file_post_edit_hooks`).
  173. - It is now possible to send logs either to syslog or stderr using the `--to-syslog` and `--to-stderr` arguments.
  174. ### Changed
  175. - `post_operation_hook` has been renamed `post_operation_hooks`.
  176. - By default, logs are now sent to syslog instead of stderr.
  177. - The process is now daemonized by default. It is possible to still run it in the foreground using the `--foregroung` flag.