Merge pull request #2119 from fraenki/acme_201

security/acme-client: release 2.1
This commit is contained in:
Frank Wall
2020-11-22 23:43:10 +01:00
committed by GitHub
3 changed files with 10 additions and 5 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
PLUGIN_NAME= acme-client
PLUGIN_VERSION= 2.0
PLUGIN_VERSION= 2.1
PLUGIN_COMMENT= Let's Encrypt client
PLUGIN_MAINTAINER= opnsense@moov.de
PLUGIN_DEPENDS= acme.sh py${PLUGIN_PYTHON}-dns-lexicon
+7 -2
View File
@@ -8,6 +8,11 @@ WWW: https://github.com/acmesh-official/acme.sh
Plugin Changelog
================
2.1
Fixed:
* fix creation of nsupdate secrets file
2.0
Added:
@@ -18,13 +23,13 @@ Added:
* add plugin changelog
Fixed:
* fix bug where configuration could get lost (#1526)
* fix bug where configuration changes could get lost (#1526)
* fix Cyon DNS API (password not set)
Changed:
* now an Automation may run multiple times during bulk issue/renewal (previously only once)
* rename "Validation Methods" to "Challenge Types" to adopt official LE wording
* rename Menu entry "Automation" to "Automations"
* rename menu entry "Automation" to "Automations"
* specify python version for gcloud SDK
* rephrase several log messages
* add more detailed output when debug logging is enabled
@@ -39,9 +39,9 @@ class DnsNsupdate extends Base implements LeValidationInterface
{
public function prepare()
{
$configdir = (string)sprintf(self::ACME_CONFIG_DIR, $this->cert_uuid);
$configdir = (string)sprintf(self::ACME_CONFIG_DIR, $this->cert_id);
$secret_key_filename = "${configdir}/secret.key";
$secret_key_data = (string)$this->config->dns_nsupdate_key . '\n';
$secret_key_data = (string)$this->config->dns_nsupdate_key . "\n";
file_put_contents($secret_key_filename, $secret_key_data);
// Add env variables