Skip to content

Remove-YubiKeyOTP Cmdlet error on successful removal #121

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
JMarkstrom opened this issue Jan 19, 2025 · 1 comment
Open

Remove-YubiKeyOTP Cmdlet error on successful removal #121

JMarkstrom opened this issue Jan 19, 2025 · 1 comment
Labels
Awaiting SDK update Issues stems from Yubico .NET SDK

Comments

@JMarkstrom
Copy link
Collaborator

If you remove a slot configuration, the Cmdlet returns an error although removal is successful.

Steps to reproduce:

  1. Configure slot 1
  2. List slots to confirm configuration:
Get-YubiKeyOTP

Slot       Configured RequiresTouch
----       ---------- -------------
ShortPress      True         False
LongPress       False         False
  1. Delete configuration on slot 1:
remove-YubiKeyOTP

cmdlet Remove-YubiKeyOTP at command pipeline position 1
Supply values for the following parameters:
(Type !? for Help.)
Slot: 1

Remove-YubiKeyOTP: YubiKey Operation Failed [Warning, state of non-volatile memory is unchanged.]
  1. Confirm slot 1 configuration was deleted:
Get-YubiKeyOTP

Slot       Configured RequiresTouch
----       ---------- -------------
ShortPress      False         False
LongPress       False         False
@virot
Copy link
Owner

virot commented Jan 31, 2025

@virot virot added the Awaiting SDK update Issues stems from Yubico .NET SDK label Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting SDK update Issues stems from Yubico .NET SDK
Projects
None yet
Development

No branches or pull requests

2 participants