NIIBE Yutaka
ae76d66d53
Fix accessing garbage on error path.
...
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org >
Reported-by: Anthony Romano <anthony.romano@coreos.com >
2017-07-19 10:48:16 +09:00
NIIBE Yutaka
10c5010141
Git is assumed for the source with .git.
...
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org >
2017-07-18 14:12:20 +09:00
Anthony Romano
d12483c3c9
Support building with docker.
...
Signed-off-by: Anthony Romano <anthony.romano@coreos.com >
2017-07-18 13:38:46 +09:00
Anthony Romano
67acb670d1
call fatal if mem_head size is corrupted.
...
Signed-off-by: Anthony Romano <anthony.romano@coreos.com >
2017-07-18 13:31:06 +09:00
Anthony Romano
a44244b27e
avoid null dereference when openpgp algo goes from !rsa2k to rsa2k.
...
Detected with scan-build.
Signed-off-by: Anthony Romano <anthony.romano@coreos.com >
2017-07-18 13:27:12 +09:00
Anthony Romano
2622840e27
remove unused calculations from mod_reduce.
...
Detected with scan-build.
Signed-off-by: Anthony Romano <anthony.romano@coreos.com >
2017-07-18 13:19:42 +09:00
Anthony Romano
a51ac8593b
call-rsa: free modulus buffers on error paths.
...
* MPI_CHK jumps to cleanup on ret != 0, so p_q_modulus is never freed if
rsa_gen_key fails (detected via scan-build).
* modulus_calc never freed its modulus buffer on error.
Signed-off-by: Anthony Romano <anthony.romano@coreos.com >
2017-07-18 13:15:42 +09:00
NIIBE Yutaka
de81caba3e
Update Chopstx.
...
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org >
2017-07-18 12:58:23 +09:00
NIIBE Yutaka
fa69a85826
Version 1.2.4.
...
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org >
release/1.2.4
2017-05-12 17:22:20 +09:00
NIIBE Yutaka
5c3c3e3001
usbip list -r 127.0.0.1 now works.
...
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org >
2017-05-12 14:13:53 +09:00
NIIBE Yutaka
6dcb4dd027
Add usb-emu.c.
...
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org >
2017-05-02 15:05:15 +09:00
NIIBE Yutaka
fa08f44cac
Fix old documentation (note) for firmware update.
...
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org >
2017-05-01 14:58:15 +09:00
NIIBE Yutaka
4c2294ea6c
Portability change.
...
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org >
2017-04-28 16:14:30 +09:00
NIIBE Yutaka
86eaa26d32
New: src/mcu-stm32f103.c.
...
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org >
2017-04-28 15:49:38 +09:00
NIIBE Yutaka
9e52789203
Fix long standing buf of digital signature counter.
...
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org >
2017-04-28 14:54:15 +09:00
NIIBE Yutaka
702bc8cbde
Move data objects at the end of flash.
...
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org >
2017-04-27 15:23:25 +09:00
NIIBE Yutaka
2cfce76d91
[SECURITY] Flash memory usage change.
...
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org >
2017-04-27 14:36:32 +09:00
NIIBE Yutaka
207652246a
emulation: USB device emulation by USBIP protocol.
2017-04-18 15:45:25 +09:00
NIIBE Yutaka
32779b6f96
Version 1.2.3.
release/1.2.3
2017-02-02 16:33:30 +09:00
NIIBE Yutaka
55c1015faa
Increase CCID thread stack size by 0x20 for newer GCC.
2017-02-02 14:11:11 +09:00
NIIBE Yutaka
0932465f0b
Update Chopstx to 1.3.
2017-02-02 13:07:35 +09:00
NIIBE Yutaka
4417799a51
Update README
2017-02-01 17:16:54 +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
d4469c24ec
fix NIST P-256 / secp256k1 key generation.
2016-10-21 15:30:07 +09:00
NIIBE Yutaka
e4333c6580
Version 1.2.2
release/1.2.2
2016-10-15 20:18:20 +09:00
NIIBE Yutaka
d2261d53e3
fix scripts
2016-10-15 20:14:18 +09:00
NIIBE Yutaka
27bd37781a
Fix flash initialization
2016-10-15 19:29:23 +09:00
NIIBE Yutaka
bed43d4049
Add tests/ accessing DO 6E
2016-10-15 19:28:57 +09:00
NIIBE Yutaka
f7d857b527
fix stack usage of CCID
2016-10-15 18:37:22 +09:00
NIIBE Yutaka
350528e1f4
tests/ update for signature counter
2016-10-15 18:35:21 +09:00
NIIBE Yutaka
4de605ed63
Add pubkey tests
2016-10-15 16:55:22 +09:00
NIIBE Yutaka
ffa9bf1f94
support factory_reset.
2016-10-14 08:45:01 +09:00
NIIBE Yutaka
34d0b34144
add factory reset support (not-full yet)
2016-10-13 15:06:19 +09:00
NIIBE Yutaka
5795dc9877
rename status-code.h
2016-10-13 11:03:50 +09:00
NIIBE Yutaka
c8b17a8759
Update to Chopstx 1.2
2016-10-13 10:35:22 +09:00
NIIBE Yutaka
38d70e277b
Fix difference between original OpenPGP card
2016-10-13 10:33:02 +09:00
NIIBE Yutaka
b00bab8dbf
tests/ update
2016-10-13 10:04:27 +09:00
NIIBE Yutaka
3c91dce8b7
fix tests/
2016-10-12 19:42:22 +09:00
NIIBE Yutaka
f1773c146b
fix test/
2016-10-12 15:32:51 +09:00
NIIBE Yutaka
979992c046
fix test/
2016-10-12 14:56:57 +09:00
NIIBE Yutaka
50700e3887
more tests (incomplete)
2016-10-12 10:22:57 +09:00
NIIBE Yutaka
b0ee8b4452
TPDU reader works now
2016-10-07 16:39:20 +09:00
NIIBE Yutaka
a73f8cf4fd
implement TPDU card reader
2016-10-05 20:00:22 +09:00
NIIBE Yutaka
c1cc75f5b0
New test suite for OpenPGP card
2016-09-30 16:38:27 +09:00
NIIBE Yutaka
47150b5c98
minor fix for configure
2016-09-30 16:20:19 +09:00
NIIBE Yutaka
f46880d2a8
Add Gnuk logo of PNG
2016-09-02 11:01:55 +09:00
NIIBE Yutaka
23bbc9c755
Fix test setup
2016-08-24 10:39:27 +09:00
NIIBE Yutaka
2b784cb3b9
Upgrade tool/hub_ctrl.py
2016-08-03 21:19:34 +09:00
NIIBE Yutaka
452c15c908
Version 1.2.1
release/1.2.1
2016-07-11 16:20:55 +09:00