From c3f1761ae147e562ec3565c7ba8a9cb1834759c2 Mon Sep 17 00:00:00 2001 From: Daniel Mueller Date: Sun, 20 Jan 2019 09:26:11 -0800 Subject: 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. --- nitrocli/src/pinentry.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'nitrocli/src/pinentry.rs') 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(device: &D) -> crate::Result where D: nitrokey::Device, -- cgit v1.2.1