Gnuk upgrade

Andrius Štikonas andrius at stikonas.eu
Mon Sep 17 21:51:43 CEST 2018


Hi,

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

$ ./gnuk_put_binary_libusb.py -k 0 1A092810.bin
Device:
Configuration: 1
Interface: 0
Traceback (most recent call last):
  File "./gnuk_put_binary_libusb.py", line 111, in <module>
    main(fileid, is_update, data, passwd)
  File "./gnuk_put_binary_libusb.py", line 54, in main
    gnuk.cmd_write_binary(fileid, data, is_update)
  File "/home/andrius/repositories/gnuk/tool/gnuk_token.py", 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,
Andrius





More information about the Gnuk-users mailing list