[pbs-devel] applied: [PATCH proxmox-backup] acme: interpret no TOS as accepted

Wolfgang Bumiller w.bumiller at proxmox.com
Fri Oct 22 10:56:11 CEST 2021


applied

On Thu, Oct 21, 2021 at 11:12:12AM +0200, Dominik Csapak wrote:
> some custom ACME endpoints do not have TOS, interpret this as
> 'the user has accepted the TOS', like we do for PVE.
> 
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
> probably needs the proxmox-acme-rs patch from [0] to work in all cases
> 0: https://lists.proxmox.com/pipermail/pmg-devel/2021-October/001867.html
> 
>  src/bin/proxmox_backup_manager/acme.rs | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/src/bin/proxmox_backup_manager/acme.rs b/src/bin/proxmox_backup_manager/acme.rs
> index 8d929d38..ecf7b2b2 100644
> --- a/src/bin/proxmox_backup_manager/acme.rs
> +++ b/src/bin/proxmox_backup_manager/acme.rs
> @@ -154,7 +154,8 @@ async fn register_account(
>              false
>          }
>      } else {
> -        false
> +        println!("No Terms of Service found, proceeding.");
> +        true
>      };
>  
>      println!("Attempting to register account with {:?}...", directory);
> -- 
> 2.30.2




More information about the pbs-devel mailing list