Setting the Gnuk serial

Marian Buschsieweke marian.buschsieweke at
Tue Apr 10 11:36:25 CEST 2018


sadly I'm unable to set the serial of my Gnuk device. Any pointers what went

env EMAIL=marian.buschsieweke at ./ -p -s ../GNUK_SERIAL_NUMBER 
Admin password: 
Writing serial number
Configuration: 1
Interface: 0
Traceback (most recent call last):
  File "./", line 111, in <module>
    main(fileid, is_update, data, passwd)
  File "./", line 54, in main
    gnuk.cmd_write_binary(fileid, data, is_update)
  File "/home/maribu/Repos/software/gnuk/tool/", line 288, in cmd_write_binary
    raise ValueError("cmd_write_binary 0", "%02x%02x" % (sw[0], sw[1]))
ValueError: ('cmd_write_binary 0', '6581')

Kind regards,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the Gnuk-users mailing list