yubikey-val icon indicating copy to clipboard operation
yubikey-val copied to clipboard

OTP_MAX_LEN : 64

Open tchernomax opened this issue 10 years ago • 0 comments

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 ?

tchernomax avatar Jan 05 '15 21:01 tchernomax