Conor Patrick
45eaef2663
delete non-supported platforms
2019-02-12 17:18:44 -05:00
Conor Patrick
ed676151f1
update license to apache2 + mit
2019-02-12 17:18:17 -05:00
Conor Patrick
45da2f0b32
Update solotool.py
2019-02-12 16:37:40 -05:00
Conor Patrick
6c23532f08
use 3-byte version
2019-02-12 16:37:32 -05:00
Conor Patrick
bc8984aac3
pass version to gcc derived from git describe
2019-02-12 16:37:09 -05:00
Conor Patrick
020fe21546
organize version header info
2019-02-12 16:11:06 -05:00
Conor Patrick
9957a83746
organize makefiles
2019-02-12 16:03:04 -05:00
Conor Patrick
72bca0765a
see firmware version from solotool
2019-02-12 15:11:48 -05:00
Conor Patrick
ba4f9ed7ae
bug fix
2019-02-12 15:00:01 -05:00
Conor Patrick
eb2d377ffb
add extension to solo to get version and RNG
2019-02-12 14:00:05 -05:00
Conor Patrick
8303bb04d3
write bootloader version from bootloader
2019-02-12 13:59:36 -05:00
Conor Patrick
d23bf0a144
change product name, include version string
2019-02-12 13:59:16 -05:00
Conor Patrick
a6446e67bc
Merge pull request #80 from merlokk/led_normalization
...
led emission normalization
2019-02-11 22:12:24 -05:00
Conor Patrick
529b879c08
init in device_init
2019-02-11 22:02:41 -05:00
Conor Patrick
2893cd7ce3
move inits to device_init
2019-02-11 22:00:18 -05:00
Conor Patrick
0634510b92
Merge pull request #81 from merlokk/fix_flash_lock
...
flash_lock() must be at beginning
2019-02-11 21:57:40 -05:00
Conor Patrick
858545c0c8
Merge pull request #98 from Nitrokey/94-buffer_overread
...
Fix buffer overread in ctap_encode_der_sig()
2019-02-11 21:44:57 -05:00
Conor Patrick
120fb95541
compile for bootloader
2019-02-08 13:09:32 -05:00
Conor Patrick
665e84d183
delay to allow spi interface to initialize
2019-02-08 13:09:12 -05:00
Conor Patrick
13d9885da4
initialize at 16MHz, add 24 and 32 options
2019-02-08 13:08:28 -05:00
Conor Patrick
e230a9464e
enable ctap from usb
2019-02-07 20:09:13 -05:00
Conor Patrick
342af18b1f
initialize ctap
2019-02-07 20:09:00 -05:00
Conor Patrick
be9bd941c8
simplify ams init
2019-02-07 19:45:02 -05:00
Conor Patrick
0f6be6740b
Merge pull request #101 from merlokk/nfc2
...
Nfc2
2019-02-07 19:14:12 -05:00
Conor Patrick
9054736e0e
delete debugging code
2019-02-07 19:03:45 -05:00
merlokk
c6d946136e
small fix
2019-02-07 16:05:08 +02:00
Oleg Moiseenko
32400c8d09
Merge branch 'nfc' into nfc2
2019-02-07 14:49:47 +02:00
Conor Patrick
587c9aad14
refactor
2019-02-06 18:09:53 -05:00
Conor Patrick
c624a32ef6
default 8 thread build
2019-02-06 18:07:38 -05:00
Conor Patrick
3005a63938
re-arrange some logic for better passive operation
2019-02-06 18:07:09 -05:00
Conor Patrick
f470e9a9cd
dont need to init clock at first in bootloader
2019-02-06 18:05:22 -05:00
Conor Patrick
e3971a5e0f
change ams init, read less regs
2019-02-06 17:56:53 -05:00
Conor Patrick
2ed8667f18
immedately change clock rate to load data sections faster
2019-02-06 17:55:27 -05:00
Conor Patrick
765d532f82
add low freq clocking options 4,8,16MHz
2019-02-06 17:54:52 -05:00
merlokk
ca05385513
log fixing
2019-02-06 20:06:46 +02:00
merlokk
5328610ff1
delete debug messages
2019-02-06 19:51:32 +02:00
merlokk
bc1bb3509f
move APDU dumps to separate log channel
2019-02-06 19:21:06 +02:00
merlokk
375db69e3a
fido2 works
2019-02-06 19:06:49 +02:00
merlokk
771fffe329
WTX works. todo: clean debug unneeded messages
2019-02-06 17:12:22 +02:00
merlokk
4611f05051
small fix in AMS3956 debug texts
2019-02-06 15:17:52 +02:00
merlokk
e657e26886
check AMS product type
2019-02-06 15:15:37 +02:00
merlokk
3ffcc47374
fix logger
2019-02-06 14:11:49 +02:00
Nicolas Stalder
102f2f261b
better capitalisation
2019-02-03 02:27:25 +01:00
Nicolas Stalder
24d8abf820
add an .envrc for those using direnv
2019-02-03 02:21:50 +01:00
Szczepan Zalega
449faea7d3
Fix buffer overread in ctap_encode_der_sig()
...
Take into account leading zeroes in the size to copy, for both R and S
ingredients of the signature.
Issue was occuring only in cases, when there was a leading zero for the
S part.
Refactor ctap_encode_der_sig():
- add in_ and out_ prefixes to the function arguments
- mark pointers const
- clear out buffer
Tested via simulated device on:
- Fedora 29
- gcc (GCC) 8.2.1 20181215 (Red Hat 8.2.1-6)
- libasan 8.2.1 / 6.fc29
(same machine, as in the related issue description)
by running ctap_test() Python test in a loop for 20 minutes (dev's
counter 400k+). Earlier issue was occuring in first minutes.
Tested on Nucleo32 board, by running the ctap_test() 20 times.
Fixes https://github.com/solokeys/solo/issues/94
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
2019-02-02 18:33:10 +01:00
Conor Patrick
1b5e230d45
merge u2f endian fix
2019-02-02 00:32:36 -05:00
Conor Patrick
81a89ed6aa
go back to high freq
2019-02-02 00:29:32 -05:00
Conor Patrick
ca2074de36
Update Makefile
2019-02-02 00:25:01 -05:00
Conor Patrick
ee98340a03
temporarily remove prints at start
2019-02-02 00:24:42 -05:00
Conor Patrick
3d0d91fa5c
lf param
2019-02-02 00:24:11 -05:00