mirror of
https://github.com/bitwarden/browser
synced 2026-02-24 16:43:27 +00:00
Cleanup
This commit is contained in:
@@ -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,
|
||||
};
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user