radicle-heartwood-lfs/crates/radicle-cli/tests
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
..
data repo: Move workspace crates into `crates` subdirectory 2025-06-09 15:09:21 +02:00
util radicle/config/node: Use newtypes 2025-08-19 13:16:19 +02:00
commands.rs cli: Detect key mismatch 2025-09-26 00:33:59 +02:00