Problem OTP Challenge response - restricted access #152

Closed
opened 2025-05-12 14:30:11 +08:00 by Raito00 · 0 comments
Raito00 commented 2025-05-12 14:30:11 +08:00 (Migrated from github.com)

Hi,
I'm encountering an issue with restricted access when trying to use the OTP functionality Challenge response.
Device: ESP32-S3 mini

Image

C:\Program Files\Yubico\YubiKey Manager>ykman.exe list
YubiKey NEO (6.6.0) [OTP+FIDO+CCID] Serial: 3232620917

C:\Program Files\Yubico\YubiKey Manager>ykman.exe info
Device type: YubiKey NEO
Serial number: 3232620917
Firmware version: 6.6.0
Form factor: Keychain (USB-A)
Enabled USB interfaces: OTP, FIDO, CCID

Applications
OTP             Enabled
FIDO U2F        Enabled
FIDO2           Enabled
OATH            Enabled
PIV             Not available
OpenPGP         Not available
YubiHSM Auth    Not available

C:\Program Files\Yubico\YubiKey Manager>ykman.exe otp calculate 1 1122334455667788
ERROR: Failed to write to the YubiKey. Make sure the device does not have restricted access (see "ykman otp --help" for more info).

Could you advise what might be causing this error or how to resolve the restricted access issue?

Thanks!

Hi, I'm encountering an issue with restricted access when trying to use the OTP functionality Challenge response. Device: ESP32-S3 mini ![Image](https://github.com/user-attachments/assets/4b84d0fe-29f7-4b3d-9900-dde890a3bd4c) ``` C:\Program Files\Yubico\YubiKey Manager>ykman.exe list YubiKey NEO (6.6.0) [OTP+FIDO+CCID] Serial: 3232620917 C:\Program Files\Yubico\YubiKey Manager>ykman.exe info Device type: YubiKey NEO Serial number: 3232620917 Firmware version: 6.6.0 Form factor: Keychain (USB-A) Enabled USB interfaces: OTP, FIDO, CCID Applications OTP Enabled FIDO U2F Enabled FIDO2 Enabled OATH Enabled PIV Not available OpenPGP Not available YubiHSM Auth Not available C:\Program Files\Yubico\YubiKey Manager>ykman.exe otp calculate 1 1122334455667788 ERROR: Failed to write to the YubiKey. Make sure the device does not have restricted access (see "ykman otp --help" for more info). ``` Could you advise what might be causing this error or how to resolve the restricted access issue? Thanks!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dearsky/pico-fido#152