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. |
||
|---|---|---|
| .. | ||
| agent | ||
| agent.rs | ||
| encoding.rs | ||
| lib.rs | ||