Skip to content
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

Remove-YubiKeyOTP Cmdlet error on successful removal #121

Open
JMarkstrom opened this issue Jan 19, 2025 · 0 comments
Open

Remove-YubiKeyOTP Cmdlet error on successful removal #121

JMarkstrom opened this issue Jan 19, 2025 · 0 comments

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant