[pve-devel] [PATCH docs v2] acme: add note about validation delay

2024-06-18 Thread Folke Gleumes
The effect and unit of the validation delay was unclear from our documentation, and the link to the acme.sh documentation didn't explain it either Signed-off-by: Folke Gleumes --- since v1: * slight rewording suggested by Alex certificate-management.adoc | 4 +++- 1 file changed, 3 inser

[pve-devel] [PATCH docs] acme: add note about validation delay

2024-06-18 Thread Folke Gleumes
The effect and unit of the validation delay was unclear from our documentation, and the link to the acme.sh documentation didn't explain it either Signed-off-by: Folke Gleumes --- certificate-management.adoc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/certif

Re: [pve-devel] [PATCH manager] acme: ui: handle missing meta field in directory response

2024-04-22 Thread Folke Gleumes
Forgot the reported by trailer: Reported-by: Stoiko Ivanov On Mon, 2024-04-22 at 11:01 +0200, Folke Gleumes wrote: > When none of the meta fields is set by the directory, the whole > dictionary is missing from the response, leading to an exception > when testing for fields

[pve-devel] [PATCH manager] acme: ui: handle missing meta field in directory response

2024-04-22 Thread Folke Gleumes
When none of the meta fields is set by the directory, the whole dictionary is missing from the response, leading to an exception when testing for fields inside it. Signed-off-by: Folke Gleumes --- www/manager6/node/ACME.js | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff

Re: [pve-devel] [PATCH http-server v2] http: support Content-Encoding=deflate

2024-04-18 Thread Folke Gleumes
Gave this a test with: Accept-encoding: deflate Accept-encoding: deflate, gzip Accept-encoding: foobar Everything worked as expected, the first case returned a zlib compressed file, the second gzip and the third just plaintext. Consider this Tested-by: Folke Gleumes On Wed, 2024-04-17 at 13

[pve-devel] [PATCH manager v2 0/2] fix #5093 add custom directory and eab to ui

2024-04-17 Thread Folke Gleumes
This patch series adds the option to set a custom directory for ACME and enables the user to use external account binding, which is required by some providers. manager: Folke Gleumes (2): fix #5093: webui: acme: custom directory option webui: acme: add eab fields www/manager6/node/ACME.js

[pve-devel] [PATCH manager v2 2/2] webui: acme: add eab fields

2024-04-17 Thread Folke Gleumes
Adds fields for eab credentials. By default eab is optional, but if the directory should report that eab is required, the eab credential fields are marked as mandatory and prevent the form from being submittable until credentials are provided. Signed-off-by: Folke Gleumes --- www/manager6/node

[pve-devel] [PATCH manager v2 1/2] fix #5093: webui: acme: custom directory option

2024-04-17 Thread Folke Gleumes
y on every input. Signed-off-by: Folke Gleumes --- changes since v1: * re-add 'allowBlank: false' to disable the clear trigger www/manager6/node/ACME.js | 139 +- 1 file changed, 107 insertions(+), 32 deletions(-) diff --git a/www/manager6/node/ACME.js

Re: [pve-devel] [PATCH pve-flutter-frontend v2] node overview: add power settings menu

2024-04-17 Thread Folke Gleumes
?"), > +    actions: [ > +  TextButton( > +  onPressed: () => Navigator.of(context).pop(true), > +  child: const Text("Yes")), > +  TextButton( > +  onPressed: () => N

Re: [pve-devel] [PATCH v2 access-control] fix #5335: stable sorting in user.cfg

2024-04-16 Thread Folke Gleumes
update it whenever we are touching it [0]. If you haven't done so already, you need to agree to the Harmony CLI before we can accept your contribution [1]. Gave it a spin and ran some configurations, so you can consider this: Tested-by: Folke Gleumes [0] https://pve.proxmox.com

Re: [pve-devel] [PATCH manager 0/2] fix #5093 add custom directory and eab to ui

