Show / Hide Table of Contents

PowerCycleState Property

PowerCycleState

Indicates whether the YubiKey requires a power cycle before any future PIN operations can continue.

C#
public bool? PowerCycleState { get; set; }

Property Value

Type Description
bool?

Remarks

Present and `true` if the YubiKey needs to be power cycled (unplugged and re-plugged in), `false` if no power cycle is needed, and `null` if no information was given.

This field is only valid in response to the `getRetries` subcommand. The YubiKey will return this when an authentication has been blocked due to excessive retries. The power cycle behavior is a security property of the FIDO2 PIN protocol, and helps prevent automated attacks against the PIN.

In this article
Back to top Generated by DocFX