Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Christophe Dufaza
9739759fef
west: blobs: verify fetched blobs after downloading
...
Running 'west blobs fetch' does not verify the digest of downloaded files:
1. if the checksum of the previously downloaded file does match
that in the blob metadata (status BLOB_PRESENT), do nothing
2. if the checksum of the previously downloaded file does not match
that in the blob metadata (status BLOB_OUTDATED),
download the "up to date" file
3. if the blob has not yet been downloaded (status BLOB_NOT_PRESENT),
download it
None of the 2) and 3) code paths will verify that the checksum of the file
just downloaded actually matches the digest in the blob's metadata.
In the event that the metadata of a module is incorrect, then the user
will not notice anything, and may rely on an unexpected binary,
e.g. a static library for a different architecture.
According to the Binary Blobs documentation [1], the expected
behavior is to check the blob digest after downloading.
[1] Fetching blobs, Zephyr 3.6.0 (still applies to Zephyr 3.7.0rc3)
docs.zephyrproject.org/3.6.0/contribute/bin_blobs.html#fetching-blobs
Signed-off-by: Christophe Dufaza <chris@openmarl.org>
(cherry picked from commit 2b2a0e04b2
)
9 months ago
..
build
everywhere: replace double words
1 year ago
checkpatch
scripts: checkpatch: add `stdio.h` `FILE` typedef
1 year ago
ci
ci: rerun issue check on PR edit
11 months ago
coccinelle
cocinelle: Add a sematic patch file for ztest string assertions
1 year ago
coredump
scripts: coredump: Add register write handler to arm cortex-m gdbstubs.
1 year ago
dts
everywhere: replace double words
1 year ago
footprint
scripts: fixed missing argument in parse_from_attribute call.
1 year ago
generate_usb_vif
USB-C: genVIF: Cleanup and add support to pick static data from input
2 years ago
gitlint
gitlint: do not allow treewide as an area in commit messages
1 year ago
kconfig
everywhere: replace double words
1 year ago
logging/ dictionary
scripts: logging/dictionary: fix annoying pylint warning
1 year ago
native_simulator
everywhere: replace double words
1 year ago
net
tests|scripts/net: Change native_posix references to native_sim
1 year ago
pylib
scripts: twisterlib: coverage: ignore `__ASSERT` branches
1 year ago
pylint/ checkers
scripts: pylint: Add argument parser abbreviation checker
2 years ago
release
scripts: drop list_issues.py
2 years ago
schemas
scripts: west robot & simulation: Fix OOT
1 year ago
support
treewide: Disable automatic argparse argument shortening
2 years ago
tests
twister: Fix gTest harness
1 year ago
tracing
tracing: scripts: Fix spelling
2 years ago
utils
doc: release: posix: deprecate non-normative POSIX Kconfig
1 year ago
west_commands
west: blobs: verify fetched blobs after downloading
9 months ago
.gitignore
…
checkpatch.pl
scripts: checkpatch.pl: treat `.overlay` files as dts
1 year ago
checkstack.pl
…
coccicheck
…
dump_bugs_pickle.py
treewide: Disable automatic argparse argument shortening
2 years ago
gen_gcov_files.py
treewide: Disable automatic argparse argument shortening
2 years ago
get_maintainer.py
scripts: get_maintainer: check maintenance status
1 year ago
github_helpers.py
scripts: add github_helpers.py
3 years ago
list_boards.py
scripts: Loader change
1 year ago
list_hardware.py
scripts: list_hardware: Find all SoCs before checking runner configs
1 year ago
list_shields.py
scripts: list_shields: add script for listing the supported shields
1 year ago
make_bugs_pickle.py
ci: scripts: do not count PRs labeled as bug in snapshot
1 year ago
requirements-base.txt
requirements: bump pyelftools to >=0.29
1 year ago
requirements-build-test.txt
scripts: coverage: gcovr to ignore negative counters
2 years ago
requirements-compliance.txt
requirements: Set min version of pylint to 3
1 year ago
requirements-extras.txt
scripts: requirements: Bump imgtool to 2.1.0
1 year ago
requirements-run-test.txt
scripts: Remove wrong bz package
10 months ago
requirements.txt
doc: move requirements to doc/
2 years ago
series-push-hook.sh
…
set_assignees.py
ci: set_assignee: pick next area when submitter = assignee
1 year ago
snippets.py
terminology: adopt CMake, python, and Kconfig code to use qualifiers
1 year ago
spelling.txt
scripts: spelling.txt: add double prepositions
1 year ago
tags.sh
…
twister
twister: Add Twister execution options to twister.json
1 year ago
valgrind.supp
valgrind: Update `POSIX soc no cpu cleanup` suppression
2 years ago
west-commands.yml
West: Add `west robot` command
1 year ago
zephyr_module.py
west: blobs: prefer constants to literals for blob status
9 months ago