Bertrand Jacquin
81d6945081
tool: switch to python3
...
python2 is no longer maintained upstream
2020-01-14 14:07:55 +09:00
NIIBE Yutaka
177ef67edf
Version 1.2.14.
2019-03-04 11:36:18 +09:00
NIIBE Yutaka
126283b1ac
Add count for tool/gnuk_get_random.py.
2019-02-24 15:12:12 +09:00
NIIBE Yutaka
41fa424450
Fix for ack button.
2019-02-24 13:04:28 +09:00
NIIBE Yutaka
940332c47f
Change for firmware upgrade and ack-button.
2019-02-22 19:53:52 +09:00
NIIBE Yutaka
3d37003d8c
Fix tool/kdf_calc.py.
2018-11-09 20:52:15 +09:00
Szczepan Zalega
58fa773bb7
Fix typo
...
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
2018-07-13 16:24:06 +09:00
Szczepan Zalega
ea88c3da66
Catch exception, when no KDF data is found
...
While updating from GNUK 1.2.6, upgrade_by_passwd.py script shows
exception about not found referenced data:
File "./upgrade_by_passwd.py", line 55, in main
kdf_data = gnuk.cmd_get_data(0x00, 0xf9).tostring()
File "/home/sz/work/nitrokey-start-firmware/tool/gnuk_token.py", line 320, in cmd_get_data
raise ValueError("%02x%02x" % (sw[0], sw[1]))
ValueError: 6a88
While it is checked, whether the KDF DO is empty, there is no
exception catch for not found object. This patch adds it.
Tested update paths 1.2.6 -> 1.2.10, 1.2.6 -> 1.2.6, 1.2.10 -> 1.2.10, 1.2.10 -> 1.2.6.
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
2018-07-13 16:23:58 +09:00
NIIBE Yutaka
f7b03f7fb5
More tests.
2018-04-04 16:34:07 +09:00
NIIBE Yutaka
ec7423f493
Fix tool/.
2018-04-03 17:17:51 +09:00
NIIBE Yutaka
e50dda28d1
Support authentication with KDF Data Object.
2018-04-03 17:17:39 +09:00
NIIBE Yutaka
8ad176921f
Fix kdf_calc.py.
2018-04-03 17:17:28 +09:00
NIIBE Yutaka
d71b116be8
Add kdf_calc.py.
2018-04-03 17:17:20 +09:00
NIIBE Yutaka
183cec8a04
Emulation tool added.
2017-10-05 13:53:48 +09:00
Szczepan Zalega
b424cecf1e
Regnual update tool: do not allow other than binary formats (upgrade_by_passwd)
...
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
2017-02-01 15:40:56 +09:00
NIIBE Yutaka
7ef417ae36
tool: Improve tool/*.py.
...
--
Szczepan Zalega's idea of using the file GNUK_USB_DEVICE_ID would
good, but not merged yet. Because it makes difficult to distribute
the scripts. We need to consider installing tools and the file
like GNUK_USB_DEVICE_ID altogether.
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
2017-02-01 12:34:35 +09:00
NIIBE Yutaka
d2261d53e3
fix scripts
2016-10-15 20:14:18 +09:00
NIIBE Yutaka
f1773c146b
fix test/
2016-10-12 15:32:51 +09:00
NIIBE Yutaka
2b784cb3b9
Upgrade tool/hub_ctrl.py
2016-08-03 21:19:34 +09:00
NIIBE Yutaka
f882acc1b4
Fix USB usage in tool/
2016-06-01 09:49:28 +09:00
NIIBE Yutaka
b1a582e87c
Fix USB stack a bit
2016-03-08 11:58:43 +09:00
NIIBE Yutaka
f02d7d8565
cleanup for upgrade
2015-09-14 18:41:28 +09:00
NIIBE Yutaka
2c79280441
fix tool/upgrade_by_passwd.py
2015-09-11 17:09:28 +09:00
NIIBE Yutaka
254742bc6d
more change for Python
2015-08-04 12:32:56 +09:00
NIIBE Yutaka
9a11e954d8
More PythonUSB change
2015-08-04 11:11:03 +09:00
NIIBE Yutaka
0fb6853fc7
more python3 fix
2015-08-03 19:22:02 +09:00
NIIBE Yutaka
94d6208542
More python3 fixes
2015-08-03 16:44:38 +09:00
NIIBE Yutaka
eb62609c86
Add pinpadtest info from Thomas Jarosch
2015-07-31 23:12:01 +09:00
NIIBE Yutaka
99c55fce60
support ST-Link/V2-1
2015-07-31 16:10:47 +09:00
NIIBE Yutaka
ec2a2e049f
stlinkv2.py now works with newer PyUSB
2015-07-28 23:02:33 +09:00
NIIBE Yutaka
43331cbeaf
fix for python3
2015-07-28 14:45:18 +09:00
NIIBE Yutaka
1de2f33d23
remove PC/SC tools
2015-07-27 18:55:10 +09:00
NIIBE Yutaka
8ddcc1e896
support Board
2015-07-15 16:37:19 +09:00
NIIBE Yutaka
a60fe371a4
improve stlinkv2.py
2015-07-15 14:01:40 +09:00
NIIBE Yutaka
9ed3bb5353
Fix stlinkv2 for STM32F103xE
2015-07-11 17:46:50 +09:00
NIIBE Yutaka
9ba59de212
stlinkv2.py: merge Cortex-M0 support for FSM-55
2015-07-06 15:52:04 +09:00
NIIBE Yutaka
2471616f74
version 1.1.5
2015-06-03 17:22:56 +09:00
NIIBE Yutaka
ce070f85ff
Improve tool/
2015-06-03 16:27:15 +09:00
NIIBE Yutaka
9ea262ffde
Add new tool/add_openpgp_authkey_from_gpgssh.py
2014-06-05 13:02:05 +09:00
NIIBE Yutaka
deaf340687
add ec_p256k1
2014-02-19 14:51:09 +09:00
NIIBE Yutaka
932e6acd40
Support PyUSB 1.0, too
2013-12-25 11:33:00 +09:00
NIIBE Yutaka
a89ae40e89
improve a bit
2013-12-24 15:21:07 +09:00
NIIBE Yutaka
cefdc0db0b
add -k to specify keyno
2013-12-13 14:43:16 +09:00
NIIBE Yutaka
544c5310d3
Detach kernel driver for tool/gnuk_token.py
2013-12-13 10:46:03 +09:00
NIIBE Yutaka
4a78181c10
update OpenOCD scripts
2013-09-30 17:37:33 +09:00
NIIBE Yutaka
763032a272
stabilize stlinkv2.py
2013-03-14 14:02:56 +09:00
NIIBE Yutaka
2e07a8bbd4
more
2013-03-12 14:50:19 +09:00
NIIBE Yutaka
303d1aa2bd
more
2013-03-12 14:25:21 +09:00
NIIBE Yutaka
53d4391f88
more change for stlinkv2.py
2013-03-12 14:11:50 +09:00
NIIBE Yutaka
e6a28ddea8
Improve initialization
2013-03-12 11:45:31 +09:00