Skip to content

Commit dbd51bc

Browse files
committed
Remove SSH Kb Item tiem again
As we do not need these items intenrally, they are removed again
1 parent 23aaf27 commit dbd51bc

File tree

1 file changed

+0
-22
lines changed
  • rust/src/storage/items

1 file changed

+0
-22
lines changed

rust/src/storage/items/kb.rs

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ pub enum KbKey {
1717
/// Contains SSL/TLS Kb keys
1818
Ssl(Ssl),
1919

20-
Ssh(Ssh),
21-
2220
/// Contains Port related Kb keys
2321
Port(Port),
2422

@@ -75,19 +73,6 @@ pub enum Ssl {
7573
Ca,
7674
}
7775

78-
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]
79-
#[serde(rename_all = "snake_case")]
80-
pub enum Ssh {
81-
Login(Login),
82-
}
83-
84-
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]
85-
#[serde(rename_all = "snake_case")]
86-
pub enum Login {
87-
PackageListNotus,
88-
ReleaseNotus,
89-
}
90-
9176
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]
9277
#[serde(rename_all = "snake_case")]
9378
pub enum Port {
@@ -190,13 +175,6 @@ impl Display for KbKey {
190175
KbKey::Ssl(Ssl::Password) => write!(f, "SSL/password"),
191176
KbKey::Ssl(Ssl::Ca) => write!(f, "SSL/ca"),
192177

193-
KbKey::Ssh(Ssh::Login(Login::PackageListNotus)) => {
194-
write!(f, "ssh/login/package_list_notus")
195-
}
196-
KbKey::Ssh(Ssh::Login(Login::ReleaseNotus)) => {
197-
write!(f, "ssh/login/release_notus")
198-
}
199-
200178
KbKey::Port(Port::Tcp(port)) => write!(f, "Ports/tcp/{port}"),
201179
KbKey::Port(Port::Udp(port)) => write!(f, "Ports/udp/{port}"),
202180

0 commit comments

Comments
 (0)