andrius at stikonas.eu
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
$ ./gnuk_put_binary_libusb.py -k 0 1A092810.bin
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, sw))
ValueError: ('cmd_write_binary 1', '6581')
Does anybody know what I am doing wrong? Neither scdaemon nor pcscd is running.
More information about the Gnuk-users