Commit Graph
100 Commits
Author SHA1 Message Date
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
Jean-Michel Picod 4a3ccb48d7 Allow flashing only the kernel without any app. 2020-03-11 18:29:31 +01:00
Jean-Michel Picod b22832e9c7 Rely on Makefile to build Tock OS 2020-03-11 18:20:18 +01:00
Jean-Michel Picod 550098d560 Remove duplicate patch 2020-03-11 17:54:37 +01:00
Jean-Michel Picod e87e78acf4 Minor changes (review round 1) 2020-03-11 17:54:37 +01:00
Jean-Michel Picod 9c13d738fd Fix pylint 2020-03-11 17:54:37 +01:00
Jean-Michel Picod e63482af1c Revamp deploy.py
Now the script supports more flashing methods:
- JLink (with tockloader)
- OpenOCD (with tockloader)
- pyOCD
- Nordic DFU
- none (will produce an IntelHex file)

Also merged the contributions from:
- Yihui Xiong to support the Makerdiary USB dongle board
- Dennis Geurts to support Nordic DFU

Doc updated accordingly.

Imported 2 patches for Tock kernel:
- 06-add-set_vector_table_offset.patch (upstream tock/tock#1579)
- 07-nrf52-bootloader.patch (upstream tock/tock#1681)
2020-03-11 17:54:37 +01:00
Jean-Michel Picod 47bd524c40 Merge pull request #68 from jmichelp/master
Fix extraneous globbing in workflows
2020-03-06 14:07:48 +01:00
Jean-Michel Picod e21c753dd3 Merge branch 'master' into master 2020-03-06 13:36:11 +01:00
Jean-Michel Picod 9b3eca2c78 Fix extraneous globbing in workflows 2020-03-06 11:35:38 +01:00
Jean-Michel Picod dbacd7c9e4 Merge pull request #65 from jmichelp/master
Make internal python linter happy.
2020-03-03 16:04:55 +01:00
Jean-Michel Picod 740d6658a5 Make internal python linter happy.
It seems that our internal linter is stricter than what pylint does.
Fixing the python code to make both happy and tries to fix the gap by
modifying pylintrc configuration file
2020-03-03 14:56:11 +01:00
Jean-Michel Picod b649433c5f Merge pull request #64 from jmichelp/master
Fix cargo audit workflow
2020-03-03 14:24:38 +01:00
Jean-Michel Picod 2e92227164 Fix cargo audit workflow
The env context is only available at the step level, not the job one so
we need to use the github context instead. But the head_ref will only be
populated if we run in a pull_request event. So until we find a better
solution, let's match on the repo URL.
2020-03-03 12:05:38 +01:00
Jean-Michel Picod 4930bff7f8 Merge pull request #62 from jmichelp/master
Fix clippy warnings.
2020-03-02 15:34:49 +01:00
Jean-Michel Picod 1c87efd27a Fix clippy warnings.
Because of libtock-rs we can't run clippy on our codebase. But it could
run at least on `build.rs`.
2020-03-02 15:14:50 +01:00
Jean-Michel Picod e61e47820c Merge pull request #61 from jmichelp/master
Run everything that Travis-CI is running as Github workflows
2020-03-02 15:07:57 +01:00
Jean-Michel Picod 433103cbc9 Merge branch 'master' into master 2020-03-02 15:01:18 +01:00
Jean-Michel Picod f9f27d7f89 Try to avoid running cargo audit on forks (it fails) 2020-03-02 14:28:16 +01:00
Jean-Michel Picod 72ac346d57 Revert strategy.matrix and fix missing release mode 2020-03-02 14:27:51 +01:00