1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-12 14:23:32 +00:00

[PM-14993] Add ssh-agent error handling and security fixes (#12048)

* Add error handling and security fixes

* Add is running status, and add more errors on windows
This commit is contained in:
Bernd Schoolmann
2024-11-20 01:38:21 -08:00
committed by GitHub
parent eda38855f0
commit 5e6c5c8779
7 changed files with 104 additions and 21 deletions

View File

@@ -307,6 +307,12 @@ pub mod sshagent {
Ok(())
}
#[napi]
pub fn is_running(agent_state: &mut SshAgentState) -> bool {
let bitwarden_agent_state = agent_state.state.clone();
bitwarden_agent_state.is_running()
}
#[napi]
pub fn set_keys(
agent_state: &mut SshAgentState,