NIIBE Yutaka
db2527459f
Fix scripts.
...
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org >
2021-06-10 14:31:45 +09:00
NIIBE Yutaka
3f65bf73e8
Add a check to make sure device is the one intended.
...
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org >
2021-04-01 16:23:39 +09:00
NIIBE Yutaka
0acf6485ae
Prepare next release.
...
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org >
2021-02-19 16:37:08 +09:00
NIIBE Yutaka
4d15700580
Python3 update things.
...
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org >
2021-02-19 13:12:48 +09:00
Vincent Pelletier
c688df7c2c
{tests/card_reader.py,tool/gnuk_token.py}: Extend timeout.
...
Some devices are slow at generating RSA4096 after a key settings change,
and may take time to notice a later change to a shorter key size.
Signed-off-by: Vincent Pelletier <plr.vincent@gmail.com >
2021-02-18 14:28:32 +09:00
Vincent Pelletier
dfe046e08d
tool/gnuk_token.py: Detect CCID bulk endpoints addresses.
...
Signed-off-by: Vincent Pelletier <plr.vincent@gmail.com >
2021-02-18 14:28:23 +09:00
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