For an example device serial number (7123200), the yubikey_modhex_encode() within ykinfo.c doesn't appear to be returning the trailing "00" / "cc" characters:
/usr/bin/ykinfo -a
serial: 7123200
serial_hex: 6cb100
serial_modhex: hrnb
...
/usr/bin/modhex -h 6cb100
hrnbcc
...returns the correct modhex value with the trailing zeroes ("cc"s), though.
ykinfo on Ubuntu, within 1.18.0-1~ppa2~xenial1 and 1.18.0-1~ppa@-artful1, are both confirmed to be affected by this bug.
For an example device serial number (7123200), the yubikey_modhex_encode() within ykinfo.c doesn't appear to be returning the trailing "00" / "cc" characters:
/usr/bin/ykinfo -a serial: 7123200 serial_hex: 6cb100 serial_modhex: hrnb ...
/usr/bin/modhex -h 6cb100 hrnbcc
...returns the correct modhex value with the trailing zeroes ("cc"s), though.
ykinfo on Ubuntu, within 1.18.0-1~ppa2~xenial1 and 1.18.0-1~ppa@-artful1, are both confirmed to be affected by this bug.