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 fails at slot configuration removal #89

Open
JMarkstrom opened this issue Dec 22, 2024 · 1 comment
Open

Remove-YubikeyOTP fails at slot configuration removal #89

JMarkstrom opened this issue Dec 22, 2024 · 1 comment

Comments

@JMarkstrom
Copy link
Collaborator

JMarkstrom commented Dec 22, 2024

Description:
Remove-YubikeyOTP fails at slot configuration removal

Steps to reproduce:

  1. Verify slot configuration: Get-YubikeyOTP

Slot Configured RequiresTouch
ShortPress True True
LongPress False False

  1. Attempt to remove ShortPress (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: Cannot validate argument on parameter 'Slot'. Invalid formatted slot

  1. Second attempt: Remove-YubikeyOTP -Slot 1

Confirm
Are you sure you want to perform this action?
Performing the operation "Set" on target "Yubikey OTP ShortPress".
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): y
Remove-YubikeyOTP: YubiKey Operation Failed [Warning, state of non-volatile memory is unchanged.]

Result:
Removal of slot configuration fails.

@virot
Copy link
Owner

virot commented Dec 25, 2024

No 3 is a SDK issue I suspect. I have opened Issue 182 for YubiKey NET.SDK.

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

2 participants