radicle-heartwood-lfs/crates/radicle-cli/src
Lorenz Leutgeb fafb3493dc
cli: Detect key mismatch
When run with a secret and public key that do not cryptographically
match, `fn radicle_cli::terminal::io::signer` would prompt the user
for a password to unlock the secret key, and then carry on with a
mismatching key pair.

Fix this by verifying that the keys match in `MemorySigner::load`
and only swallow errors initializing the signer in cases where
prompting for a password makes sense. It does not make sense in the
case of mismatched keys.
2025-09-26 00:33:59 +02:00
..
commands cli/issue: Show previous title in `rad issue edit` editor 2025-09-23 19:52:53 +02:00
git cli/diff: Replace manual pushing with Table::extend() 2025-09-10 21:28:53 +02:00
terminal cli: Detect key mismatch 2025-09-26 00:33:59 +02:00
commands.rs cli: Rewrite `#[path="…"]` module declarations 2025-09-10 21:09:29 +02:00
git.rs cli/git: Remove dead code `fn view_diff` 2025-09-15 10:21:09 +01:00
lib.rs radicle-cli: Warn when using old names of nodes 2025-06-18 16:21:21 +02:00
main.rs cli: Rewrite `#[path="…"]` module declarations 2025-09-10 21:09:29 +02:00
node.rs node: Remove `SyncWriter` in favor of `PaintTarget` 2025-09-15 11:17:35 +02:00
pager.rs repo: Move workspace crates into `crates` subdirectory 2025-06-09 15:09:21 +02:00
project.rs repo: Move workspace crates into `crates` subdirectory 2025-06-09 15:09:21 +02:00
terminal.rs radicle: improve config errors 2025-06-24 13:51:55 +02:00
warning.rs cli/warning: Add `fn obsolete` 2025-09-17 13:32:46 +01:00