NIIBE Yutaka
1ba05a0f0f
tests: factor out tests into classes.
2019-04-03 13:49:55 +09:00
NIIBE Yutaka
2d50795d0a
tests: Skip Gnuk only test.
2019-04-03 09:45:06 +09:00
NIIBE Yutaka
fd493562c3
Add OpenPGP card v3.3 card factory reset setup.
2019-04-02 17:29:56 +09:00
NIIBE Yutaka
16c6af215a
tests: Use 3.3V for the card.
2019-04-02 13:19:56 +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
076d727061
Fix timeout initialization at receiving command.
2019-02-24 13:59:59 +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
aedf8267ec
Change the constant values for eventflag.
...
I misunderstood semantics of __builtin_ffs function which prefers
less significant 1-bit.
2019-02-22 14:26:46 +09:00
NIIBE Yutaka
e9d9de3ae2
Implement timeout for the user interaction.
2019-02-22 09:21:11 +09:00
NIIBE Yutaka
fc109fd8af
Add GnuPG e.V.'s VID:PID.
2019-02-21 11:39:37 +09:00
NIIBE Yutaka
3d06051a32
Comment in the commit log fix.
...
In the commit of e760d5b780
, I wrote
wrong comment. The nvic_system_reset function lets MCU go through by
the vectors at 0x08000000. Thanks to Peter Lebbing to confirm this
fact.
2018-12-31 19:07:33 +09:00
NIIBE Yutaka
b7368e41e9
Version 1.2.13.
2018-12-26 14:14:11 +09:00
NIIBE Yutaka
e760d5b780
Add ChangeLog entry for Peter's changes.
...
Note that the call of nvic_system_reset from device_initialize_once
uses the old RESET vector.
2018-12-26 14:10:20 +09:00
Peter Lebbing
b57c33c204
Fix make {,dist}clean
2018-12-22 14:42:34 +01:00
Peter Lebbing
ca3312eb25
DFU fix: Copy initial MSP, reset after protect
2018-12-22 14:08:54 +01:00
NIIBE Yutaka
6a1f50abda
Add ChangeLog entries for Peter's changes.
2018-12-21 10:30:16 +09:00
Peter Lebbing
66f39c57cd
DFU support: overwrite DFU with SYS and protect flash
2018-12-21 10:10:57 +09:00
Peter Lebbing
4b5f93624e
Build standalone SYS
2018-12-21 09:57:04 +09:00
Peter Lebbing
0ef687ea4c
Add ORIGIN_REAL, emit more configure variables
...
ORIGIN{,_REAL} is made available to C and USE_DFU is made available to
make.
2018-12-21 09:53:12 +09:00
Peter Lebbing
786b4adc42
Use different ORIGIN for DFU on Maple Mini
2018-12-21 09:49:43 +09:00
NIIBE Yutaka
385261c9a0
Update Chopstx to 1.13.
2018-12-20 14:02:30 +09:00
NIIBE Yutaka
65689199e7
Fix order of EV_* for CCID thread.
...
Since openpgp thread has lower priority than CCID thread, there is no
case where two consecutive messages EV_EXEC_ACK_REQUIRED and
EV_EXEC_FINISHED are handled simultaneously (openpgp thread needs to
work some time to send EV_EXEC_FINISHED, after sending
EV_EXEC_ACK_REQUIRED). But just in case, when there are two messages
at once, EV_EXEC_ACK_REQUIRED should been handled before
EV_EXEC_FINISHED.
2018-12-07 08:35:27 +09:00
NIIBE Yutaka
8d15086d06
Really fix the last race condition.
...
Fixes the commit of fc36773
.
2018-12-06 12:09:42 +09:00
NIIBE Yutaka
c17fd5401b
Support Ack button for firmware update.
2018-12-05 15:36:16 +09:00
NIIBE Yutaka
56cd4ae7b5
Fix for UIF DO.
2018-12-04 17:22:04 +09:00
NIIBE Yutaka
fc36773c6a
Fix hopefully the last race condition for tx_busy handling.
2018-12-01 23:28:19 +09:00
NIIBE Yutaka
7249775c17
Version 1.2.12.
2018-11-25 14:37:09 +09:00
NIIBE Yutaka
980cff0a2f
Fix another race condition around ack button and usb communication.
2018-11-21 14:56:56 +09:00
NIIBE Yutaka
8f44f5d3c6
Unique 96-bit looks different on GD32F103.
...
Depending on MHZ, we change how we get the 96-bits.
2018-11-17 19:01:59 +09:00
NIIBE Yutaka
37a84ed218
Version 1.2.11.
2018-11-12 14:44:18 +09:00
NIIBE Yutaka
6c72147248
Always enable ACKBTN support.
2018-11-12 14:25:22 +09:00
NIIBE Yutaka
3d37003d8c
Fix tool/kdf_calc.py.
2018-11-09 20:52:15 +09:00
NIIBE Yutaka
becf8fabc5
Fix synchronous sending.
2018-11-09 20:50:35 +09:00
NIIBE Yutaka
17492287f3
Fix cmd_pso and cmd_internal_authenticate.
2018-11-09 18:57:51 +09:00
NIIBE Yutaka
c800dee95e
Sending from Gnuk Token is now synchronous.
2018-11-09 16:38:14 +09:00
NIIBE Yutaka
2c390dc763
Minor fixes for usb-ccid.c.
2018-11-09 15:23:33 +09:00
NIIBE Yutaka
5aee75fd4b
Remove unused CCID_STATE_RECEIVE and CCID_STATE_SEND state.
...
It was used before when Gnuk uses extended APDU exchange (7 years ago).
2018-11-09 12:57:41 +09:00
NIIBE Yutaka
69e8c0f334
It also works with Python3.
2018-10-22 14:26:21 +09:00
NIIBE Yutaka
317cc2036d
Fix UIF interaction.
2018-10-12 11:54:41 +09:00
NIIBE Yutaka
312d15c3fa
Tweak stack size.
2018-10-02 19:10:56 +09:00
NIIBE Yutaka
d356f1b1e0
doc: Fix by Fabio Utzig for scdaemon.
2018-10-02 13:31:03 +09:00
NIIBE Yutaka
9cb6591491
Update Chopstx to 1.11.
2018-10-02 13:30:51 +09:00
NIIBE Yutaka
ebec8ee156
UI change for LED blink.
2018-10-01 14:36:56 +09:00
NIIBE Yutaka
f810fb83d3
Allow parallel execution waiting ACK.
2018-10-01 14:06:31 +09:00
NIIBE Yutaka
12079974fd
Fix UIF DO handling.
2018-09-27 22:29:49 +09:00
NIIBE Yutaka
ca79f5421f
Fix rw_uif.
2018-09-27 16:38:07 +09:00
NIIBE Yutaka
c438367d67
Add UIF Data Object support for Acknowledge Button.
2018-09-27 15:02:43 +09:00
NIIBE Yutaka
4c6511231c
Blink LED rapidly when asking ACK from user.
2018-09-27 13:16:51 +09:00