69 Commits

Author SHA1 Message Date
Jean-Michel Picod
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
e35c41578e Add configuration tool 2020-12-16 18:22:15 +01:00
Julien Cretin
ece546a03b Merge branch 'master' into v2_lib 2020-12-10 17:08:00 +01:00
Julien Cretin
ae08221cdb Add latency example 2020-12-10 13:31:25 +01:00
Julien Cretin
4253854cf1 Remove ram_storage feature
We don't need to build a production key without persistent storage. Tests and
fuzzing continue to use the std feature to use the RAM implementation (that does
sanity checks).
2020-12-10 13:06:05 +01:00
Mirna
f9705d7c26 example app 2020-11-02 11:13:58 +02:00
Mirna
b95b0682f9 Added NFC compile flag 2020-10-23 19:25:36 +02:00
Mirna
7e0a48ae1c Resolved Review Comments 2020-10-21 10:39:17 +02:00
Mirna
929aaf3ba2 Update in libtock-drivers/ and nfct_test.rs application 2020-10-16 08:06:42 +02:00
Mirna
d36cac1a33 Add NFC example application 2020-10-16 08:06:42 +02:00
Guillaume Endignoux
70482a2f21 Install elf2tab in its own directory. 2020-09-29 12:56:21 +02:00
coelner
ef40657c27 install a local elf2tab binary within the repo itself 2020-09-24 12:36:11 +02:00
Guillaume Endignoux
a3b9724165 Add console_test example to stress-test Tock's console driver. 2020-09-22 16:33:52 +02:00
Jean-Michel Picod
4b4f3ccbfb Fix pylint error 2020-09-15 11:29:03 +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
d4bb0dd7ef Fix parsing logic of deploy.py script 2020-08-12 11:20:37 +02:00
Jean-Michel Picod
8f358b7d81 Move to tockloader 1.5 2020-08-07 16:28:39 +02:00
Guillaume Endignoux
e60e10e777 Add examples for panic_test and oom_test. 2020-08-07 15:09:07 +02:00
Guillaume Endignoux
58e2f1211c Update deploy.py to the new libtock. 2020-08-07 15:09:07 +02:00
Guillaume Endignoux
3124735cf1 Use argparse.FileType as suggested in review. 2020-06-09 16:54:44 +02:00
Guillaume Endignoux
6b2df6f2b5 Add elf2tab output to reproducible reference, to easily check for binary size regressions. 2020-06-09 16:27:22 +02:00
Julien Cretin
2a304c58cb Fix --sector flag and X+Y positional argument 2020-06-02 17:42:40 +02:00
Julien Cretin
90911fb32a Fix missing = in pyocd arguments 2020-06-02 17:01:31 +02:00
Julien Cretin
2edbc567ef Use erase command for pyocd 2020-06-02 15:54:15 +02:00
Julien Cretin
80510e2770 Add --clear-storage flag 2020-05-30 12:48:07 +02:00
Guillaume Endignoux
39a3becffb Address review comments. 2020-05-13 12:57:20 +02:00
Guillaume Endignoux
20f65f9dd7 Add GitHub workflow to check that binaries are reproducible. 2020-05-12 17:41:27 +02:00
Julien Cretin
fb0b1db759 Rename linker script according to the chip
The layout applies to all boards sharing the nrf52840 chip.
2020-04-30 16:04:28 +02:00
kaczmarczyck
c2ccfcfd98 Merge branch 'master' into info-2-1 2020-04-29 14:41:42 +02:00
Jean-Michel Picod
999e331306 Add missing paramter that got introduced in tockloader 1.4 2020-04-29 14:05:06 +02:00
Fabian Kaczmarczyck
8bbf42623f adds cargo checks and tests to workflows and locally 2020-04-29 09:53:44 +02:00
Guillaume Endignoux
c780d76613 Append. 2020-04-28 18:04:41 +02:00
Guillaume Endignoux
e838356f3b Revert review suggestion.
No, we don't want to run: Command '['rustup', '-', '-', 'v', 'e', 'r', 'b', 'o', 's', 'e', 'install', 'nightly-2020-02-03']'
2020-04-28 18:00:42 +02:00
Guillaume Endignoux
dc088479db Fix review comments. 2020-04-28 17:57:10 +02:00
kaczmarczyck
2aeeff3bb5 Merge branch 'master' into info-2-1 2020-04-28 16:23:30 +02:00
Fabian Kaczmarczyck
d9c4c729e8 adds a feature flag for CTAP2.1, addresses comments 2020-04-28 16:04:09 +02:00
Guillaume Endignoux
7d47de2b3b Formatting. 2020-04-28 14:05:36 +02:00
Guillaume Endignoux
463a289dd0 Verbose rustup. 2020-04-28 14:02:24 +02:00
Guillaume Endignoux
ec2c3fb201 Formatting. 2020-04-28 13:56:17 +02:00
Guillaume Endignoux
4903232c42 Add a --verbose-build option to the deploy script. 2020-04-28 13:51:03 +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
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
Guillaume Endignoux
e467ed1344 Fix Python formatting. 2020-04-08 15:55:51 +02:00
Guillaume Endignoux
4b9486d0bd Sync with upstream Tock to have reproducible builds. 2020-04-08 15:45:46 +02:00
gendx
93d8df2922 Merge branch 'master' into verbose-feature 2020-03-16 10:39:44 +01:00
Guillaume Endignoux
8f4d4c1210 Add a --verbose parameter to print all USB packets at the OpenSK level. 2020-03-13 15:59:51 +01:00
Jean-Michel Picod
9c3f5c34b4 Incorrect import. 2020-03-13 15:26:54 +01:00