Commit Graph

333 Commits

Author SHA1 Message Date
Julien Cretin
3d2de2b02a Update reproducible hashes 2020-06-03 11:45:05 +02:00
Julien Cretin
acd9d93107 Merge branch 'master' into aaguid 2020-06-03 11:26:59 +02:00
Julien Cretin
442769b225 Merge pull request #103 from ia0/no_wfr
Do not use writeable flash regions for persistent storage
2020-06-02 19:42:15 +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
7ba4a21632 Update reproducible hashes 2020-06-02 11:47:48 +02:00
Julien Cretin
d74a5e8894 Add setter functions and fix tests 2020-06-02 11:35:17 +02:00
Julien Cretin
5f8cb116a5 Only write attestation if compiled with batch attestation 2020-06-02 11:00:26 +02:00
Julien Cretin
a195cfec02 Update reproducible hashes 2020-05-30 20:29:50 +02:00
Julien Cretin
98a558a502 Access the persistent keys through the store
This permits to set them using a vendor command and thus not embed their value
in the application.
2020-05-30 20:15:59 +02:00
Julien Cretin
31365f6d8d Update reproducible hashes 2020-05-30 12:53:40 +02:00
Julien Cretin
80510e2770 Add --clear-storage flag 2020-05-30 12:48:07 +02:00
Julien Cretin
752bf47ed5 Merge branch 'master' into no_wfr 2020-05-28 19:33:33 +02:00
Julien Cretin
2e419fe77b Merge pull request #111 from ia0/fix_hash
Update reproducible hashes
2020-05-27 14:58:35 +02:00
Julien Cretin
23e564a9de Update reproducible hashes 2020-05-27 11:58:41 +02:00
Julien Cretin
7b4fa29898 Merge pull request #108 from ia0/proto
Support parsing old credentials
2020-05-27 11:31:13 +02:00
Fabian Kaczmarczyck
a95ef72a93 improved testing, addresses comments and a default level fix 2020-05-25 19:56:29 +02:00
Julien Cretin
0a5c5eafda Update reproducible hashes 2020-05-15 19:55:51 +02:00
Julien Cretin
4e3162c475 Parse credentials by value 2020-05-15 19:43:37 +02:00
Julien Cretin
721a5ba08b Update reproducible hashes 2020-05-14 21:48:55 +02:00
Julien Cretin
2515559945 Merge branch 'master' into proto 2020-05-14 21:37:24 +02:00
Julien Cretin
146e6f083b Don't rely on unification for array element type 2020-05-14 21:32:16 +02:00
Julien Cretin
e51e214f2c Update reproducible hashes 2020-05-14 20:36:47 +02:00
Julien Cretin
a41f7f93f1 Merge branch 'master' into no_wfr 2020-05-14 20:28:39 +02:00
Julien Cretin
ba5caf0691 Filter syscall at platform-level instead of driver-level 2020-05-14 20:19:21 +02:00
Fabian Kaczmarczyck
8d737b3c80 introduces a default level for credProtect 2020-05-13 18:49:35 +02:00
gendx
af79d92a88 Merge pull request #94 from gendx/reproducible-check
Add GitHub workflow to check that binaries are reproducible.
2020-05-13 17:48:23 +02:00
Fabian Kaczmarczyck
43d77fd106 implements the credProtect extension 2020-05-13 16:38:14 +02:00
Julien Cretin
cf31110922 Define the storage locations in the board 2020-05-13 15:17:35 +02:00
Guillaume Endignoux
0604be61a6 Don't fail fast on reproducible workflow and update reference binaries. 2020-05-13 13:24:34 +02:00
Guillaume Endignoux
39a3becffb Address review comments. 2020-05-13 12:57:20 +02:00
Julien Cretin
ca6f910c26 Remove unknown fields 2020-05-13 11:09:32 +02:00
Guillaume Endignoux
20f65f9dd7 Add GitHub workflow to check that binaries are reproducible. 2020-05-12 17:41:27 +02:00
Julien Cretin
479de32a95 Rename $initial to $map 2020-05-11 16:40:11 +02:00
Julien Cretin
491721b421 Rename extend_cbor_map_options 2020-05-11 16:07:59 +02:00
Julien Cretin
e6fdcacd32 Remove mention to protobuf 2020-05-11 15:18:27 +02:00
Julien Cretin
f4b791ed91 Encode credentials as a protocol buffer message
This permits to decode a credential of a different version without failing.
2020-05-09 20:57:13 +02:00
Julien Cretin
ecf02eb6ce Only store the storage location in the Kernel 2020-05-08 17:00:59 +02:00
Julien Cretin
3edb387615 Remove writable flash regions support
Removing support for writable flash regions permits to save 1 page in the binary
due to alignment constraints. It also permits to reduce the diff with libtock-rs
which doesn't support writable flash regions.

This commit also updates the `SyscallStorage` documentation.
2020-05-06 15:18:27 +02:00
Julien Cretin
1f22004133 Merge branch 'master' into no_wfr 2020-04-30 16:18:41 +02:00
Julien Cretin
a2eff7c632 Merge pull request #105 from ia0/rename_layout
Rename linker script according to the chip
2020-04-30 16:17:14 +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
Julien Cretin
718514d207 Merge branch 'master' into no_wfr 2020-04-29 15:12:39 +02:00
Julien Cretin
5c2b72ce83 Move storage bound checking to driver 2020-04-29 15:09:50 +02:00
kaczmarczyck
bd6870845a Merge pull request #96 from kaczmarczyck/info-2-1
add 2.1 features to GetInfo
2020-04-29 14:50:23 +02:00
kaczmarczyck
c2ccfcfd98 Merge branch 'master' into info-2-1 2020-04-29 14:41:42 +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