Gnuk upgrade

Andrius Štikonas andrius at
Mon Sep 17 21:53:57 CEST 2018


I was trying to upgrade firmware of my gnuk token. One of the steps in
the upgrade guide is registering a public rsa2048 key with the token.

However, when I run that command, I get the following error

$ ./ -k 0 1A092810.bin
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/andrius/repositories/gnuk/tool/", line 294, in cmd_write_binary
    raise ValueError("cmd_write_binary 1", "%02x%02x" % (sw[0], sw[1]))
ValueError: ('cmd_write_binary 1', '6581')

Does anybody know what I am doing wrong? Neither scdaemon nor pcscd is running.

Kind regards,

More information about the Gnuk-users mailing list