diff options
author | Daniel Mueller <deso@posteo.net> | 2019-01-20 09:26:11 -0800 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2019-01-20 09:26:11 -0800 |
commit | c3f1761ae147e562ec3565c7ba8a9cb1834759c2 (patch) | |
tree | fd272c279a41c30cf1585dc917f960751aabd3bb /nitrocli/src/pinentry.rs | |
parent | 6c54316bd512a1ad365f5c1e2cb17e7e53ea193c (diff) | |
download | nitrocli-c3f1761ae147e562ec3565c7ba8a9cb1834759c2.tar.gz nitrocli-c3f1761ae147e562ec3565c7ba8a9cb1834759c2.tar.bz2 |
Implement storage hidden subcommand
With this change we implement the storage hidden subcommand. We support
creation, opening, and closing of hidden volumes.
Note that the opening of a hidden volume automatically closes any opened
encrypted volumes and vice versa. To that end, we force file system
level caches to disk even from the storage open and storage hidden open
commands.
Diffstat (limited to 'nitrocli/src/pinentry.rs')
-rw-r--r-- | nitrocli/src/pinentry.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/nitrocli/src/pinentry.rs b/nitrocli/src/pinentry.rs index f8606ed..8370328 100644 --- a/nitrocli/src/pinentry.rs +++ b/nitrocli/src/pinentry.rs @@ -122,14 +122,12 @@ impl SecretEntry for PinEntry { } #[derive(Debug)] -#[allow(unused)] pub struct PwdEntry { model: nitrokey::Model, serial: String, } impl PwdEntry { - #[allow(unused)] pub fn from<D>(device: &D) -> crate::Result<Self> where D: nitrokey::Device, |