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 946BD7828F for ; Thu, 29 Apr 2021 15:13:57 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 8AA8D1CD69 for ; Thu, 29 Apr 2021 15:13:27 +0200 (CEST) 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 id 74B7A1CD49 for ; Thu, 29 Apr 2021 15:13:26 +0200 (CEST) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 4224942E58 for ; Thu, 29 Apr 2021 15:13:26 +0200 (CEST) From: Wolfgang Bumiller To: pbs-devel@lists.proxmox.com Date: Thu, 29 Apr 2021 15:13:08 +0200 Message-Id: <20210429131322.24319-1-w.bumiller@proxmox.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL 0.027 Adjusted score from AWL reputation of From: address 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 URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [certificates.rs, node.rs, lib.rs, acme.rs, proxmox-daily-update.rs, mod.rs, client.rs, plugin.rs, config.rs, proxmox-backup-manager.rs] Subject: [pbs-devel] [REBASED backup 00/14] rebased and reordered remaining acme patches X-BeenThere: pbs-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Backup Server development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Apr 2021 13:13:57 -0000 The acme config & client patches were merged together since they depend on each other. The merged acme config patch is now ordered before the node config patch since the node config contains acme data. The AcmeDomain type was moved from the node config to the acme config module as the client needs to access it. The http patches were both dropped (request_with_agent isn't required anymore with the current agent handling). Wolfgang Bumiller (14): add dns alias schema add acme config and client add node config add config/acme api path add node/{node}/certificates api call add node/{node}/config api path add acme commands to proxmox-backup-manager implement standalone acme validation ui: add certificate & acme view daily-update: check acme certificates acme: create directories as needed acme: pipe plugin output to task log api: acme: make account name optional in register call validate node config before writing src/acme/client.rs | 673 +++++++++++++++++++++++ src/acme/mod.rs | 2 + src/api2/config.rs | 2 + src/api2/config/acme.rs | 725 +++++++++++++++++++++++++ src/api2/node.rs | 4 + src/api2/node/certificates.rs | 578 ++++++++++++++++++++ src/api2/node/config.rs | 81 +++ src/api2/types/mod.rs | 10 + src/bin/proxmox-backup-manager.rs | 1 + src/bin/proxmox-daily-update.rs | 30 +- src/bin/proxmox_backup_manager/acme.rs | 415 ++++++++++++++ src/bin/proxmox_backup_manager/mod.rs | 2 + src/config.rs | 20 +- src/config/acme/mod.rs | 273 ++++++++++ src/config/acme/plugin.rs | 532 ++++++++++++++++++ src/config/node.rs | 206 +++++++ src/lib.rs | 2 + www/Makefile | 1 + www/NavigationTree.js | 6 + www/config/CertificateView.js | 80 +++ 20 files changed, 3640 insertions(+), 3 deletions(-) create mode 100644 src/acme/client.rs create mode 100644 src/acme/mod.rs create mode 100644 src/api2/config/acme.rs create mode 100644 src/api2/node/certificates.rs create mode 100644 src/api2/node/config.rs create mode 100644 src/bin/proxmox_backup_manager/acme.rs create mode 100644 src/config/acme/mod.rs create mode 100644 src/config/acme/plugin.rs create mode 100644 src/config/node.rs create mode 100644 www/config/CertificateView.js -- 2.20.1