radicle-heartwood-lfs/radicle-cli/src
Slack Coder 0bfc3f59ee
cli: Auth without ssh-agent
Avoid having ssh-agent a hard dependency of `rad-auth`.

Only add the user's key in `auth::init()` to ssh-agent if it is running,
instead of exiting with error.

For `auth::authenticate()` which is used to authenticate the user with
Radicle, assume using `RAD_PASSPHRASE` is a fallback authentication
method.  If ssh-agent is not-detected, verify the RAD_PASSPHRASE is
present and correct.  Treat neither being present as an error.

Support this by clarifying on `ssh::agent::connect()`s error which are
due to it not being present.
2023-05-03 15:52:33 +02:00
..
commands cli: Auth without ssh-agent 2023-05-03 15:52:33 +02:00
terminal cli: Fix `Message::get` bug 2023-04-27 11:22:44 +02:00
commands.rs cli: Remove `rad fetch` command 2023-04-24 14:19:31 +02:00
git.rs cli: Add canonical remote to `init` and `checkout` 2023-04-24 15:42:00 +02:00
lib.rs Move CLI command tests to integration tests 2022-12-06 10:01:41 +01:00
main.rs cli: Remove `rad fetch` command 2023-04-24 14:19:31 +02:00
project.rs cli: Add canonical remote to `init` and `checkout` 2023-04-24 15:42:00 +02:00
terminal.rs cli: Call `rad sync` on `git push rad` 2023-04-25 12:46:25 +02:00