2024-04-16 Thread Folke Gleumes
ping still applies cleanly and works On Tue, 2024-01-16 at 15:33 +0100, Folke Gleumes wrote: > This patch series adds the option to set a custom directory for ACME > and > enables the user to use external account binding, which is required > by > some providers. > > Folke

[pve-devel] [PATCH kernel 1/1] cherry-pick improved erratum 1386 workaround

2024-04-15 Thread Folke Gleumes
-wise. Signed-off-by: Folke Gleumes --- Tested this on an AMD Epyc 7302P v2. This patch is intended for the bookworm-6.5 branch. ...-Improve-the-erratum-1386-workaround.patch | 83 +++ 1 file changed, 83 insertions(+) create mode 100644 patches/kernel/0017-x86-CPU-AMD-Improve

[pve-devel] [PATCH kernel 1/1] cherry-pick improved erratum 1386 workaround

2024-04-15 Thread Folke Gleumes
The original fix disabled the xsaves feature for zen1/2. The issue has since been fixed in the cpus microcode and this patch keeps the feature enabled if the microcode version is recent enough to contain the fix. Signed-off-by: Folke Gleumes --- Tested this on an AMD Epyc 7302P v2

[pve-devel] [PATCH common] docs: add missing prefix

2024-03-27 Thread Folke Gleumes
include 'PVEAPIToken=' prefix in the example for target-endpoint which is mainly used for remote migrations. Signed-off-by: Folke Gleumes --- src/PVE/JSONSchema.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PVE/JSONSchema.pm b/src/PVE/JSONSchema.pm ind

[pve-devel] [PATCH docs] zfs: add a note about dRaid performance

2024-03-20 Thread Folke Gleumes
Based on statements from the openZFS documentation where it is described as providing "the same level of redundancy and performance as raidz" [0]. [0] https://openzfs.github.io/openzfs-docs/Basic%20Concepts/dRAID%20Howto.html --- local-zfs.adoc | 2 ++ 1 file changed, 2 insertions(+) diff --git

[pve-devel] [PATCH container v3] pct: add keep-env option

2024-02-09 Thread Folke Gleumes
The keep-env option allows the user to define if the current environment should be kept when running 'pct enter/exec'. pct will now always set '--keep-env' or '--clear-env' when calling lxc-attach to anticipate the upcoming change in default behavior. Signed-off-by:

[pve-devel] [PATCH container v2 2/2] pct: add keep-env option

2024-01-29 Thread Folke Gleumes
The keep-env option allows the user to define if the current environment should be kept when running 'pct enter/exec'. pct will now always set '--keep-env' or '--discard-env' when calling lxc-attach to anticipate the upcoming change in default behavior. Signed-o

[pve-devel] [PATCH container v2 1/2] fix #5194: pct: delete environment variables set by pve

2024-01-29 Thread Folke Gleumes
proxmox-perl-rs set's SSL_CERT_{DIR,FILE}, which can break ssl in containers if their certificate store can't be found in the same spot. This patch explicitly unsets those variables before starting the container. Signed-off-by: Folke Gleumes --- Changes since v1: * Add reevaluation

Re: [pve-devel] [PATCH v2 acme] Fix EBA MAC key decoding

