From dcfbf685c8dcfd993ccafbc93e8fb87bcb3eb1fc Mon Sep 17 00:00:00 2001 From: Kim Altintop Date: Fri, 19 Apr 2024 12:12:01 +0200 Subject: [PATCH] cli: Suggest to make new identity the default for server (#1109) When a server key rotation is suspected, suggest to make the new identity the default. This usually happens during development using an ephemeral instance. If one follows the instructions, the `default_identity` is not set for the existing server, which makes the CLI generate a fresh identity every time. See also: #333 --- crates/cli/src/util.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/cli/src/util.rs b/crates/cli/src/util.rs index f55f93ab72..1c7f298aff 100644 --- a/crates/cli/src/util.rs +++ b/crates/cli/src/util.rs @@ -361,7 +361,7 @@ Has the server rotated its keys? Remove the outdated identity with: \tspacetime identity remove {identity} Generate a new identity with: -\tspacetime identity new --no-email --server {server}" +\tspacetime identity new --no-email --server {server} --default" ) }) }