Alex Chan
edb2be1a01
cmd/tailscale: improve tailscale lock error message if no keys
...
Previously, running `add/remove/revoke-keys` without passing any keys
would fail with an unhelpful error:
```console
$ tailscale lock revoke-keys
generation of recovery AUM failed: sending generate-recovery-aum: 500 Internal Server Error: no provided key is currently trusted
```
or
```console
$ tailscale lock revoke-keys
generation of recovery AUM failed: sending generate-recovery-aum: 500 Internal Server Error: network-lock is not active
```
Now they fail with a more useful error:
```console
$ tailscale lock revoke-keys
missing argument, expected one or more tailnet lock keys
```
Fixes #19130
Change-Id: I9d81fe2f5b92a335854e71cbc6928e7e77e537e3
Signed-off-by: Alex Chan <alexc@tailscale.com >
2026-03-29 09:28:52 +01:00
..
2026-01-23 15:49:45 -08:00
2026-03-05 05:31:41 -08:00
2026-03-06 13:32:03 -08:00
2026-01-23 15:49:45 -08:00
2026-02-18 11:54:09 -05:00
2026-03-06 13:32:03 -08:00
2026-03-06 13:32:03 -08:00
2026-02-08 10:04:04 -08:00
2026-02-08 10:04:04 -08:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-02-26 12:59:45 -05:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-03-06 13:32:03 -08:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-03-24 15:16:43 +00:00
2026-01-23 15:49:45 -08:00
2026-03-05 05:31:41 -08:00
2026-03-05 05:31:41 -08:00
2026-03-05 05:31:41 -08:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-03-23 09:27:27 +00:00
2026-03-23 09:27:27 +00:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-03-06 13:32:03 -08:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-03-06 13:32:03 -08:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-02-19 11:39:16 -08:00
2026-02-19 11:39:16 -08:00
2026-01-23 15:49:45 -08:00
2026-03-29 09:28:52 +01:00
2026-02-08 10:04:04 -08:00
2026-01-23 15:49:45 -08:00
2026-03-06 13:32:03 -08:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-03-06 13:32:03 -08:00
2026-03-05 20:13:18 -08:00
2026-03-26 12:36:31 -04:00
2026-01-23 15:49:45 -08:00
2026-03-06 13:32:03 -08:00
2026-01-23 15:49:45 -08:00
2026-03-06 13:32:03 -08:00
2026-03-06 13:32:03 -08:00
2026-03-04 21:57:05 -08:00
2026-01-27 13:42:04 -08:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-03-26 12:36:31 -04:00
2026-02-12 14:49:52 -05:00
2026-02-12 14:49:52 -05:00
2026-02-02 15:19:06 -08:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-03-23 15:05:11 +00:00