Skip to content

Commit

Permalink
Remove old unused types
Browse files Browse the repository at this point in the history
These types are here from the first commit of trussed and are never used
  • Loading branch information
sosthene-nitrokey committed Aug 6, 2024
1 parent 732877e commit 7b065dd
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -495,34 +495,6 @@ pub enum ObjectType {
Key(Secrecy),
}

#[derive(Copy, Clone, Eq, PartialEq, Debug)]
pub struct PublicKeyAttributes {
// never return naked private key
sensitive: bool,
// always_sensitive: bool,

// do not even return wrapped private key
extractable: bool,
// never_extractable: bool,

// do not save to disk
persistent: bool,
}

#[derive(Copy, Clone, Eq, PartialEq, Debug)]
pub struct PrivateKeyAttributes {
// never return naked private key
sensitive: bool,
// always_sensitive: bool,

// do not even return wrapped private key
extractable: bool,
// never_extractable: bool,

// do not save to disk
persistent: bool,
}

#[derive(Copy, Clone, Eq, PartialEq, Debug, Serialize, Deserialize)]
pub enum Location {
Volatile,
Expand Down

0 comments on commit 7b065dd

Please sign in to comment.