NIIBE Yutaka
ba750d153d
Fix for ack button driver and configuration.
2018-09-27 11:29:46 +09:00
NIIBE Yutaka
72647f01d0
Remove ack-button.c to use the driver in Chopstx.
2018-09-27 10:46:18 +09:00
NIIBE Yutaka
c6e32a36fb
Experimental Ack-button feature added (not yet finished).
2018-09-27 07:30:17 +09:00
NIIBE Yutaka
c3a0eb1439
Doc fix for udev rules (use ATTR instead of ATTRS).
2018-09-26 13:57:42 +09:00
NIIBE Yutaka
030a9c576d
Update for new Chopstx API.
2018-09-26 13:24:19 +09:00
NIIBE Yutaka
8a5e0eb783
Fix README about -no-vidpid file name.
2018-08-23 14:30:07 +09:00
NIIBE Yutaka
bce53546e7
Fix for GCC 7.
2018-08-20 16:09:13 +09:00
NIIBE Yutaka
b2b19e1ad4
Add ChangeLog entry.
2018-07-13 16:28:29 +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
b905b4802f
Version 1.2.10.
release/1.2.10
2018-05-10 13:54:21 +09:00
NIIBE Yutaka
40f2c6c49e
Version 1.2.10.
2018-05-10 13:53:09 +09:00
NIIBE Yutaka
61a7f9602b
gnuk.elf is the target with VID:PID. New target gnuk-no-vidpid.elf.
2018-05-10 12:09:19 +09:00
NIIBE Yutaka
5465fda927
Update Chopstx to 1.9.
2018-05-10 12:04:37 +09:00
NIIBE Yutaka
f7c46a6c55
More usb_device_reset fix.
2018-04-26 21:23:44 +09:00
NIIBE Yutaka
4550458806
Fix USB initialization.
...
After USB RESET, all endpoints registers are being reset. So,
there is no need to let each endpoint stall (it's disabled).
Actually, it's wrong to call usb_lld_stall_rx or usb_lld_stall_tx
before usb_lld_setup_endpoint, because other fields of endpoint
register are not specified after RESET.
2018-04-26 21:22:36 +09:00
NIIBE Yutaka
93a2bac94b
Support GD32F103.
2018-04-26 17:33:48 +09:00
NIIBE Yutaka
24adc09406
Version 1.2.9.
release/1.2.9
2018-04-05 14:00:50 +09:00
NIIBE Yutaka
bf9fc628b3
More tests for admin-less mode.
2018-04-05 13:06:13 +09:00
NIIBE Yutaka
d76534dd3a
Fix admin-less mode -> admin-full mode change.
2018-04-05 12:13:45 +09:00
NIIBE Yutaka
d9c5dcf206
Update ChangeLog.
2018-04-04 19:33:56 +09:00
NIIBE Yutaka
26448d58ee
Update copyright year.
2018-04-04 19:29:35 +09:00
NIIBE Yutaka
9cfeb817bd
More check for length of PW1.
2018-04-04 19:28:42 +09:00
NIIBE Yutaka
b6534dceba
Fix removal of resetting code.
2018-04-04 18:59:28 +09:00
NIIBE Yutaka
b47bd693ba
More tests (3).
2018-04-04 17:42:14 +09:00
NIIBE Yutaka
1a7d3a698f
More tests (2).
2018-04-04 16:34:51 +09:00
NIIBE Yutaka
f7b03f7fb5
More tests.
2018-04-04 16:34:07 +09:00
NIIBE Yutaka
44971541fe
More test suite improvement. Add experimental KDF DO tests.
2018-04-04 15:44:34 +09:00
NIIBE Yutaka
53ed5e0a42
Test suite improvement.
2018-04-04 15:10:52 +09:00
NIIBE Yutaka
63eccda0a1
Add a test case to reset PW3.
2018-04-04 10:51:32 +09:00
NIIBE Yutaka
f430c90715
Rename tests.
2018-04-04 08:48:40 +09:00
NIIBE Yutaka
1f18ec1d63
Clear all keystrings when KDF DO is written.
2018-04-03 20:24:28 +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
d9d3f35ac3
Fix previous commit.
2018-03-30 17:46:52 +09:00
NIIBE Yutaka
7cc8d8930e
Support single-salt KDF for admin-less mode.
2018-03-30 15:57:34 +09:00
NIIBE Yutaka
6446a5bd89
KDF format validation should be done before removing data object.
2018-03-22 16:03:56 +09:00
NIIBE Yutaka
8b0cb8be65
factory-reset should erase all upgrade public keys.
2018-03-13 14:05:18 +09:00
NIIBE Yutaka
c73bb0548e
Fix KDF DO handling.
2018-02-13 07:26:29 +09:00
NIIBE Yutaka
40b1d453dc
Fix .gitignore.
release/1.2.8
2018-01-23 13:47:46 +09:00
NIIBE Yutaka
3b965fafc0
Fix README.
2018-01-23 13:26:41 +09:00
NIIBE Yutaka
35edbdc731
Version 1.2.8.
2018-01-23 10:13:13 +09:00
NIIBE Yutaka
d4c776e308
Fix the procedure to put VID:PID. Apply the procedure to regnual.
2018-01-23 10:11:35 +09:00
NIIBE Yutaka
6c0c510347
Update documentation.
2018-01-23 09:31:03 +09:00
NIIBE Yutaka
704d8a5cf1
Check passphrase length when changing.
2018-01-22 11:55:10 +09:00
NIIBE Yutaka
55781cb7bb
Remove keystring with BY_ADMIN when it's becomming admin-less mode.
2018-01-22 11:02:02 +09:00
NIIBE Yutaka
de24655920
VIDPID substitution at the last stage of build.
2018-01-19 22:36:01 +09:00
NIIBE Yutaka
7bfe0f5427
Add binary-edit.sh.
2018-01-19 22:22:29 +09:00