From a55c6efbf729d78299705e119dd7731812b56b9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= Date: Wed, 15 May 2024 13:21:42 +0200 Subject: [PATCH] acme: explicitly ask for custom directory URI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit instead of blocking on input without telling the user what's going on. Reported on the forum: https://forum.proxmox.com/threads/147058/ Signed-off-by: Fabian Grünbichler --- src/bin/proxmox_backup_manager/acme.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bin/proxmox_backup_manager/acme.rs b/src/bin/proxmox_backup_manager/acme.rs index f3e62115..e98402a9 100644 --- a/src/bin/proxmox_backup_manager/acme.rs +++ b/src/bin/proxmox_backup_manager/acme.rs @@ -126,6 +126,8 @@ async fn register_account( } Ok(n) if n == KNOWN_ACME_DIRECTORIES.len() => { input.clear(); + print!("Enter custom directory URI: "); + std::io::stdout().flush()?; std::io::stdin().read_line(&mut input)?; break (input.trim().to_owned(), true); }