Commit Graph
100 Commits
Author SHA1 Message Date
Jean-Michel Picod 2de660ae4d Coveralls workflow applied also to stable (#342)
* Coveralls (#339)

* Add code coverage report as part of the workflows

* Remove -Clink-dead-code which seems to be problematic

* Manually set features to avoid debug_* failing unit tests.

* Update badges

* Add libraries directory to trigger code coverage reporting.

* Fix coveralls badge not pointing to the branch

* Badges to stable branch
2021-07-06 11:22:05 +02:00
7e5e2a665f Merge bugfix into stable (#324)
* Add Feitian OpenSK USB Dongle (#257)

Co-authored-by: superskybird <skybird.le@gmail.com>

* Fix `config.py` tool according to the new API of fido2 python package (#284)

* Fix fido2 API update.

Since fido2 0.8.1 the device descriptor moved to NamedTuple, breaking
our configuration tool.
Code is now updated accordingly and the setup script ensure we're
using the correct version for fido2 package.

* Make Yapf happy

* Fix missing update for fido2 0.9.1

Also split the comment into 2 lines so that the touch is not hidden
at the end of the screen.

* adds README changes, logo and certificate (#285)

* Fix broken parsing. (#317)

* Fix broken parsing.

By setting the default value before pre-parsing we ensure that the item
can't be None. As an extra safety the custom action also checks for
None.

Co-authored-by: Geoffrey <geoffrey@ftsafe.com>
Co-authored-by: superskybird <skybird.le@gmail.com>
Co-authored-by: kaczmarczyck <43844792+kaczmarczyck@users.noreply.github.com>
2021-06-09 16:50:00 +02:00
Jean-Michel Picod 5e682d9e17 Compare all timestamps in UTC timezone. (#309) 2021-04-15 17:22:54 +02:00
748b7e7fb8 Bugfix (#304)
* Add Feitian OpenSK USB Dongle (#257)

Co-authored-by: superskybird <skybird.le@gmail.com>

* Fix `config.py` tool according to the new API of fido2 python package (#284)

* Fix fido2 API update.

Since fido2 0.8.1 the device descriptor moved to NamedTuple, breaking
our configuration tool.
Code is now updated accordingly and the setup script ensure we're
using the correct version for fido2 package.

* Make Yapf happy

* Fix missing update for fido2 0.9.1

Also split the comment into 2 lines so that the touch is not hidden
at the end of the screen.

* adds README changes, logo and certificate (#285)

Co-authored-by: Geoffrey <geoffrey@ftsafe.com>
Co-authored-by: superskybird <skybird.le@gmail.com>
Co-authored-by: kaczmarczyck <43844792+kaczmarczyck@users.noreply.github.com>
2021-04-13 14:59:47 +02:00
b0c1b73897 Add Feitian OpenSK USB Dongle (#257) (#258)
Co-authored-by: superskybird <skybird.le@gmail.com>

Co-authored-by: Geoffrey <geoffrey@ftsafe.com>
Co-authored-by: superskybird <skybird.le@gmail.com>
2021-01-14 12:32:28 +01:00
Jean-Michel Picod 420d038d35 Merge pull request #239 from jmichelp/transparency
Add vendor commands to inject crypto materials
2020-12-16 22:06:15 +01:00
Jean-Michel Picod 712fa0f6a2 Small improvements on kernel patch 2020-12-16 18:22:15 +01:00
Jean-Michel Picod 8595ed5e28 Addressing review comments. 2020-12-16 18:22:15 +01:00
Jean-Michel Picod 7213c4ee99 Address first round of comments. 2020-12-16 18:22:15 +01:00
Jean-Michel Picod ca0606a557 Bump versions to 1.0 for FIDO2 certification. 2020-12-16 18:22:15 +01:00
Jean-Michel Picod a1854bb98a Update documentation 2020-12-16 18:22:15 +01:00
Jean-Michel Picod e35c41578e Add configuration tool 2020-12-16 18:22:15 +01:00
Jean-Michel Picod 3c93c8ddc6 Remove compile time crypto material. 2020-12-16 18:22:15 +01:00
Jean-Michel Picod efb6378311 Add vendor command to load certificate and priv key 2020-12-16 18:22:15 +01:00
Jean-Michel Picod 218188ad49 Add CRP support in libtock-rs 2020-12-16 18:22:15 +01:00
Jean-Michel Picod 6e5a8cdf6d Add kernel support for firmware protection 2020-12-16 18:22:15 +01:00
Jean-Michel Picod b002b4669e Update UICR registers. 2020-12-16 18:22:15 +01:00
Jean-Michel Picod 8a9a1dc87a Merge pull request #233 from jmichelp/master
Use a vscode workspace instead of local settings.
2020-12-10 12:59:53 +01:00
Jean-Michel Picod c2de3e7ed9 Use a vscode workspace instead of local settings. 2020-12-10 10:02:48 +01:00
Jean-Michel Picod 74a184372e Merge pull request #232 from jmichelp/master
Add missing license header.
2020-12-09 19:06:37 +01:00
Jean-Michel Picod 62dd088cd0 Add missing license header. 2020-12-09 18:55:08 +01:00
Jean-Michel Picod 79c1ef29c4 Merge pull request #227 from krkhan/apdu-parser-kk
Add extended APDU parser
2020-12-03 17:55:39 +01:00
Jean-Michel Picod c256a44dcb Merge pull request #205 from MirnaMuhammad98/apdu-parser
Add APDUs Parser
2020-12-01 18:59:42 +01:00
Jean-Michel Picod 57b2bd6871 Merge branch 'master' into apdu-parser 2020-12-01 18:52:44 +01:00
Jean-Michel Picod 64027774a5 Merge pull request #222 from jmichelp/transparency
Ensure CTAP1 uses the storage to access attestation material
2020-11-26 17:32:43 +01:00
Jean-Michel Picod 3d1d827984 Address PR comments 2020-11-26 16:29:14 +01:00
Jean-Michel Picod d491492554 Format 2020-11-25 17:48:47 +01:00
Jean-Michel Picod f2b3ca4029 Make private key sensitive and ensure attestation is OTP 2020-11-25 17:44:52 +01:00
Jean-Michel Picod f47e1e2a86 Ensure store behaves as expected in prod 2020-11-25 17:44:19 +01:00
Jean-Michel Picod 41f7cc7b14 CTAP1/U2F accesses attestation material through the store. 2020-11-25 17:31:05 +01:00
Jean-Michel Picod 026b4a66ac Fix CTAP2 batch attestation 2020-11-25 17:26:08 +01:00
Jean-Michel Picod 3dbfae972f Always insert attestation material in the store 2020-11-25 17:17:57 +01:00
Jean-Michel Picod 6a2a482b03 Merge pull request #200 from kaczmarczyck/empty-auth-up
Adds a UP check for device identification
2020-11-24 18:48:38 +01:00
Jean-Michel Picod 2da14783d3 Merge pull request #219 from jmichelp/certification
Adding metadata file used for certification.
2020-11-24 10:35:48 +01:00
Jean-Michel Picod a412da8c73 Merge pull request #212 from kaczmarczyck/hid-init-sync
Change response in HID_INIT for sync
2020-11-20 15:37:25 +01:00
Jean-Michel Picod 8c60d4b97d Merge pull request #215 from jmichelp/fix_workflow
Fix broken crypto_test workflow.
2020-11-20 13:38:19 +01:00
Jean-Michel Picod 4645ed322d Merge branch 'master' into fix_workflow 2020-11-20 13:23:43 +01:00
Jean-Michel Picod 22ff0b236f Merge branch 'master' into fix_workflow 2020-11-20 12:29:36 +01:00
Jean-Michel Picod dab0077b87 Fix broken crypto_test workflow.
The use of `::set-env` command in workflows is not being depreacted.
Moving to the new way of setting environment variables.
2020-11-20 11:58:39 +01:00
Jean-Michel Picod 1d698fcc4c Merge branch 'master' into nfc-example-app 2020-11-13 16:08:01 +01:00
Jean-Michel Picod eba91e983d Merge pull request #145 from coelner/elf2tab
Elf2tab internally install
2020-09-24 13:34:57 +02:00
Jean-Michel Picod b802f1b8b5 Merge branch 'master' into elf2tab 2020-09-24 13:22:27 +02:00
Jean-Michel Picod 3bd411336c Merge pull request #150 from jmichelp/master
Update to a newer kernel version
2020-09-22 17:35:16 +02:00
Jean-Michel Picod 8ff1c02b9a Update reproducible hashes 2020-09-22 17:24:17 +02:00
Jean-Michel Picod beb9f90099 Merge branch 'master' into master 2020-09-22 17:15:04 +02:00
Jean-Michel Picod 942a20dbda Merge pull request #153 from jmichelp/fix-reproducible
Fix reproducibility
2020-09-18 17:47:16 +02:00
Jean-Michel Picod 0afe96e575 Merge branch 'master' into fix-reproducible 2020-09-18 17:37:17 +02:00
Jean-Michel Picod 65ca227dc3 Fix reproducibility 2020-09-18 17:23:06 +02:00
Jean-Michel Picod 2b2b9ecc6f Update reproducible hashes 2020-09-16 17:24:53 +02:00
Jean-Michel Picod 62151ed614 Fix MPU issue 2020-09-16 17:15:33 +02:00
Jean-Michel Picod 4f6b1fa04e Update hashes. 2020-09-16 14:07:13 +02:00
Jean-Michel Picod a70c57f57b Fix reproducibility 2020-09-16 13:56:53 +02:00
Jean-Michel Picod b4e77e54e3 Fix references 2020-09-16 12:13:30 +02:00
Jean-Michel Picod 730670eac8 Update reproducible references 2020-09-16 12:03:45 +02:00
Jean-Michel Picod 9e8e83fb32 Patch cleanup 2020-09-16 11:48:59 +02:00
Jean-Michel Picod 5ca23c4e05 Update patches for newer kernel 2020-09-16 11:35:19 +02:00
Jean-Michel Picod a660d5cfda Remove unnecessary patch 2020-09-16 10:40:08 +02:00
Jean-Michel Picod bb2685ca94 Update out-of-tree board to new kernel 2020-09-16 10:38:36 +02:00
Jean-Michel Picod cc495b8c85 Bump kernel version 2020-09-16 10:37:18 +02:00
Jean-Michel Picod 655eac2e8a Merge pull request #147 from jmichelp/master
Few fixes/improvements
2020-09-16 10:34:37 +02:00
Jean-Michel Picod aea26d9909 Add missing aaguid.txt for reproducibility 2020-09-16 10:07:50 +02:00
Jean-Michel Picod 4b4f3ccbfb Fix pylint error 2020-09-15 11:29:03 +02:00
Jean-Michel Picod 34f3483f9e Decoralate AAGUID and certificates 2020-09-14 14:03:57 +02:00
Jean-Michel Picod 62c9cebb3e Fix logic error with ctap2.1 2020-09-01 17:23:43 +02:00
Jean-Michel Picod 728401b00f Bump elf2tab to 0.6.0 2020-09-01 17:23:26 +02:00
Jean-Michel Picod 403048d2f5 Merge branch 'master' into develop 2020-08-17 12:07:44 +02:00
Jean-Michel Picod 57bf623539 Merge pull request #140 from jmichelp/master
Fix parsing logic of deploy.py script
2020-08-12 11:49:44 +02:00
Jean-Michel Picod d4bb0dd7ef Fix parsing logic of deploy.py script 2020-08-12 11:20:37 +02:00
Jean-Michel Picod 5495bbd2a4 Merge pull request #136 from jmichelp/master
Move to tockloader 1.5
2020-08-11 18:09:10 +02:00
Jean-Michel Picod f68ab0be9d Update GitHub workflow 2020-08-07 16:39:11 +02:00
Jean-Michel Picod 8f358b7d81 Move to tockloader 1.5 2020-08-07 16:28:39 +02:00
Jean-Michel Picod 1ad3df42dc Merge pull request #104 from jmichelp/master
Add missing parameter that got introduced in tockloader 1.4
2020-04-29 14:17:16 +02:00
Jean-Michel Picod 999e331306 Add missing paramter that got introduced in tockloader 1.4 2020-04-29 14:05:06 +02:00
Jean-Michel Picod 86b976dc73 Merge pull request #102 from jmichelp/master
Adjust yapf formatter
2020-04-29 14:04:36 +02:00
Jean-Michel Picod ca15ea4323 Fix formatting 2020-04-29 11:48:12 +02:00
Jean-Michel Picod 8211df81d5 Adjust regexp 2020-04-29 11:46:52 +02:00
Jean-Michel Picod 8e182b9de9 Introduce formatting mistake 2020-04-29 11:40:48 +02:00
Jean-Michel Picod 3e19c7512f Fix missing parentheses in regexp 2020-04-29 11:40:14 +02:00
Jean-Michel Picod 674c4c1b9a Fixing yapf matcher 2020-04-29 11:38:33 +02:00
Jean-Michel Picod 2e35d0074a Introduce formatting error to test yapf 2020-04-29 11:05:28 +02:00
Jean-Michel Picod 332d7bc2ea Update yapf matcher.
Extracting the diff is not very useful because messages are not
concatenated. The line/column info is also not useful because the
diff includes some context lines.
2020-04-28 18:36:04 +02:00
Jean-Michel Picod a611496497 Force format error to test yapf matcher 2020-04-28 18:27:05 +02:00
Jean-Michel Picod 32f0090888 Try to fix yapf matcher 2020-04-28 18:24:46 +02:00
Jean-Michel Picod a0601145ed More accurate error message regarding tockloader version. 2020-04-28 10:05:16 +02:00
Jean-Michel Picod c9773e0f80 Fix dependency on tockloader 1.4
Now that it has been released and pushed to pypi, make sure that
tockloader is at least 1.4 version
2020-04-28 10:02:47 +02:00
Jean-Michel Picod fb945b314e Merge branch 'master' into tock-1.5 2020-04-24 15:47:54 +02:00
Jean-Michel Picod d140e5a93d Merge pull request #99 from jmichelp/master
Fix style being used with yapf 0.30.0
2020-04-24 15:42:59 +02:00
Jean-Michel Picod 7cfe3ac3cd Merge branch 'master' into master 2020-04-24 15:37:46 +02:00
Jean-Michel Picod 7516badab0 Fix formating because of new style in yapf 2020-04-24 12:45:58 +02:00
Jean-Michel Picod 5ea58bc018 Fix style being used with yapf 0.30.0 2020-04-24 12:38:10 +02:00
Jean-Michel Picod 57e79c18fc Merge pull request #82 from jmichelp/master
Check nrfutil version.
2020-03-13 15:51:05 +01:00
Jean-Michel Picod f471fc4b5e Merge branch 'master' into master 2020-03-13 15:45:25 +01:00
Jean-Michel Picod 9c3f5c34b4 Incorrect import. 2020-03-13 15:26:54 +01:00
Jean-Michel 1768934402 Check nrfutil version. 2020-03-13 11:49:56 +01:00
Jean-Michel Picod ec1ce661d3 Merge pull request #78 from jmichelp/master
Revamp deploy.py
2020-03-12 13:44:11 +01:00
Jean-Michel Picod 93bc8da326 Fix missing directory 2020-03-12 13:35:43 +01:00
Jean-Michel Picod dfe901e87c Adding missing intelhex python library 2020-03-12 13:29:07 +01:00
Jean-Michel Picod 49182c531a Add new python dependency 2020-03-12 13:23:54 +01:00
Jean-Michel Picod 0e1c76455d Address review round #2 2020-03-12 12:12:45 +01:00
Jean-Michel Picod 7c5c7b9d05 Ensure we have something to do. 2020-03-11 18:31:09 +01:00