From f041d844d2874ba900117dcb72aca4d79312800e Mon Sep 17 00:00:00 2001 From: Kim Altintop Date: Thu, 18 Apr 2024 10:30:22 +0200 Subject: [PATCH] cli: Suggest to make new identity the default for server 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 f55f93ab728..1c7f298affd 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" ) }) }