Enforce correct PIN lengths during YubiKey setup

The behaviour of `age-plugin-yubikey` during setup now matches its
behaviour during plugin usage.
This commit is contained in:
Jack Grigg
2023-01-29 15:07:25 +00:00
parent fc2081c216
commit b1710e8d69
4 changed files with 72 additions and 45 deletions
+4
View File
@@ -7,6 +7,10 @@ and this project adheres to Rust's notion of
to 0.3.0 are beta releases.
## [Unreleased]
### Fixed
- When `age-plugin-yubikey` assists the user in changing their PIN from the
default PIN, it no longer tells the user that PINs shorter than 6 characters
are allowed, and instead loops until the user enters a PIN of valid length.
## [0.3.2] - 2023-01-01
### Changed