Add more information about YubiKey touch policy support (from ykman/openpgp.py).

This commit is contained in:
Heiko Schaefer 2022-05-20 10:16:04 +02:00
parent c3abf4ba9c
commit a1966d76c3
No known key found for this signature in database
GPG key ID: 4A849A1904CCBD7D

View file

@ -313,6 +313,9 @@ impl Display for UIF {
/// This setting is used in 4.4.3.6 User Interaction Flag (UIF)
///
/// See spec pg 24 and <https://github.com/Yubico/yubikey-manager/blob/main/ykman/openpgp.py>
///
/// Touch policies were introduced in YubiKey Version 4.2.0 with modes ON, OFF and FIXED.
/// YubiKey Version >= 5.2.1 added support for modes CACHED and CACHED_FIXED.
#[non_exhaustive]
pub enum TouchPolicy {
Off,