392 Commits

Author SHA1 Message Date
Conor Patrick
a2611fb013 run python black 2019-02-12 18:45:01 -05:00
Conor Patrick
23c140fd99
Merge pull request #107 from solokeys/license-change
License change
2019-02-12 17:47:43 -05:00
Conor Patrick
894f6f7ee1
Merge branch 'master' into license-change 2019-02-12 17:47:28 -05:00
Conor Patrick
b9e6d552f8
Merge pull request #105 from solokeys/versioning
Versioning
2019-02-12 17:46:45 -05:00
Conor Patrick
828a8fc0b5 Update README.md 2019-02-12 17:21:37 -05:00
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
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
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
Paolo Smiraglia
4c36a752cb Fix vendor and product id 2019-01-31 02:56:42 +01:00
Nicolas Stalder
37f1790028 Add metadata statements and include in documentation 2019-01-27 20:08:15 +01:00
Nicolas Stalder
91066292ae move fido2-impl.md 2019-01-27 19:57:48 +01:00
Conor Patrick
1ffe85f083 update attestation verification 2019-01-27 11:18:50 -05:00
Conor Patrick
7a6abdfd0c add command to verify SoloKeys attestation cert 2019-01-26 18:06:01 -05:00
Conor Patrick
ff4cb32bc3 Update solotool.py 2019-01-26 17:15:40 -05:00
Conor Patrick
a75d272f4a move files, not yet implemented masked aes 2019-01-23 19:53:58 -05:00
Conor Patrick
15c3383249 be more clear that these aren't implemented yet 2019-01-23 19:23:21 -05:00
Conor Patrick
c556fcd8c3
Merge pull request #58 from Nitrokey/fix_simulation
Avoid 2nd start of the simulation server
2019-01-23 19:02:30 -05:00
Paul Jimenez
29d4d88259 upgrade to xenial for a newer cppcheck 2019-01-21 19:37:22 +01:00
Paul Jimenez
7bd5f29a79 add cppcheck to travis 2019-01-21 19:37:22 +01:00
Paul Jimenez
a72f5029dc Make solotool complain if it's run with py2 2019-01-21 19:24:58 +01:00
merlokk
81e58a92f2 flash_lock() must be at beginning 2019-01-21 17:38:56 +02:00
merlokk
c3b4806e85 add led emission normalization 2019-01-21 17:09:51 +02:00
Nicolas Stalder
dffc1833cb
Update contributing.md 2019-01-19 03:53:28 +01:00
fossabot
31538faab1 Add license scan report and status
Signed-off-by: fossabot <badges@fossa.io>
2019-01-19 00:37:24 +01:00
Nicolas Stalder
1866d366fb Add cla-bot configuration 2019-01-18 18:05:41 +01:00
Conor Patrick
178c25710b
Merge pull request #60 from Nitrokey/doc_update
Udev rules related docs update
2019-01-12 17:12:28 -05:00
Szczepan Zalega
5806b25fd1
Prevent Solo's debug serial port use by ModemManager
This Udev rule marks the device to be ignored by the MM.
Otherwise using the CDC ACM serial port interface will not be
possible, while its service is running.

Tested on Fedora 29, with ModemManager enabled, using:
$ solotool.py monitor /dev/solokey-serial
Fixes https://github.com/solokeys/solo/issues/62

As provided by @yparitcher in:
https://github.com/solokeys/solo/pull/60#issuecomment-452428432

Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
2019-01-09 11:41:23 +01:00
Szczepan Zalega
4110434e33
Add Udev symlink for Solo's serial port
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
2019-01-09 11:41:20 +01:00
Szczepan Zalega
8c103be5c0
Udev rules related docs update
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
2019-01-09 11:41:16 +01:00
Conor Patrick
9ff52fcdb4 Update u2f.c 1.0.1 2019-01-08 21:37:15 -05:00
Conor Patrick
e7f01f4e55 disable CDC ACM when not debugging 2019-01-08 21:18:18 -05:00
Conor Patrick
04a85db303 serial number 2019-01-08 20:50:14 -05:00
Conor Patrick
61ad141830 Merge branch 'master' of github.com:solokeys/solo 2019-01-08 20:46:30 -05:00
Nicolas Stalder
8eacfa6717 Fix docs again 2019-01-08 02:14:46 +01:00
Nicolas Stalder
80f2b487f0 Merge branch 'int3l-patch-1' 2019-01-08 01:10:54 +01:00