Commit Graph

5 Commits

Author SHA1 Message Date
neuronull
81adf155ee
SSH Agent v2: server framework (#19119)
Adds the basic framework for handling new client connections in the server.

Co-authored-by: Bernd Schoolmann <mail@quexten.com>
2026-03-19 07:48:50 -06:00
neuronull
ebbd9ed0ba
SSH Agent v2: define napi-agent-server interface (#18880)
Building upon the prior SSH agent v2 commits, this PR introduces the high level interfaces between the napi layer, the agent, and the underlying server.

Two traits are defined to act as abstraction layers:

AuthPolicy allows the underlying server to externally request authorization to complete the various ssh operation requests it receives. The implementation of this in the BitwardenSshAgent is effectively the agent's business logic, and has unit tests accordingly.

ApprovalRequester allows the agent to externally request approval for those authorization requests.

These interfaces allow better unit test-ability and integration test-ability, and additionally are context-independent from each other; meaning the ssh agent server doesn't know about vault items, or that there is an electron app at all. Similarly, the agent knows it needs to request approval, but it doesn't have to be from an Electron app.

Co-authored-by: Bernd Schoolmann <mail@quexten.com>
2026-03-17 08:38:40 -06:00
renovate[bot]
883841feef
[deps]: Pin Rust crate rkyv to v0.8.14 (#19579)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-16 08:13:53 -06:00
neuronull
7b44917b27
SSH Agent v2: In-memory encrypted key store (#18596)
Co-authored-by: Bernd Schoolmann <mail@quexten.com>
2026-03-02 08:33:33 -07:00
neuronull
34108d93e4
SSH Agent v2: Add ssh key primitive types (#18583)
Co-authored-by: Bernd Schoolmann <mail@quexten.com>
2026-02-04 14:01:18 -07:00