diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2020-09-25 02:06:00 +0200 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2021-01-10 21:05:59 -0800 |
commit | f18fdc680c0bc616d64b116abaf2daede613f48b (patch) | |
tree | 7d17d0298c1017e71aa97401bc5408d823b1a85d /src/pinentry.rs | |
parent | 3152a6d3c1e46243a69fe8ef8066027ca4d38d47 (diff) | |
download | nitrocli-f18fdc680c0bc616d64b116abaf2daede613f48b.tar.gz nitrocli-f18fdc680c0bc616d64b116abaf2daede613f48b.tar.bz2 |
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).
Diffstat (limited to 'src/pinentry.rs')
-rw-r--r-- | src/pinentry.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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", |