2024-01-29 Thread Folke Gleumes
e { > +   $eab_hmac_key = decode_base64url($info{eab}->{hmac_key}); > +   } > $payload{externalAccountBinding} = > external_account_binding_jws( >     $info{eab}->{kid}, >     $eab_hmac_key, Thanks! Works as intended, tested with base64, base64url

Re: [pve-devel] [PATCH container] fix #5194: delete environment variables set by pve

2024-01-26 Thread Folke Gleumes
On Tue, 2024-01-23 at 10:51 +0100, Fabian Grünbichler wrote: > On January 22, 2024 11:12 am, Folke Gleumes wrote: > > proxmox-perl-rs set's SSL_CERT_{DIR,FILE}, which can break ssl in > > containers if their certificate store can't be found in the same > > spot. &

[pve-devel] [PATCH container] fix #5194: delete environment variables set by pve

2024-01-22 Thread Folke Gleumes
proxmox-perl-rs set's SSL_CERT_{DIR,FILE}, which can break ssl in containers if their certificate store can't be found in the same spot. This patch explicitly unsets those variables before starting the container. Signed-off-by: Folke Gleumes --- src/PVE/CLI/pct.pm | 11 +

Re: [pve-devel] [PATCH acme] Fix EBA MAC key decoding

2024-01-18 Thread Folke Gleumes
mplement a simple check on the '/' and '+' characters, to check if base64 or base64url has been used to encode the key. Tested-By: Folke Gleumes On Thu, 2024-01-18 at 18:40 +0800, YU Jincheng wrote: > Accroding to RFC 8555: > > The MAC key SHOULD be provided in base64url-

Re: [pve-devel] [PATCH manager 0/2] fix #5093 add custom directory and eab to ui

2024-01-16 Thread Folke Gleumes
the pebble to the /etc/hosts of your pve instance 5. Use https://pebble:14000/dir as the acme directory for testing, eab credentials can be found in the config used in step 2 [0] https://github.com/letsencrypt/pebble On Tue, 2024-01-16 at 15:33 +0100, Folke Gleumes wrote: > This patch series a

[pve-devel] [PATCH manager 2/2] webui: acme: add eab fields

2024-01-16 Thread Folke Gleumes
Adds fields for eab credentials. By default eab is optional, but if the directory should report that eab is required, the eab credential fields are marked as mandatory and prevent the form from being submittable until credentials are provided. Signed-off-by: Folke Gleumes --- www/manager6/node

[pve-devel] [PATCH manager 1/2] fix #5093: webui: acme: custom directory option

2024-01-16 Thread Folke Gleumes
y on every input. Signed-off-by: Folke Gleumes --- www/manager6/node/ACME.js | 140 +- 1 file changed, 107 insertions(+), 33 deletions(-) diff --git a/www/manager6/node/ACME.js b/www/manager6/node/ACME.js index 21137b1a..5b71778a 100644 --- a/www/manager6/node/ACM

[pve-devel] [PATCH manager 0/2] fix #5093 add custom directory and eab to ui

2024-01-16 Thread Folke Gleumes
This patch series adds the option to set a custom directory for ACME and enables the user to use external account binding, which is required by some providers. Folke Gleumes (2): fix #5093: webui: acme: custom directory option webui: acme: add eab fields www/manager6/node/ACME.js | 168

[pve-devel] [RFC cluster/common/widget-toolkit/manager 0/4] split node memory graph into usage types

2023-12-11 Thread Folke Gleumes
https://bugzilla.proxmox.com/show_bug.cgi?id=1454 cluster: Folke Gleumes (1): rrd: add free, buffer/cache and arc size to memory statistics src/pmxcfs/status.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) common: Folke Gleumes (1): add more detailed statistics to memory rep

[pve-devel] [RFC widget-toolkit 3/4] add option to display rrd graph as stacking

2023-12-11 Thread Folke Gleumes
Signed-off-by: Folke Gleumes --- src/panel/RRDChart.js | 59 +-- 1 file changed, 46 insertions(+), 13 deletions(-) diff --git a/src/panel/RRDChart.js b/src/panel/RRDChart.js index dc5940c..983437e 100644 --- a/src/panel/RRDChart.js +++ b/src/panel

[pve-devel] [RFC manager 4/4] split ram usage into usage types

2023-12-11 Thread Folke Gleumes
Signed-off-by: Folke Gleumes --- PVE/API2/Nodes.pm| 6 +++--- PVE/API2Tools.pm | 2 +- PVE/Service/pvestatd.pm | 15 +++ www/manager6/node/Summary.js | 6 -- 4 files changed, 19 insertions(+), 10 deletions(-) diff --git a/PVE/API2/Nodes.pm b/PVE

[pve-devel] [RFC common 2/4] add more detailed statistics to memory report

2023-12-11 Thread Folke Gleumes
Signed-off-by: Folke Gleumes --- src/PVE/ProcFSTools.pm | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/PVE/ProcFSTools.pm b/src/PVE/ProcFSTools.pm index 3826fcc..5f5d768 100644 --- a/src/PVE/ProcFSTools.pm +++ b/src/PVE/ProcFSTools.pm @@ -279,7 +279,10 @@ sub

[pve-devel] [RFC cluster 1/4] rrd: add free, buffer/cache and arc size to memory statistics

2023-12-11 Thread Folke Gleumes
adding values to the rrd format break compatability with the old file. Therfore the filename/path had to be changed as well. Signed-off-by: Folke Gleumes --- src/pmxcfs/status.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/pmxcfs/status.c b/src/pmxcfs

[pve-devel] [PATCH installer 1/3] perform early check on hdsize

2023-11-21 Thread Folke Gleumes
until now it was only checked at install time, failing the whole installation Signed-off-by: Folke Gleumes --- proxinstall | 6 ++ 1 file changed, 6 insertions(+) diff --git a/proxinstall b/proxinstall index 01d4cfe..cf8f510 100755 --- a/proxinstall +++ b/proxinstall @@ -1526,6 +1526,12

[pve-devel] [PATCH installer 3/3] only set hdsize when deviating from the maximum

2023-11-21 Thread Folke Gleumes
this prevents a lower hdsize to be set, when intermittently adding a smaller storage device. Signed-off-by: Folke Gleumes --- proxinstall | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/proxinstall b/proxinstall index 4fc31f8..695826d 100755 --- a/proxinstall +++ b

[pve-devel] [PATCH installer 2/3] set correct maximum for hdsize input

2023-11-21 Thread Folke Gleumes
previously, when opening the dialog multiple times, the maximum was determined by the previous set value, not the maxium possible for the storage Signed-off-by: Folke Gleumes --- proxinstall | 25 + 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a

Re: [pve-devel] [PATCH acme-rs/backup/perl-rs/pmg-api 0/8] add external account binding to pmg and pbs

2023-11-14 Thread Folke Gleumes
Please ignore this, wrong mailing list On Tue, 2023-11-14 at 15:07 +0100, Folke Gleumes wrote: > Following the implementation for pve [0], this implements external > account > binding for pmg and pbs. > > For pmg, the tos endpoint was replaced with a meta endpoint, for pbs

[pve-devel] [PATCH backup 4/8] cli: acme: add possibility to set eab via the cli

2023-11-14 Thread Folke Gleumes
If the ca demands external account binding credentials, the user will be asked for them. If a custom directory is used, the user will be asked if eab should be used. Signed-off-by: Folke Gleumes --- src/acme/client.rs | 2 +- src/bin/proxmox_backup_manager/acme.rs | 51

[pve-devel] [PATCH backup 3/8] acme: api: add eab options to api

2023-11-14 Thread Folke Gleumes
Optionally allow for setting external account binding credentials at the account registration endpoint. Signed-off-by: Folke Gleumes --- src/acme/client.rs | 7 +- src/api2/config/acme.rs| 35 +++--- src/bin/proxmox_backup_manager

[pve-devel] [PATCH acme-rs 2/8] add meta fields returned by the directory

2023-11-14 Thread Folke Gleumes
d-off-by: Folke Gleumes --- src/directory.rs | 25 +++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/src/directory.rs b/src/directory.rs index 755ea8c..a9d31f2 100644 --- a/src/directory.rs +++ b/src/directory.rs @@ -47,6 +47,18 @@ pub struct Meta { //

[pve-devel] [PATCH acme-rs/backup/perl-rs/pmg-api 0/8] add external account binding to pmg and pbs

2023-11-14 Thread Folke Gleumes
/pve-devel/2023-October/059726.html acme-rs: Folke Gleumes (2): add external account binding add meta fields returned by the directory src/account.rs | 28 +++- src/client.rs| 6 - src/directory.rs | 25 -- src/eab.rs | 66

[pve-devel] [PATCH pmg-api 8/8] cli: acme: expose acme eab options on the cli

2023-11-14 Thread Folke Gleumes
interactively ask for external account binding credentials if either: * the ca requests it * a custom ca is used Signed-off-by: Folke Gleumes --- src/PMG/CLI/pmgconfig.pm | 29 ++--- 1 file changed, 26 insertions(+), 3 deletions(-) diff --git a/src/PMG/CLI/pmgconfig.pm

[pve-devel] [PATCH pmg-api 6/8] api: acme: add eab parameters

2023-11-14 Thread Folke Gleumes
Signed-off-by: Folke Gleumes --- src/PMG/API2/ACME.pm | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/src/PMG/API2/ACME.pm b/src/PMG/API2/ACME.pm index 42c9f4e..9e3eb8d 100644 --- a/src/PMG/API2/ACME.pm +++ b/src/PMG/API2/ACME.pm @@ -132,6 +132,18

[pve-devel] [PATCH pmg-api 7/8] api: acme: deprecate tos endpoint in favor of new meta endpoint

2023-11-14 Thread Folke Gleumes
The ToS endpoint ignored data that is needed to detect if EAB needs to be used. Instead of adding a new endpoint that does the same request, the tos endpoint is deprecated and replaced by the meta endpoint, that returns all information returned by the directory. Signed-off-by: Folke Gleumes

[pve-devel] [PATCH acme-rs 1/8] add external account binding

2023-11-14 Thread Folke Gleumes
: Folke Gleumes --- src/account.rs | 28 - src/eab.rs | 66 ++ src/error.rs | 10 src/lib.rs | 1 + 4 files changed, 99 insertions(+), 6 deletions(-) create mode 100644 src/eab.rs diff --git a/src/account.rs

[pve-devel] [PATCH perl-rs 5/8] acme: add eab fields for pmg

2023-11-14 Thread Folke Gleumes
Signed-off-by: Folke Gleumes --- pmg-rs/src/acme.rs | 18 +- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/pmg-rs/src/acme.rs b/pmg-rs/src/acme.rs index b38e1ea..fe1e465 100644 --- a/pmg-rs/src/acme.rs +++ b/pmg-rs/src/acme.rs @@ -79,6 +79,7 @@ impl Inner

[pve-devel] [PATCH] expand helper function by eab credentials

2023-11-14 Thread Folke Gleumes
Signed-off-by: Folke Gleumes --- src/client.rs | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/client.rs b/src/client.rs index 78c83a2..53f2688 100644 --- a/src/client.rs +++ b/src/client.rs @@ -367,10 +367,14 @@ impl Client { contact: Vec

[pve-devel] [PATCH manager] acme: mark caaIdentities as an array

2023-11-13 Thread Folke Gleumes
caaIdentities was mistakenly labled as a string in a previous patch and not as an array of strings, as it is defined in the rfc [0]. [0] https://datatracker.ietf.org/doc/html/rfc8555#section-7.1.1 Signed-off-by: Folke Gleumes --- This is a followup to Thomas correction, regarding the metadata

[pve-devel] [PATCH i18n] german translation for the bulk action log messages

2023-11-08 Thread Folke Gleumes
--- de.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/de.po b/de.po index 3e2ff91..43f5d0c 100644 --- a/de.po +++ b/de.po @@ -1138,17 +1138,17 @@ msgstr "Massenstart" #: pve-manager/www/manager6/Utils.js:1970 #, fuzzy msgid "Bulk migrate VMs and Containers" -msgstr

[pve-devel] [PATCH manager] fix #2336: ui: adjust message for bulk start/stop/migrate

2023-11-07 Thread Folke Gleumes
oot=1) the new wording still applies better than the previous. Signed-off-by: Folke Gleumes --- After applying, please run make update on proxmox-i18n so updated translations can be submitted. www/manager6/Utils.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ww

[pve-devel] [PATCH acme v3 0/5] fix #4497: add support for external account bindings

2023-10-31 Thread Folke Gleumes
have been tested to work with and without EAB by using pebble [0] as the CA. [0] https://github.com/letsencrypt/pebble acme: Folke Gleumes (1): fix #4497: add support for external account bindings src/PVE/ACME.pm | 48 ++-- 1 file changed, 42 insert

[pve-devel] [PATCH manager v3 4/5] fix #4497: cli/acme: detect eab and ask for credentials

2023-10-31 Thread Folke Gleumes
Since external account binding is advertised the same way as the ToS, it can be detected when creating an account and asked for if needed. Signed-off-by: Folke Gleumes --- No changes in v3 PVE/CLI/pvenode.pm | 26 -- 1 file changed, 24 insertions(+), 2 deletions

[pve-devel] [PATCH manager v3 3/5] api/acme: deprecate tos endpoint in favor of meta

2023-10-31 Thread Folke Gleumes
The ToS endpoint ignored data that is needed to detect if EAB needs to be used. Instead of adding a new endpoint that does the same request, the tos endpoint is deprecated and replaced by the meta endpoint, that returns all information returned by the directory. Signed-off-by: Folke Gleumes

[pve-devel] [PATCH manager v3 5/5] ui/acme: switch to new meta endpoint

2023-10-31 Thread Folke Gleumes
Besides the switch from tos to meta endpoint, this fixes a visual bug, where the 'Accept TOS' button would show up, even if no ToS was needed. Signed-off-by: Folke Gleumes --- Changes since v2: fixed tabs/spaces www/manager6/node/ACME.js | 12 1 file changed, 8 insert

[pve-devel] [PATCH acme v3 1/5] fix #4497: add support for external account bindings

2023-10-31 Thread Folke Gleumes
implementation acording to rfc8555 section 7.3.4 Signed-off-by: Folke Gleumes --- Changes since v2: Transport eab credentials in the info hash, but don't reuse it as payload. Instead, needed values are extracted and, if needed, transformed into a new hash. While this limits how the info

[pve-devel] [PATCH manager v3 2/5] fix #4497: acme: add support for external account bindings

2023-10-31 Thread Folke Gleumes
Signed-off-by: Folke Gleumes --- No changes in v3 PVE/API2/ACMEAccount.pm | 27 ++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/PVE/API2/ACMEAccount.pm b/PVE/API2/ACMEAccount.pm index b790843a..ec4eba24 100644 --- a/PVE/API2/ACMEAccount.pm +++ b/PVE

[pve-devel] [PATCH manager v2 3/5] api/acme: deprecate tos endpoint in favor of meta

2023-10-25 Thread Folke Gleumes
The ToS endpoint ignored data that is needed to detect if EAB needs to be used. Instead of adding a new endpoint that does the same request, the tos endpoint is deprecated and replaced by the meta endpoint, that returns all information returned by the directory. Signed-off-by: Folke Gleumes

[pve-devel] [PATCH acme v2 1/5] fix #4497: add support for external account bindings

2023-10-25 Thread Folke Gleumes
implementation acording to rfc855 section 7.3.4 Signed-off-by: Folke Gleumes --- Changes v1 -> v2: Switched from including the eab credentials in the info hash, to passing them in their own variable. This still unfortunately still breaks the api, but doesn't potentially expose secret

[pve-devel] [PATCH manager v2 2/5] fix #4497: acme: add support for external account bindings

2023-10-25 Thread Folke Gleumes
Signed-off-by: Folke Gleumes --- Changes v1 -> v2: * renamed api methods so they use '-' instead of '_' * use 'requires' in api to declare dependency instead of manual check PVE/API2/ACMEAccount.pm | 23 ++- 1 file changed, 22 insertion

[pve-devel] [PATCH manager v2 5/5] ui/acme: switch to new meta endpoint

2023-10-25 Thread Folke Gleumes
Besides the switch from tos to meta endpoint, this fixes a visual bug, where the 'Accept TOS' button would show up, even if no ToS was needed. Signed-off-by: Folke Gleumes --- No changes in v2 www/manager6/node/ACME.js | 12 1 file changed, 8 insertions(+), 4 deletion

[pve-devel] [PATCH manager v2 4/5] fix #4497: cli/acme: detect eab and ask for credentials

2023-10-25 Thread Folke Gleumes
Since external account binding is advertised the same way as the ToS, it can be detected when creating an account and asked for if needed. Signed-off-by: Folke Gleumes --- Changes v1 -> v2: * If a custom directory is used, ask if EAB should be used, even when not required by the CA. PVE/

[pve-devel] [PATCH acme/manager v2 0/5] fix #4497: add external account binding support

2023-10-25 Thread Folke Gleumes
he CA. [0] https://github.com/letsencrypt/pebble acme: Folke Gleumes (1): fix #4497: add support for external account bindings src/PVE/ACME.pm | 42 +- 1 file changed, 37 insertions(+), 5 deletions(-) manager: Folke Gleumes (4): fix #4497: acme: add s

[pve-devel] [PATCH manager 5/5] fix #4497: ui/acme: switch to new meta endpoint

2023-10-23 Thread Folke Gleumes
Besides the switch from tos to meta endpoint, this fixes a visual bug, where the 'Accept TOS' button would show up, even if no ToS was needed. Signed-off-by: Folke Gleumes --- www/manager6/node/ACME.js | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/ww

[pve-devel] [PATCH manager 3/5] fix #4497: api/acme: deprecate tos endpoint in favor of meta

2023-10-23 Thread Folke Gleumes
The ToS endpoint ignored data that is needed to detect if EAB needs to be used. Instead of adding a new endpoint that does the same request, the tos endpoint is deprecated and replaced by the meta endpoint, that returns all information returned by the directory. Signed-off-by: Folke Gleumes

[pve-devel] [PATCH acme 1/5] fix #4497: add support for external account bindings

2023-10-23 Thread Folke Gleumes
implementation acording to rfc855 section 7.3.4 Signed-off-by: Folke Gleumes --- src/PVE/ACME.pm | 43 +++ 1 file changed, 35 insertions(+), 8 deletions(-) diff --git a/src/PVE/ACME.pm b/src/PVE/ACME.pm index 3f66182..f65729a 100644 --- a/src/PVE/ACME.pm

[pve-devel] [PATCH acme/manager 0/5] fix #4497: add external account binding support

2023-10-23 Thread Folke Gleumes
r the ToS. The patches have been tested to work with and without EAB by using pebble [0] as the CA. [0] https://github.com/letsencrypt/pebble acme: Folke Gleumes (1): fix #4497: add support for external account bindings src/PVE/ACME.pm | 43 +++ 1

[pve-devel] [PATCH manager 4/5] fix #4497: cli/acme: detect eab and ask for credentials

2023-10-23 Thread Folke Gleumes
Since external account binding is advertised the same way as the ToS, it can be detected when creating an account and asked for if needed. Signed-off-by: Folke Gleumes --- PVE/CLI/pvenode.pm | 16 ++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/PVE/CLI/pvenode.pm

[pve-devel] [PATCH manager 2/5] fix #4497: acme: add support for external account bindings

2023-10-23 Thread Folke Gleumes
Signed-off-by: Folke Gleumes --- PVE/API2/ACMEAccount.pm | 27 ++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/PVE/API2/ACMEAccount.pm b/PVE/API2/ACMEAccount.pm index b790843a..daae18d8 100644 --- a/PVE/API2/ACMEAccount.pm +++ b/PVE/API2/ACMEAccount.pm