radicle-heartwood-lfs/radicle-ssh/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
..
agent cli: Auth without ssh-agent 2023-05-03 15:52:33 +02:00
agent.rs Add SSH functionality with new `radicle-ssh` 2022-10-03 10:34:59 +02:00
encoding.rs Update to Rust 1.65 2022-11-05 12:47:26 +01:00
lib.rs Use `Signer::try_sign` in interactive contexts 2022-11-03 13:06:00 +01:00