From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 3E7669A08D for ; Tue, 14 Nov 2023 15:08:58 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id D40AF1CAF1 for ; Tue, 14 Nov 2023 15:08:27 +0100 (CET) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [94.136.29.106]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS for ; Tue, 14 Nov 2023 15:08:27 +0100 (CET) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 05DD042995 for ; Tue, 14 Nov 2023 15:08:27 +0100 (CET) Message-ID: From: Folke Gleumes To: pve-devel@lists.proxmox.com Date: Tue, 14 Nov 2023 15:08:26 +0100 In-Reply-To: <20231114140719.225971-1-f.gleumes@proxmox.com> References: <20231114140719.225971-1-f.gleumes@proxmox.com> Organization: Proxmox Server Solutions GmbH Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4-2 MIME-Version: 1.0 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.021 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record T_SCC_BODY_TEXT_LINE -0.01 - Subject: Re: [pve-devel] [PATCH acme-rs/backup/perl-rs/pmg-api 0/8] add external account binding to pmg and pbs X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Nov 2023 14:08:58 -0000 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. >=20 > For pmg, the tos endpoint was replaced with a meta endpoint, for pbs > this was not necessary, although it might be in the future if the > functionality is introduced in the gui. >=20 > Similar to the pve implementation, the cli will ask for eab > credentials > if the ca requires it, or optionally if the user provided a custom > directory url. >=20 > The patches were tested against pebble with eab and le-staging + > pebble > without eab to ensure no regression have taken place. >=20 > [0] > https://lists.proxmox.com/pipermail/pve-devel/2023-October/059726.html >=20 > acme-rs: > Folke Gleumes (2): > =C2=A0 add external account binding > =C2=A0 add meta fields returned by the directory >=20 > =C2=A0src/account.rs=C2=A0=C2=A0 | 28 +++++++++++++++----- > =C2=A0src/client.rs=C2=A0=C2=A0=C2=A0 |=C2=A0 6 ++++- > =C2=A0src/directory.rs | 25 ++++++++++++++++-- > =C2=A0src/eab.rs=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | 66 > ++++++++++++++++++++++++++++++++++++++++++++++++ > =C2=A0src/error.rs=C2=A0=C2=A0=C2=A0=C2=A0 | 10 ++++++++ > =C2=A0src/lib.rs=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0 1 + > =C2=A06 files changed, 127 insertions(+), 9 deletions(-) > =C2=A0create mode 100644 src/eab.rs >=20 > backup: > Folke Gleumes (2): > =C2=A0 acme: api: add eab options to api > =C2=A0 cli: acme: add possibility to set eab via the cli >=20 > =C2=A0src/acme/client.rs=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |= =C2=A0 9 +++- > =C2=A0src/api2/config/acme.rs=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | 35 +++++++++++++-- > =C2=A0src/bin/proxmox_backup_manager/acme.rs | 61 +++++++++++++++++++++--= - > -- > =C2=A03 files changed, 89 insertions(+), 16 deletions(-) >=20 > perl-rs: > Folke Gleumes (1): > =C2=A0 acme: add eab fields for pmg >=20 > =C2=A0pmg-rs/src/acme.rs | 18 +++++++++++++----- > =C2=A01 file changed, 13 insertions(+), 5 deletions(-) >=20 > pmg-api: > Folke Gleumes (3): > =C2=A0 api: acme: add eab parameters > =C2=A0 api: acme: deprecate tos endpoint in favor of new meta endpoint > =C2=A0 cli: acme: expose acme eab options on the cli >=20 > =C2=A0src/PMG/API2/ACME.pm=C2=A0=C2=A0=C2=A0=C2=A0 | 75 > ++++++++++++++++++++++++++++++++++++++-- > =C2=A0src/PMG/CLI/pmgconfig.pm | 29 ++++++++++++++-- > =C2=A02 files changed, 99 insertions(+), 5 deletions(-)