Skip to content

Listing fingerprints on factory reset YubiKey Bio should prompt setting PIN #159

@JMarkstrom

Description

@JMarkstrom

Below is a freshly reset YubiKey Bio (fw. 5.7.2). The message suggests 'Connect-YubikeyFIDO2' to authenticate, but since no PIN is set it will do nothing. We should probably look for the PIN being present or not and suggest a different cmdlet.

PS C:\> Get-YubiKeyBIOFingerprint
Get-YubiKeyBIOFingerprint: PIN is required before issuing command, use 'Connect-YubikeyFIDO2' to authenticate.
PS C:\> Connect-yubikeyfido2
PS C:\> Get-YubiKeyBIOFingerprint
Get-YubiKeyBIOFingerprint: PIN is required before issuing command, use 'Connect-YubikeyFIDO2' to authenticate.
PS C:\> disconnect-YubiKey
PS C:\> connect-yubikeyfido2
PS C:\> Get-YubiKeyBIOFingerprint
Get-YubiKeyBIOFingerprint: PIN is required before issuing command, use 'Connect-YubikeyFIDO2' to authenticate.

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