1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-24 16:43:27 +00:00
This commit is contained in:
Bernd Schoolmann
2025-10-16 12:06:01 +02:00
parent 458c865007
commit 9d399fe9a2
4 changed files with 8 additions and 16 deletions

View File

@@ -4,14 +4,9 @@ use futures::Stream;
use tokio_util::sync::CancellationToken;
use crate::{
agent::ui_requester::{UiRequester},
agent::ui_requester::UiRequester,
memory::UnlockedSshItem,
protocol::{
self,
key_store::Agent,
protocol::serve_listener,
types::PublicKeyWithName,
},
protocol::{self, key_store::Agent, protocol::serve_listener, types::PublicKeyWithName},
transport::peer_info::PeerInfo,
};

View File

@@ -2,4 +2,4 @@ pub mod agent;
pub mod ui_requester;
pub use agent::BitwardenDesktopAgent;
mod platform;
pub use platform::PlatformListener;
pub use platform::PlatformListener;

View File

@@ -1,10 +1,9 @@
use tracing::info;
use homedir::my_home;
use tracing::info;
use crate::{agent::{BitwardenDesktopAgent}, transport::unix_listener_stream::UnixListenerStream};
use crate::{agent::BitwardenDesktopAgent, transport::unix_listener_stream::UnixListenerStream};
pub struct PlatformListener {
}
pub struct PlatformListener {}
impl PlatformListener {
pub fn spawn_listeners(agent: BitwardenDesktopAgent) {
@@ -65,4 +64,4 @@ impl PlatformListener {
tokio::spawn(UnixListenerStream::listen(path, agent));
}
}
}

View File

@@ -1,9 +1,7 @@
use num_enum::{IntoPrimitive, TryFromPrimitive};
use ssh_encoding::Encode;
use crate::protocol::types::{
PrivateKey, PublicKeyWithName, RsaSigningScheme, Signature,
};
use crate::protocol::types::{PrivateKey, PublicKeyWithName, RsaSigningScheme, Signature};
/// `https://www.ietf.org/archive/id/draft-miller-ssh-agent-11.html#name-protocol-messages`
/// The different types of replies that the SSH agent can send to a client.