Skip to content
This repository was archived by the owner on Apr 24, 2021. It is now read-only.
This repository was archived by the owner on Apr 24, 2021. It is now read-only.

OTP_MAX_LEN : 64 #28

@tchernomax

Description

@tchernomax

Hello,
I have a YubiKey standard, firmware version 2.3.1.
I use yubikey-personalization-gui version 3.1.19, library version 1.16.3 on Archlinux.
I configure my YubiKey with "Yubico OTP" mode (advanced) where I can set a public ID of 0 to 16 bytes (so 0 to 32 modhex characters).
So at max the OTP length goes to 32(static public ID)+32(dynamic OTP)=64 modhex characters.
So why OTP_MAX_LEN is set to 48 ?
Comment say "TOKEN_LEN plus public identity of 0..16" but it's bytes not characters.
Maybe there is something I don't get ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions