Commit Graph

804 Commits

Author SHA1 Message Date
Jean-Michel Picod
5e682d9e17 Compare all timestamps in UTC timezone. (#309) 2021-04-15 17:22:54 +02:00
Jean-Michel Picod
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
Jean-Michel Picod
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
kaczmarczyck
67a94c8067 Merge pull request #244 from kaczmarczyck/command-cleanup
updates command bytes
2020-12-18 19:46:26 +01:00
Fabian Kaczmarczyck
763bc031aa updates command bytes 2020-12-18 19:17:12 +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
kaczmarczyck
9864d25bb0 Merge pull request #242 from kaczmarczyck/cid-big-endian
changes channel ID endianness to big endian
2020-12-16 15:48:54 +01:00
Fabian Kaczmarczyck
6c9fc2565a changes channel ID endianness to big endian 2020-12-16 11:03:16 +01:00
Kamran Khan
2c249d8aad Merge pull request #230 from krkhan/ctap1-new-apdu-parser
Use new APDU parser in CTAP1 code
2020-12-15 01:42:13 -08:00
Kamran Khan
35bdfe90ed Re-instate the length check for Le bytes 2020-12-14 04:54:25 -08:00
Kamran Khan
dbbdddd58b Fix error codes 2020-12-14 03:45:13 -08:00
Kamran Khan
5882a6a3cc Fix ApduStatusCode->u16 implementation 2020-12-10 23:40:47 -08:00
Kamran Khan
f74d1b9ffd Return error when Le calculation overflows 2020-12-10 21:27:52 -08:00
Kamran Khan
a7eb38aac8 Use checked sub 2020-12-10 21:26:44 -08:00
Kamran Khan
9c9f9efcce Merge remote-tracking branch 'upstream/master' into ctap1-new-apdu-parser 2020-12-10 21:18:53 -08:00
Kamran Khan
29dbff7a40 The great ApduStatusCode encroachment 2020-12-10 20:15:05 -08:00
Kamran Khan
21bdbd8114 Use integers instead of ByteArray for the ApduStatusCode enum 2020-12-10 20:01:06 -08:00
Kamran Khan
162c00a0d1 Simplify Le length calculation 2020-12-10 19:54:25 -08:00
Julien Cretin
c34d5c7d8a Merge pull request #235 from ia0/v2_lib
Add latency example
2020-12-10 18:17:36 +01:00
Julien Cretin
371b8af224 Move choice between prod and test storage to embedded_flash module
This way all users of storage can share the logic to choose between flash or RAM
storage depending on the "std" feature. This is needed because the store_latency
example assumes flash storage but is built when running `cargo test
--features=std`.
2020-12-10 18:04:25 +01:00
Julien Cretin
ece546a03b Merge branch 'master' into v2_lib 2020-12-10 17:08:00 +01:00
Julien Cretin
f85454ef97 Merge pull request #234 from ia0/no_ram_storage
Remove ram_storage feature
2020-12-10 17:07:07 +01:00
Julien Cretin
bbe03b40bf Merge branch 'master' into v2_lib 2020-12-10 16:55:16 +01:00
Julien Cretin
030bc8cf67 Merge branch 'master' into no_ram_storage 2020-12-10 16:53:44 +01:00
Julien Cretin
869e932349 Add asserts to make sure we compact 2020-12-10 16:51:30 +01:00
Julien Cretin
7a78d3e038 Merge pull request #237 from ia0/fix_lang_items
Fix lang items
2020-12-10 16:47:58 +01:00
Julien Cretin
7a641d6391 Use the new const_mut_refs default feature of linked_list_allocator
This is necessary for Heap::empty() to be const.
2020-12-10 16:20:26 +01:00
Julien Cretin
d4b20a5acc Fix linked_list_allocator version to fix build
They released version 0.8.7 today which breaks our assumption that Heap::empty
is callable in const context.
2020-12-10 16:15:58 +01:00
Julien Cretin
8800c3e906 Merge branch 'master' into no_ram_storage 2020-12-10 15:48:45 +01:00
Julien Cretin
ecbd3a036a Merge pull request #236 from ia0/v2_fuzz
Do not use delay_map anymore
2020-12-10 15:47:33 +01:00
Julien Cretin
19ebacec15 Do not use delay_map anymore
This permits to avoid copies. Before we used to do one copy per storage
operation. Now we do one copy per store operation.
2020-12-10 13:36:33 +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
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
kaczmarczyck
657c8b9c2c Merge branch 'master' into master 2020-12-10 12:33:33 +01:00
Julien Cretin
3badcc8206 Merge pull request #204 from ia0/v2_lib
Use new persistent store library (and delete old)
2020-12-10 12:31:12 +01:00
Jean-Michel Picod
c2de3e7ed9 Use a vscode workspace instead of local settings. 2020-12-10 10:02:48 +01:00
Julien Cretin
f5ef235c69 Merge branch 'master' into v2_lib 2020-12-10 09:38:26 +01:00
Kamran Khan
6f1c63e9b8 Add test cases to cover different length scenarios 2020-12-09 21:06:49 -08:00