Skip to content

Remove-YubikeyOTP fails at slot configuration removal #89

@JMarkstrom

Description

@JMarkstrom

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions