Merge pull request #3806 from fraenki/acme_410

security/acme-client: release 4.1
This commit is contained in:
Frank Wall 2024-02-19 17:02:21 +01:00 committed by GitHub
commit f59272aaac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 3 deletions

View file

@ -1,5 +1,5 @@
PLUGIN_NAME= acme-client
PLUGIN_VERSION= 4.0
PLUGIN_VERSION= 4.1
PLUGIN_COMMENT= ACME Client
PLUGIN_MAINTAINER= opnsense@moov.de
PLUGIN_DEPENDS= acme.sh py${PLUGIN_PYTHON}-dns-lexicon

View file

@ -8,6 +8,11 @@ WWW: https://github.com/acmesh-official/acme.sh
Plugin Changelog
================
4.1
Fixed:
* automation does not start (#3790)
4.0
NOTE: This is a new major release with backwards-incompatible changes.

View file

@ -129,10 +129,9 @@ abstract class Base extends \OPNsense\AcmeClient\LeCommon
. ' '
. '--deploy '
. implode(' ', $this->acme_args);
LeUtils::log_debug('running acme.sh command: ' . (string)$acmecmd, $this->debug);
$proc = proc_open($acmecmd, $proc_desc, $proc_pipes, null, $proc_env);
// Run acme.sh command
LeUtils::log_debug('running acme.sh command: ' . (string)$acmecmd, $this->debug);
$result = LeUtils::run_shell_command($acmecmd, $proc_env);
// acme.sh records the last used deploy hook and would automatically