diff --git a/apps/desktop/desktop_native/ssh_agent/src/agent/agent.rs b/apps/desktop/desktop_native/ssh_agent/src/agent/agent.rs index aeb6b7dc9eb..81d16e333ce 100644 --- a/apps/desktop/desktop_native/ssh_agent/src/agent/agent.rs +++ b/apps/desktop/desktop_native/ssh_agent/src/agent/agent.rs @@ -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, }; diff --git a/apps/desktop/desktop_native/ssh_agent/src/agent/mod.rs b/apps/desktop/desktop_native/ssh_agent/src/agent/mod.rs index 1460789c8f5..88567fcc1f4 100644 --- a/apps/desktop/desktop_native/ssh_agent/src/agent/mod.rs +++ b/apps/desktop/desktop_native/ssh_agent/src/agent/mod.rs @@ -2,4 +2,4 @@ pub mod agent; pub mod ui_requester; pub use agent::BitwardenDesktopAgent; mod platform; -pub use platform::PlatformListener; \ No newline at end of file +pub use platform::PlatformListener; diff --git a/apps/desktop/desktop_native/ssh_agent/src/agent/platform.rs b/apps/desktop/desktop_native/ssh_agent/src/agent/platform.rs index f1cc7d2eb65..3ac68841799 100644 --- a/apps/desktop/desktop_native/ssh_agent/src/agent/platform.rs +++ b/apps/desktop/desktop_native/ssh_agent/src/agent/platform.rs @@ -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)); } -} \ No newline at end of file +} diff --git a/apps/desktop/desktop_native/ssh_agent/src/protocol/replies.rs b/apps/desktop/desktop_native/ssh_agent/src/protocol/replies.rs index 390b8e98586..a36800c07bc 100644 --- a/apps/desktop/desktop_native/ssh_agent/src/protocol/replies.rs +++ b/apps/desktop/desktop_native/ssh_agent/src/protocol/replies.rs @@ -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.