Wykres commitów

376 Commity (ed676151f13b2b9ae8176b3318c9f49c4897d783)

Autor SHA1 Wiadomość Data
Conor Patrick ed676151f1 update license to apache2 + mit 2019-02-12 17:18:17 -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 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
nickray a0f8b27841
Merge branch 'master' into patch-1 2019-01-08 01:09:46 +01:00
Nicolas Stalder d89fe933f3 Merge branch 'robbiemacg-patch-1' 2019-01-08 01:04:32 +01:00
Nicolas Stalder 794c231b0d Merge branch 'patch-1' of git://github.com/robbiemacg/solo into robbiemacg-patch-1 2019-01-08 01:03:54 +01:00
Conor Patrick fa4da6e9d7 Merge branch 'master' of github.com:solokeyssec/solo 2019-01-07 18:09:03 -05:00
Conor Patrick 6d3313bd3f Update building.md 2019-01-07 18:08:59 -05:00
Nicolas Stalder ea210320c6 Fix some old links 2019-01-07 23:07:55 +01:00
Nicolas Stalder bdc4c8f9df Move to solokeys org, host docs under docs.solokeys.io 2019-01-07 22:39:36 +01:00
robbiemacg 8c1d716632
Update fido2-impl.md
Fixed small apparent typo.
2019-01-07 13:47:03 -04:00
Szczepan Zalega ca27b26c6b
Avoid 2nd start of the simulation server
udp_server() is being called second time during the simulated run, which
fails due to trying to claim already used port. This patch adds cache to
the udp_server() result.

Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
2019-01-07 18:47:01 +01:00
int3l 600b2a61fe Enable custom favicon 2019-01-07 02:24:27 +01:00
int3l 2f61c061b7 Add favicon asset
Same asset icon file as solokeys.com
2019-01-07 02:24:27 +01:00
int3l ba4ca96253
Update mkdocs config
- adjust the copyright text
- rename and reorder some of the menu items for the sake of better SEO and user experience
2019-01-06 20:12:33 +02:00
nickray a48a962653
Fix badges and hint Python setup 2019-01-06 03:44:05 +01:00
Conor Patrick ccac725b7f pass prefix option 2019-01-05 19:56:23 -05:00
Conor Patrick 41ed68eb44 Update bootloader.mk 2019-01-05 19:52:59 -05:00
Conor Patrick 3d9dd08208 non-c99 compatibility 2019-01-05 19:42:28 -05:00