Skip to content

[BUG] IsNfcRestricted needs to be invalidated #192

@virot

Description

@virot

Is there an existing issue for this?

  • I have searched the existing issues

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

Image

Version

1.12.1

Version

5.7.1

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting yubico actionWhen we've got the ballbugSomething isn't workingenhancementNew feature or requestknown issueUsed to indicate known issues by Yubico

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions