[BUG] IsNfcRestricted needs to be invalidated #192
Labels
awaiting yubico action
When we've got the ball
enhancement
New feature or request
known issue
Used to indicate known issues by Yubico
Is there an existing issue for this?
Current Behavior
IsNfcRestricted cache is not invalidated efter SetIsNfcRestricted(true) is run.
Expected Behavior
The cache for IsNfcRestricted should be invalidated
Steps To Reproduce
var yubiKey = YubiKeyDevice.FindAll().First();
yubiKey.SetIsNfcRestricted(true);
yubiKey.IsNfcRestricted
https://github.com/virot/YubiKeyTests/blob/main/RestrictNFC/Program.cs
Version
1.12.1
Version
5.7.1
Anything else?
No response
The text was updated successfully, but these errors were encountered: