Skip to content

[nrf noup] ci: Pin GH actions to SHAs #407

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 288 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
288 commits
Select commit Hold shift + click to select a range
1bd0b62
[nrf noup] boards: nrf54l15: Disable FPROTECT
gchwier Apr 16, 2024
dcef7e4
[nrf noup] loader: remove cleanup for direct xip mode
gchwier May 17, 2024
830ad12
[nrf noup] boot/zephyr/boards: nrf54l15pdk ext-flash partition
nvlsianpu Apr 15, 2024
494c935
[nrf noup] boot/zephyr/boards: nrf54l15pdk ext-flash update
nvlsianpu May 20, 2024
732083d
[nrf noup] boards: thingy91x: enable serial recovery
maxd-nordic Mar 12, 2024
4ae34b4
[nrf noup] boot: zephyr: Disable boot banner if NCS_BOOT_BANNER is used
rlubos May 17, 2024
efafb01
[nrf noup] boot/zephyr: fix fw_info search
nvlsianpu May 27, 2024
ccffc83
[nrf noup] Revert of zephyr: arm: Update reading the flash image rese…
de-nordic May 28, 2024
f1393e6
[nrf noup] zephyr/boards: fix nrf54l15pdk ext flash dts overlay
nvlsianpu Jun 5, 2024
f754885
[nrf noup] boot: zephyr: Add NCS boot banner
nordicjm Jun 11, 2024
de9d942
[nrf noup] boot/../loader: skip downgrade prevention for s1/s0
nvlsianpu Jun 13, 2024
f07918d
[nrf noup] boot/../loader: reboot after updating s0/s1
nvlsianpu Jun 18, 2024
e870594
[nrf noup] bootutil: loader: Fix netcore address checking
nordicjm Aug 29, 2024
9321e7f
[nrf noup] boards: nrf54l15dk: Disable FPROTECT
nvlsianpu Sep 18, 2024
474a922
[nrf noup] zephyr: Add support for compressed image updates
nordicjm Aug 22, 2024
049e896
[nrf noup] boot: Add shared crypto for ECDSA and SHA
sigvartmh Feb 14, 2019
2c3c181
[nrf noup] PSA implementation of x25519 and ed25519 verification
de-nordic May 29, 2024
390c468
[nrf noup] zephyr: Add support for ARM thumb filter
nordicjm Sep 2, 2024
ea00c04
[nrf noup] Remove setting default MCUboot mbedTLS config
de-nordic Oct 17, 2024
ad56ff5
[nrf noup] boot: zephyr: Do not lock PCD region with TF-M
MarkusLassila Aug 30, 2024
43d4739
[nrf noup] treewide: Add support for sysbuild assigned images
nordicjm Sep 10, 2024
63e53ed
[nrf noup] boot: bootutil: loader: Add s0/s1 checking of MCUboot image
nordicjm Oct 15, 2024
099f49f
[nrf noup] treewide: Add child/parent image support back
nordicjm Oct 17, 2024
78211ab
[nrf noup] boards: Thingy:91 X release config
maxd-nordic Oct 23, 2024
7058149
[nrf noup] workflows: Add a backport workflow
carlescufi Oct 25, 2024
bd64752
[nrf noup] boot/zephyr: add nrf54l15dk ext flash configs
michalek-no Nov 7, 2024
b8c46d5
[nrf fromlist] boot_serial: Support sha256, sha384 and sha512
de-nordic Nov 12, 2024
c882964
[nrf noup] Fix logging for ED25519_psa
maciejbaczmanski Nov 28, 2024
534580b
[nrf fromtree] zephyr: Add CONFIG_MCUBOOT_CLEANUP_RAM
de-nordic Nov 20, 2024
00f35bb
[nrf noup] PSA configuration required changes
de-nordic Jul 24, 2024
5a6676c
[nrf noup] bootutil: Provide support for SHA512 with ED25519
de-nordic Aug 2, 2024
b2ad117
[nrf noup] bootutil: Enable hash calculation directly on storage
de-nordic Sep 5, 2024
1a2f5f6
[nrf noup] bootutil: PureEdDSA using ED25519
de-nordic Sep 6, 2024
d09c5a0
[nrf noup] boot/zephyr/Kconfig: conditionally disable BOOT_MAX_IMG_SE…
nvlsianpu Sep 19, 2024
6e0c2b8
[nrf noup] bootutil: Add support for KMU stored ED25519 signature key
de-nordic Sep 20, 2024
ff3c31f
[nrf noup] boot: zephyr: Add experimental selection to compression
nordicjm Nov 7, 2024
eebb8ab
[nrf fromtree] boot: zephyr: boards: nrf54l10 and nrf54l05 configs
michalek-no Dec 2, 2024
12e5ee1
[nrf noup] boot: bootutil: Allow configuring number of KMU keys
nordicjm Dec 2, 2024
0343424
[nrf noup] boot: bootutil: image_validate: Add KMU support to compres…
nordicjm Dec 10, 2024
b82206c
[nrf noup] boot: zephyr: serial_recovery: Add nRF5340 Kconfig override
nordicjm Dec 9, 2024
0a910b6
[nrf noup] boot/zephyr/boards: configure fastest RRAM operations
nvlsianpu Dec 17, 2024
032d192
[nrf fromtree] boot/zephyr/boards: configure fastest RRAM operations
nvlsianpu Dec 17, 2024
1ddaca2
Revert "[nrf noup] treewide: Add child/parent image support back"
nordicjm Dec 5, 2024
99d4ae9
[nrf noup] boot: Remove child/parent references
nordicjm Dec 5, 2024
c09c22a
[nrf noup] boot: bootutil: loader: Fix assignment typo
nordicjm Dec 30, 2024
3a25855
[nrf noup] boot: bootutil: loader: Fix triple erasing s0/s1 update
nordicjm Dec 30, 2024
a77e9f6
Revert "[nrf noup] boot: bootutil: loader: Fix triple erasing s0/s1 u…
anangl Jan 29, 2025
e12b195
Revert "[nrf noup] boot: bootutil: loader: Fix assignment typo"
anangl Jan 29, 2025
4b683d4
Revert "[nrf noup] boot: Remove child/parent references"
anangl Jan 29, 2025
8a9e392
Revert "[nrf fromtree] boot/zephyr/boards: configure fastest RRAM ope…
anangl Jan 29, 2025
c47377e
Revert "[nrf noup] boot/zephyr/boards: configure fastest RRAM operati…
anangl Jan 29, 2025
41e6cfc
Revert "[nrf noup] boot: zephyr: serial_recovery: Add nRF5340 Kconfig…
anangl Jan 29, 2025
8b0afef
Revert "[nrf noup] boot: bootutil: image_validate: Add KMU support to…
anangl Jan 29, 2025
4a885d4
Revert "[nrf noup] boot: bootutil: Allow configuring number of KMU keys"
anangl Jan 29, 2025
6ab18fd
Revert "[nrf fromtree] boot: zephyr: boards: nrf54l10 and nrf54l05 co…
anangl Jan 29, 2025
3bc9ca2
Revert "[nrf noup] boot: zephyr: Add experimental selection to compre…
anangl Jan 29, 2025
e0ca99a
Revert "[nrf noup] bootutil: Add support for KMU stored ED25519 signa…
anangl Jan 29, 2025
e603ce0
Revert "[nrf noup] boot/zephyr/Kconfig: conditionally disable BOOT_MA…
anangl Jan 29, 2025
42ba2a5
Revert "[nrf noup] bootutil: PureEdDSA using ED25519"
anangl Jan 29, 2025
f1ef3cb
Revert "[nrf noup] bootutil: Enable hash calculation directly on stor…
anangl Jan 29, 2025
ed41469
Revert "[nrf noup] bootutil: Provide support for SHA512 with ED25519"
anangl Jan 29, 2025
5a8d7a2
Revert "[nrf noup] PSA configuration required changes"
anangl Jan 29, 2025
1f20f28
Revert "[nrf fromtree] zephyr: Add CONFIG_MCUBOOT_CLEANUP_RAM"
anangl Jan 29, 2025
5555a24
Revert "[nrf noup] Fix logging for ED25519_psa"
anangl Jan 29, 2025
77dd719
Revert "[nrf fromlist] boot_serial: Support sha256, sha384 and sha512"
anangl Jan 29, 2025
f104e9b
Revert "[nrf noup] boot/zephyr: add nrf54l15dk ext flash configs"
anangl Jan 29, 2025
99e36bf
Revert "[nrf noup] workflows: Add a backport workflow"
anangl Jan 29, 2025
7f65da1
Revert "[nrf noup] boards: Thingy:91 X release config"
anangl Jan 29, 2025
ebdd664
Revert "[nrf noup] boot: bootutil: loader: Add s0/s1 checking of MCUb…
anangl Jan 29, 2025
4fe78aa
Revert "[nrf noup] treewide: Add support for sysbuild assigned images"
anangl Jan 29, 2025
e4b6326
Revert "[nrf noup] boot: zephyr: Do not lock PCD region with TF-M"
anangl Jan 29, 2025
885a2e6
Revert "[nrf noup] Remove setting default MCUboot mbedTLS config"
anangl Jan 29, 2025
925ab74
Revert "[nrf noup] zephyr: Add support for ARM thumb filter"
anangl Jan 29, 2025
331c510
Revert "[nrf noup] PSA implementation of x25519 and ed25519 verificat…
anangl Jan 29, 2025
6b0723b
Revert "[nrf noup] boot: Add shared crypto for ECDSA and SHA"
anangl Jan 29, 2025
6aae4eb
Revert "[nrf noup] zephyr: Add support for compressed image updates"
anangl Jan 29, 2025
878691e
Revert "[nrf noup] boards: nrf54l15dk: Disable FPROTECT"
anangl Jan 29, 2025
2d97211
Revert "[nrf noup] bootutil: loader: Fix netcore address checking"
anangl Jan 29, 2025
40f28e3
Revert "[nrf noup] boot/../loader: reboot after updating s0/s1"
anangl Jan 29, 2025
cf2647c
Revert "[nrf noup] boot/../loader: skip downgrade prevention for s1/s0"
anangl Jan 29, 2025
bb9fcf2
Revert "[nrf noup] boot: zephyr: Add NCS boot banner"
anangl Jan 29, 2025
4e648e2
Revert "[nrf noup] zephyr/boards: fix nrf54l15pdk ext flash dts overlay"
anangl Jan 29, 2025
1e4bb02
Revert "[nrf noup] Revert of zephyr: arm: Update reading the flash im…
anangl Jan 29, 2025
d99b5fe
Revert "[nrf noup] boot/zephyr: fix fw_info search"
anangl Jan 29, 2025
4b1aadc
Revert "[nrf noup] boot: zephyr: Disable boot banner if NCS_BOOT_BANN…
anangl Jan 29, 2025
663c1c7
Revert "[nrf noup] boards: thingy91x: enable serial recovery"
anangl Jan 29, 2025
e61f3fa
Revert "[nrf noup] boot/zephyr/boards: nrf54l15pdk ext-flash update"
anangl Jan 29, 2025
944b60d
Revert "[nrf noup] boot/zephyr/boards: nrf54l15pdk ext-flash partition"
anangl Jan 29, 2025
0d6fedb
Revert "[nrf noup] loader: remove cleanup for direct xip mode"
anangl Jan 29, 2025
0d80c0f
Revert "[nrf noup] boards: nrf54l15: Disable FPROTECT"
anangl Jan 29, 2025
8fcce98
Revert "[nrf noup] loader: introduced cleanup of unusable secondary s…
anangl Jan 29, 2025
685cd06
Revert "[nrf noup] sysflash: Add support for three images"
anangl Jan 29, 2025
07b5e65
Revert "[nrf noup] sysflash: Move partition manager definitions to pm…
anangl Jan 29, 2025
9b135b0
Revert "[nrf noup] boot: Add support for NSIB and multi-image"
anangl Jan 29, 2025
7bf4245
Revert "[nrf noup] loader: Fix missing PCD define check"
anangl Jan 29, 2025
c99f1dc
Revert "[nrf noup] loader: work-around for multi-image builds"
anangl Jan 29, 2025
2ee7e90
Revert "[nrf noup] boot/zephyr/boards: nRF54l15pdk ext flash cfg"
anangl Jan 29, 2025
5fe2f59
Revert "[nrf noup] boards: thingy53: disable GPIO ISR support"
anangl Jan 29, 2025
6abe501
Revert "[nrf noup] loader: Add firmware version check downgrade preve…
anangl Jan 29, 2025
aced3e3
Revert "[nrf noup] zephyr: Boot even if EXT_ABI is not provided"
anangl Jan 29, 2025
27eb775
Revert "[nrf noup] zephyr: Add RAM flash configuration to cache for s…
anangl Jan 29, 2025
bfd3034
Revert "[nrf noup] loader: Do not check reset vector for XIP image"
anangl Jan 29, 2025
1746c57
Revert "[nrf noup] zephyr: Fix path variables"
anangl Jan 29, 2025
d47f6bc
Revert "[nrf noup] loader: Fix reading reset addr to support ext flash"
anangl Jan 29, 2025
83b9d54
Revert "[nrf noup] zephyr: Clean up non-secure RAM if enabled"
anangl Jan 29, 2025
287bc5f
Revert "[nrf noup] zephyr: clean peripherals state before boot"
anangl Jan 29, 2025
33b8200
Revert "[nrf noup] boot: nrf53-specific customizations"
anangl Jan 29, 2025
86e391d
Revert "[nrf noup] treewide: add NCS partition manager support"
anangl Jan 29, 2025
61be87f
Revert "[nrf noup] boards: thingy91x: add board config"
anangl Jan 29, 2025
51df21e
Revert "[nrf noup] zephyr: Restore default RTC user channel count"
anangl Jan 29, 2025
a4b1583
Revert "[nrf noup] boards: add support for Thingy:91"
anangl Jan 29, 2025
b7f903e
Revert "[nrf noup] zephyr: add 'minimal' configuration files"
anangl Jan 29, 2025
3025955
Revert "[nrf noup] zephyr: Remove duplication from cmake"
anangl Jan 29, 2025
122dd3d
Revert "[nrf noup] github: Add a commit tags check workflow"
anangl Jan 29, 2025
2317bc7
Revert "[nrf fromtree] bootutil: Add SIG_PURE TLV"
anangl Jan 29, 2025
4c986a6
Revert "[nrf noup] imgtool: create image obj with image_hash"
anangl Jan 29, 2025
f7b2f38
Revert "[nrf fromlist] imgtool: Add pure signature support"
anangl Jan 29, 2025
4a6a065
Revert "[nrf fromlist] scipts: imgtool: bugfix #2096"
anangl Jan 29, 2025
0979687
Revert "[nrf fromlist] zephyr: Fixing Kconfig dependency for SHA512"
anangl Jan 29, 2025
133bf39
Revert "[nrf fromlist] scripts: imgtool: compression ARM thumb filter"
anangl Jan 29, 2025
3ad918f
Revert "[nrf fromlist] boot: bootutil: swap_scratch: Fix compressed i…
anangl Jan 29, 2025
de45d45
Revert "[nrf fromtree] scripts: imgtool: compression"
anangl Jan 29, 2025
e795ecf
Revert "[nrf fromtree] boot: bootutil: loader: Fix issue with using p…
anangl Jan 29, 2025
4472738
Revert "[nrf fromtree] boot: bootutil: loader: Fix slot info for dire…
anangl Jan 29, 2025
906a40c
Revert "[nrf fromlist] scripts: imgtool: compression"
anangl Jan 29, 2025
d07b6fa
Revert "[nrf fromlist] boot: Replace boot_encrypt by boot_enc_encrypt…
anangl Jan 29, 2025
e739cdd
Revert "[nrf fromlist] imgtool: Add support for calculating SHA512"
anangl Jan 29, 2025
a4793c7
Revert "[nrf fromtree] boot: SHA512 verification"
anangl Jan 29, 2025
4549ac1
[nrf mergeup] Merge upstream up to commit a2bc982b3379d51fefda3e17a6a…
anangl Jan 29, 2025
1deca30
[nrf fromtree] imgtool: Add pure signature support
de-nordic Sep 12, 2024
4e42490
[nrf noup] github: Add a commit tags check workflow
carlescufi Oct 10, 2023
068908d
[nrf noup] zephyr: Remove duplication from cmake
sigvartmh Mar 26, 2019
f973fc6
[nrf noup] zephyr: add 'minimal' configuration files
mbolivar-nordic Sep 3, 2021
3f63c19
[nrf noup] boards: add support for Thingy:91
bjda Sep 20, 2019
782c4a1
[nrf noup] zephyr: Restore default RTC user channel count
Damian-Nordic Mar 21, 2022
7a4b0a8
[nrf noup] boards: thingy91x: add board config
maxd-nordic Dec 8, 2023
7d603f8
[nrf noup] treewide: add NCS partition manager support
SebastianBoe Dec 12, 2018
9b3b8d2
[nrf noup] boot: nrf53-specific customizations
sigvartmh Aug 27, 2020
62d5f7b
[nrf noup] zephyr: clean peripherals state before boot
nvlsianpu Feb 27, 2020
a5c6d2e
[nrf noup] zephyr: Clean up non-secure RAM if enabled
sigvartmh Jan 6, 2023
85b9dae
[nrf noup] loader: Fix reading reset addr to support ext flash
chrta Feb 10, 2022
4943e2f
[nrf noup] zephyr: Fix path variables
nordicjm Jul 11, 2023
4ff3af1
[nrf noup] loader: Do not check reset vector for XIP image
de-nordic Sep 22, 2023
9b2bbcc
[nrf noup] zephyr: Add RAM flash configuration to cache for sysbuild
nordicjm Sep 18, 2023
72947ce
[nrf noup] zephyr: Boot even if EXT_ABI is not provided
sigvartmh Oct 17, 2023
45f9b8e
[nrf noup] loader: Add firmware version check downgrade prevention
sigvartmh Sep 27, 2023
6c636e4
[nrf noup] boards: thingy53: disable GPIO ISR support
nika-nordic Oct 9, 2023
cc3462a
[nrf noup] boot/zephyr/boards: nRF54l15pdk ext flash cfg
nvlsianpu Apr 11, 2024
366116a
[nrf noup] loader: work-around for multi-image builds
sigvartmh Mar 30, 2021
444a78d
[nrf noup] loader: Fix missing PCD define check
nordicjm Aug 31, 2023
f90af57
[nrf noup] boot: Add support for NSIB and multi-image
sigvartmh May 31, 2023
277c5c4
[nrf noup] sysflash: Move partition manager definitions to pm_sysflash.h
de-nordic Aug 10, 2023
0952fb3
[nrf noup] sysflash: Add support for three images
de-nordic Aug 11, 2023
36ac026
[nrf noup] loader: introduced cleanup of unusable secondary slot
nvlsianpu Feb 15, 2024
43623ff
[nrf noup] boards: nrf54l15: Disable FPROTECT
gchwier Apr 16, 2024
2cb3c76
[nrf noup] loader: remove cleanup for direct xip mode
gchwier May 17, 2024
8929c5f
[nrf noup] boot/zephyr/boards: nrf54l15pdk ext-flash partition
nvlsianpu Apr 15, 2024
6b35b59
[nrf noup] boot/zephyr/boards: nrf54l15pdk ext-flash update
nvlsianpu May 20, 2024
d872989
[nrf noup] boards: thingy91x: enable serial recovery
maxd-nordic Mar 12, 2024
fb3cc4c
[nrf noup] boot: zephyr: Disable boot banner if NCS_BOOT_BANNER is used
rlubos May 17, 2024
b1851b6
[nrf noup] boot/zephyr: fix fw_info search
nvlsianpu May 27, 2024
e48c56f
[nrf noup] Revert of zephyr: arm: Update reading the flash image rese…
de-nordic May 28, 2024
b062f94
[nrf noup] zephyr/boards: fix nrf54l15pdk ext flash dts overlay
nvlsianpu Jun 5, 2024
053d2f2
[nrf noup] boot: zephyr: Add NCS boot banner
nordicjm Jun 11, 2024
21024f6
[nrf noup] boot/../loader: skip downgrade prevention for s1/s0
nvlsianpu Jun 13, 2024
0e1a288
[nrf noup] boot/../loader: reboot after updating s0/s1
nvlsianpu Jun 18, 2024
b5a4c74
[nrf noup] bootutil: loader: Fix netcore address checking
nordicjm Aug 29, 2024
3952b4d
[nrf noup] boards: nrf54l15dk: Disable FPROTECT
nvlsianpu Sep 18, 2024
655eeac
[nrf noup] zephyr: Add support for compressed image updates
nordicjm Aug 22, 2024
7ff8c8f
[nrf noup] boot: Add shared crypto for ECDSA and SHA
sigvartmh Feb 14, 2019
1107145
[nrf noup] PSA implementation of x25519 and ed25519 verification
de-nordic May 29, 2024
cbb7da0
[nrf noup] zephyr: Add support for ARM thumb filter
nordicjm Sep 2, 2024
62929e4
[nrf noup] Remove setting default MCUboot mbedTLS config
de-nordic Oct 17, 2024
09035f0
[nrf noup] boot: zephyr: Do not lock PCD region with TF-M
MarkusLassila Aug 30, 2024
8041ad6
[nrf noup] treewide: Add support for sysbuild assigned images
nordicjm Sep 10, 2024
b481eb0
[nrf noup] boot: bootutil: loader: Add s0/s1 checking of MCUboot image
nordicjm Oct 15, 2024
dd40ff3
[nrf noup] boards: Thingy:91 X release config
maxd-nordic Oct 23, 2024
dc0e95d
[nrf noup] workflows: Add a backport workflow
carlescufi Oct 25, 2024
ba98808
[nrf noup] boot/zephyr: add nrf54l15dk ext flash configs
michalek-no Nov 7, 2024
f3c2fbc
[nrf noup] Fix logging for ED25519_psa
maciejbaczmanski Nov 28, 2024
9644dc2
[nrf noup] PSA configuration required changes
de-nordic Jul 24, 2024
4e2273f
[nrf noup] bootutil: Provide support for SHA512 with ED25519
de-nordic Aug 2, 2024
32a7c77
[nrf noup] bootutil: Enable hash calculation directly on storage
de-nordic Sep 5, 2024
a43e5f4
[nrf noup] bootutil: PureEdDSA using ED25519
de-nordic Sep 6, 2024
d6a16f8
[nrf noup] boot/zephyr/Kconfig: conditionally disable BOOT_MAX_IMG_SE…
nvlsianpu Sep 19, 2024
b647a94
[nrf noup] bootutil: Add support for KMU stored ED25519 signature key
de-nordic Sep 20, 2024
4ceb477
[nrf noup] boot: zephyr: Add experimental selection to compression
nordicjm Nov 7, 2024
2ca0efe
[nrf noup] boot: bootutil: Allow configuring number of KMU keys
nordicjm Dec 2, 2024
97e8acf
[nrf noup] boot: bootutil: image_validate: Add KMU support to compres…
nordicjm Dec 10, 2024
2341b29
[nrf noup] boot: zephyr: serial_recovery: Add nRF5340 Kconfig override
nordicjm Dec 9, 2024
1068cb1
[nrf noup] boot/zephyr/boards: configure fastest RRAM operations
nvlsianpu Dec 17, 2024
81be16e
[nrf noup] boot: Remove child/parent references
nordicjm Dec 5, 2024
2a8f5b4
[nrf noup] sysflash: Add missing _FLASH_0_ID definitions
de-nordic Jan 15, 2025
3897a7b
[nrf noup] boot: zephyr: boards: Disabled NCS boot banner for thingy 53
kkasperczyk-no Jan 24, 2025
bc8d277
[nrf fromtree] boot: bootutil: Add TLV for size of compressed but dec…
nordicjm Jan 9, 2025
9fa4356
[nrf fromtree] added missing MCUBOOT_VERSION_TWEAK in Zephyr port
m5k8 Jan 11, 2025
56c26be
[nrf fromtree] scripts: imgtool: fix compression with encryption
michalek-no Jan 2, 2025
a7db1f9
[nrf fromtree] boot: boot_serial: Fix uninitialised variables for upload
nordicjm Jan 15, 2025
9278bee
[nrf fromtree] zephyr: Remove scratch from flash_area_id_from_multi_i…
de-nordic Jan 3, 2025
61d971b
[nrf fromtree] bootutil: Add missing MBEDTLS_ASN1_PARSE_C
de-nordic Jan 22, 2025
b5d6e6c
[nrf fromtree] boot: bootutil: loader: Fix some comments
nordicjm Jan 10, 2025
7fd6163
[nrf fromtree] doc: imgtool: importance of clear flag
michalek-no Feb 11, 2025
47faf76
[nrf fromlist] boot: zephyr: kconfig: Add new defaults option for FIH
nordicjm Feb 17, 2025
e8cc9b6
[nrf noup] partition_manager: Add support for internal flash netcore DFU
hellesvik-nordic Feb 6, 2025
148712e
[nrf noup] zephyr: Add support for encrypted compressed updates
nordicjm Dec 27, 2024
3fff8fd
Revert "[nrf noup] zephyr: Add support for encrypted compressed updates"
de-nordic Mar 4, 2025
007bdad
Revert "[nrf fromtree] boot: bootutil: Add TLV for size of compressed…
de-nordic Mar 4, 2025
b10316b
Revert "[nrf noup] boot: bootutil: image_validate: Add KMU support to…
de-nordic Mar 4, 2025
24e3cfa
Revert "[nrf noup] boot: bootutil: Allow configuring number of KMU keys"
de-nordic Mar 4, 2025
5afc635
Revert "[nrf noup] boot: zephyr: Add experimental selection to compre…
de-nordic Mar 4, 2025
fd12c26
Revert "[nrf noup] bootutil: Add support for KMU stored ED25519 signa…
de-nordic Mar 4, 2025
c30fbf1
Revert "[nrf noup] bootutil: PureEdDSA using ED25519"
de-nordic Mar 4, 2025
5176c10
Revert "[nrf noup] bootutil: Enable hash calculation directly on stor…
de-nordic Mar 4, 2025
e2b2c08
Revert "[nrf noup] bootutil: Provide support for SHA512 with ED25519"
de-nordic Mar 4, 2025
a547fd7
Revert "[nrf noup] PSA configuration required changes"
de-nordic Mar 4, 2025
883b397
Revert "[nrf noup] Fix logging for ED25519_psa"
de-nordic Mar 4, 2025
9bd9ae2
Revert "[nrf noup] Remove setting default MCUboot mbedTLS config"
de-nordic Mar 4, 2025
4b8ed01
Revert "[nrf noup] zephyr: Add support for ARM thumb filter"
de-nordic Mar 4, 2025
9b79165
Revert "[nrf noup] PSA implementation of x25519 and ed25519 verificat…
de-nordic Mar 4, 2025
d2f9af8
Revert "[nrf noup] zephyr: Add support for compressed image updates"
de-nordic Mar 4, 2025
67faef4
Revert "[nrf noup] zephyr: Fix path variables"
de-nordic Mar 4, 2025
7ab23b4
[nrf fromtree] zephyr: Fix usage of CONFIG_MBEDTLS_BUILTIN and ASN1
de-nordic Jan 22, 2025
e3ce7c3
[nrf fromtree] bootutil: Allow SHA512 with TinyCrypt
de-nordic Oct 2, 2024
411c06e
[nrf fromtree] bootutil: Enable hash calculation directly on storage
de-nordic Sep 5, 2024
16750b3
[nrf fromtree] bootutil: PureEdDSA using ED25519
de-nordic Sep 6, 2024
29818ad
[nrf fromtree] zephyr: Allow SHA512 with TinyCrypt
de-nordic Oct 2, 2024
e814268
[nrf fromtree] zephyr: Add Kconfig and configuration for SHA on storage
de-nordic Sep 5, 2024
0bb59a7
[nrf fromtree] zephyr: Add Kconfig option to select PureEdDS
de-nordic Sep 6, 2024
96d10de
[nrf fromtree] zephyr: Fix image encryption configuration for mbedTLS.
de-nordic Jan 24, 2025
6938931
[nrf fromtree] bootutil: PSA implementation of x25519 and ed25519 ver…
de-nordic May 29, 2024
2ff8e8e
[nrf fromtree] zephyr: Enable building ed25519 PSA variant with Zephyr
de-nordic Jan 24, 2025
421c664
[nrf fromtree] bootutil: Allow bypassing ASN.1 encoding for ED25519 k…
de-nordic Oct 8, 2024
5f21ef3
[nrf fromtree] zephyr: Add Kconfig option CONFIG_BOOT_KEY_IMPORT_BYPA…
de-nordic Oct 8, 2024
da2ae88
[nrf fromtree] bootutil: Fix ASN1 bypass not building
de-nordic Mar 12, 2025
afa5789
[nrf fromtree] zephyr: Do not compile ASN1 code when bypassed
de-nordic Mar 12, 2025
721b3f6
[nrf fromtree] zephyr: Prevent selecting MBEDTLS_ASN1_PARSE_C when no…
de-nordic Mar 12, 2025
de7aeef
[nrf fromtree] zephyr: Fix ED25519 compilation with mbedTLS
de-nordic Mar 12, 2025
04c71e3
[nrf fromtree] zephyr: Add missing selection for allowed SHA algorithms
de-nordic Mar 13, 2025
f203bf1
[nrf fromlist] bootutil: Fix ed25519 pure signature verification
de-nordic Mar 18, 2025
72a8bdc
[nrf noup] zephyr: sdk-nrf specific overrides on PSA Kconfigs
de-nordic Mar 4, 2025
a1a093a
[nrf noup] zephyr: Fix path variables
nordicjm Jul 11, 2023
4399de2
[nrf noup] zephyr: Add support for compressed image updates
nordicjm Aug 22, 2024
b94c842
[nrf noup] zephyr: Add support for ARM thumb filter
nordicjm Sep 2, 2024
d88f72a
[nrf noup] Remove setting default MCUboot mbedTLS config
de-nordic Oct 17, 2024
1d15083
[nrf noup] bootutil: Add support for KMU stored ED25519 signature key
de-nordic Sep 20, 2024
2ffbf8a
[nrf noup] boot: zephyr: Add experimental selection to compression
nordicjm Nov 7, 2024
519e62a
[nrf noup] boot: bootutil: Allow configuring number of KMU keys
nordicjm Dec 2, 2024
0535f4c
[nrf fromtree] boot: bootutil: Add TLV for size of compressed but dec…
nordicjm Jan 9, 2025
91c282e
[nrf noup] zephyr: Use mbedTLS specific C functions with RSA
de-nordic Mar 14, 2025
2513d4b
[nrf noup] ci: Pin GH actions to SHAs
jangalda-nsc Mar 25, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/workflows/backport.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Backport
on:
pull_request_target:
types:
- closed
- labeled
branches:
- main

jobs:
backport:
name: Backport
runs-on: ubuntu-22.04
# Only react to merged PRs for security reasons.
# See https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target.
if: >
github.event.pull_request.merged &&
(
github.event.action == 'closed' ||
(
github.event.action == 'labeled' &&
contains(github.event.label.name, 'backport')
)
)
steps:
- name: Backport
uses: zephyrproject-rtos/action-backport@6b0bae5b575d289305a22ab11a273941b518994c # v2.0.3-3
with:
github_token: ${{ secrets.NCS_GITHUB_TOKEN }}
issue_labels: Backport
labels_template: '["Backport"]'
28 changes: 28 additions & 0 deletions .github/workflows/commit-tags.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Commit tags

on:
pull_request:
types: [synchronize, opened, reopened, edited, labeled, unlabeled,
milestoned, demilestoned, assigned, unassigned, ready_for_review,
review_requested]

jobs:
commit_tags:
runs-on: ubuntu-22.04
name: Run commit tags checks on patch series (PR)
steps:
- name: Update PATH for west
run: |
echo "$HOME/.local/bin" >> $GITHUB_PATH

- name: Checkout the code
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0

- name: Run the commit tags
uses: nrfconnect/action-commit-tags@main
with:
target: .
upstream: mcu-tools/mcuboot/main
2 changes: 1 addition & 1 deletion .github/workflows/espressif.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
MCUBOOT_FEATURES: ${{ matrix.features }}
MCUBOOT_IMG_NUM: ${{ matrix.img }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
with:
fetch-depth: 0
submodules: recursive
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fih_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- "MINSIZEREL 8,10 SIGNATURE MEDIUM"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
with:
fetch-depth: 0
# Uses Mbed TLS from TFM, and nothing else from here.
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/imgtool.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ jobs:
matrix:
python-version: ["3.x", "pypy3.9"]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pipenv'
Expand All @@ -35,7 +35,7 @@ jobs:
pipenv run pip install pytest -e .
pipenv run pytest --junitxml=../junit/pytest-results-${{ matrix.python-version }}.xml
- name: Upload test results
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
if: always()
with:
name: pytest-results-${{ matrix.python-version }}
Expand All @@ -47,11 +47,11 @@ jobs:
if: ${{ github.event_name == 'push' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
with:
fetch-depth: 0
- name: Cache pip
uses: actions/cache@v4
uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
if: github.repository == 'mcu-tools/mcuboot'
steps:
- uses: fojia/action-move-issues-to-column@master
- uses: fojia/action-move-issues-to-column@e56b9b3dc1a153cf4c9fd6f20064a431dd3e0b62 # master
with:
project: 'Issue Tracking'
column: 'No Status'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/issue_closed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
if: github.repository == 'mcu-tools/mcuboot'
steps:
- uses: fojia/action-move-issues-to-column@master
- uses: fojia/action-move-issues-to-column@e56b9b3dc1a153cf4c9fd6f20064a431dd3e0b62 # master
with:
project: 'MCUboot releases'
column: 'Done'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/mynewt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
environment:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
with:
fetch-depth: 0
- uses: actions/setup-go@v3
- uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3
with:
go-version: 'stable'
- name: Print the environment
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sim.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
env:
MULTI_FEATURES: ${{ matrix.features }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
with:
fetch-depth: 0
submodules: recursive
Expand All @@ -66,7 +66,7 @@ jobs:
run: |
./ci/check-signed-off-by.sh
- name: Install stable Rust
uses: actions-rs/toolchain@v1
uses: actions-rs/toolchain@63eb9591781c46a70274cb3ebdf190fce92702e8 # v1
with:
toolchain: stable
- name: Sim install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stale_issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
if: github.repository == 'mcu-tools/mcuboot'
steps:
- uses: actions/stale@v3
- uses: actions/stale@98ed4cb500039dbcccf4bd9bedada4d0187f2757 # v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-pr-message: 'This pull request has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 14 days. Note, that you can always re-open a closed pull request at any time.'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/zephyr_build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
echo "MCUBOOT_VERSION=${{ github.event.pull_request.head.sha }}" >> $GITHUB_ENV

- name: Checkout Zephyr
uses: actions/checkout@v2
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
with:
repository: 'zephyrproject-rtos/zephyr'
ref: ${{ env.ZEPHYR_VERSION }}
Expand All @@ -74,7 +74,7 @@ jobs:
west update

- name: Checkout MCUBoot
uses: actions/checkout@v2
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
with:
repository: 'mcu-tools/mcuboot'
ref: ${{ env.MCUBOOT_VERSION }}
Expand All @@ -95,7 +95,7 @@ jobs:
./scripts/twister --inline-logs -v -N -M --integration --overflow-as-errors --retry-failed 2 ${test_paths}

- name: Upload Tests Results
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
if: always()
with:
name: Tests Results
Expand Down
8 changes: 4 additions & 4 deletions boot/boot_serial/src/boot_serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -452,8 +452,8 @@ bs_set(char *buf, int len)
uint8_t image_index = 0;
size_t decoded = 0;
uint8_t hash[IMAGE_HASH_SIZE];
bool confirm;
struct zcbor_string img_hash;
bool confirm = false;
struct zcbor_string img_hash = { 0 };
bool ok;
int rc;

Expand Down Expand Up @@ -798,7 +798,7 @@ bs_upload(char *buf, int len)
size_t img_size_tmp = SIZE_MAX; /* Temp variable for image size */
const struct flash_area *fap = NULL;
int rc;
struct zcbor_string img_chunk_data;
struct zcbor_string img_chunk_data = { 0 };
size_t decoded = 0;
bool ok;
#ifdef MCUBOOT_ERASE_PROGRESSIVELY
Expand Down Expand Up @@ -1021,7 +1021,7 @@ bs_upload(char *buf, int len)
}
}
} else {
out_invalid_data:
out_invalid_data:
rc = MGMT_ERR_EINVAL;
}

Expand Down
37 changes: 35 additions & 2 deletions boot/bootutil/include/bootutil/crypto/aes_ctr.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
#include "mcuboot_config/mcuboot_config.h"

#if (defined(MCUBOOT_USE_MBED_TLS) + \
defined(MCUBOOT_USE_TINYCRYPT)) != 1
#error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT"
defined(MCUBOOT_USE_TINYCRYPT) + defined(MCUBOOT_USE_PSA_CRYPTO)) != 1
#error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
#endif

#if defined(MCUBOOT_USE_MBED_TLS)
Expand All @@ -38,12 +38,45 @@
#define BOOTUTIL_CRYPTO_AES_CTR_BLOCK_SIZE TC_AES_BLOCK_SIZE
#endif /* MCUBOOT_USE_TINYCRYPT */

#if defined(MCUBOOT_USE_PSA_CRYPTO)
#include <psa/crypto.h>
#include "bootutil/enc_key_public.h"
#define BOOTUTIL_CRYPTO_AES_CTR_KEY_SIZE BOOT_ENC_KEY_SIZE
#define BOOTUTIL_CRYPTO_AES_CTR_BLOCK_SIZE (16)
#endif

#include <stdint.h>

#ifdef __cplusplus
extern "C" {
#endif

#if defined(MCUBOOT_USE_PSA_CRYPTO)
typedef struct {
/* Fixme: This should not be, here, psa_key_id should be passed */
uint8_t key[BOOT_ENC_KEY_SIZE];
} bootutil_aes_ctr_context;

void bootutil_aes_ctr_init(bootutil_aes_ctr_context *ctx);

static inline void bootutil_aes_ctr_drop(bootutil_aes_ctr_context *ctx)
{
memset(ctx, 0, sizeof(ctx));
}

static inline int bootutil_aes_ctr_set_key(bootutil_aes_ctr_context *ctx, const uint8_t *k)
{
memcpy(ctx->key, k, sizeof(ctx->key));

return 0;
}

int bootutil_aes_ctr_encrypt(bootutil_aes_ctr_context *ctx, uint8_t *counter,
const uint8_t *m, uint32_t mlen, size_t blk_off, uint8_t *c);
int bootutil_aes_ctr_decrypt(bootutil_aes_ctr_context *ctx, uint8_t *counter,
const uint8_t *c, uint32_t clen, size_t blk_off, uint8_t *m);
#endif

#if defined(MCUBOOT_USE_MBED_TLS)
typedef mbedtls_aes_context bootutil_aes_ctr_context;
static inline void bootutil_aes_ctr_init(bootutil_aes_ctr_context *ctx)
Expand Down
Loading