From adbfa1c12257405112445497324938a011db8664 Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Fri, 25 Sep 2020 02:06:00 +0200 Subject: Update nitrokey to v0.8.0 This patch updates the nitrokey dependency to version 0.8.0 and applies all breaking changes (Config fields renaming, DeviceWrapper and Model non-exhaustiveness, changed Display implementation for Model). --- src/pinentry.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pinentry.rs') diff --git a/src/pinentry.rs b/src/pinentry.rs index 3bf67c1..40d916f 100644 --- a/src/pinentry.rs +++ b/src/pinentry.rs @@ -77,7 +77,7 @@ impl SecretEntry for PinEntry { fn description(&self, mode: Mode) -> CowStr { format!( - "{} for\rNitrokey {} {}", + "{} for\r {} {}", match self.pin_type { args::PinType::Admin => match mode { Mode::Choose => "Please enter a new admin PIN", @@ -135,7 +135,7 @@ impl SecretEntry for PwdEntry { fn description(&self, mode: Mode) -> CowStr { format!( - "{} for\rNitrokey {} {}", + "{} for\r {} {}", match mode { Mode::Choose => "Please enter a new hidden volume password", Mode::Confirm => "Please confirm the new hidden volume password", -- cgit v1.2.1