Skip to content
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

scripts/bootloader: Add ed25519/sha512 to scripts #18959

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

fundakol
Copy link

No description provided.

@CLAassistant
Copy link

CLAassistant commented Nov 19, 2024

CLA assistant check
All committers have signed the CLA.

@github-actions github-actions bot added the changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. label Nov 19, 2024
@NordicBuilder
Copy link
Contributor

NordicBuilder commented Nov 19, 2024

CI Information

To view the history of this post, clich the 'edited' button above
Build number: 23

Inputs:

Sources:

sdk-nrf: PR head: 4a4b80b35aef99850a9c4a7d2f4cdded6f6e871f

more details

sdk-nrf:

PR head: 4a4b80b35aef99850a9c4a7d2f4cdded6f6e871f
merge base: d839e3cda69a64e0f3de12cea337aef824512bcb
target head (main): db3ad8cd2d5b293e7519f08015f8aa3e3637cbc8
Diff

Github labels

Enabled Name Description
ci-disabled Disable the ci execution
ci-all-test Run all of ci, no test spec filtering will be done
ci-force-downstream Force execution of downstream even if twister fails
ci-run-twister Force run twister
ci-run-zephyr-twister Force run zephyr twister
List of changed files detected by CI (10)
scripts
│  ├── bootloader
│  │  ├── do_sign.py
│  │  ├── hash.py
│  │  ├── keygen.py
│  │  ├── tests
│  │  │  ├── asn1parse_test.py
│  │  │  ├── conftest.py
│  │  │  ├── do_sign_test.py
│  │  │  ├── keygen_test.py
│  │  │  ├── validation_data_test.py
│  │  │  │ zephyr.hex
│  │  │ validation_data.py

Outputs:

Toolchain

Version: b77d8c1312
Build docker image: docker-dtr.nordicsemi.no/sw-production/ncs-build:b77d8c1312_912848a074

Test Spec & Results: ✅ Success; ❌ Failure; 🟠 Queued; 🟡 Progress; ◻️ Skipped; ⚠️ Quarantine

  • ◻️ Toolchain - Skipped: existing toolchain is used
  • ✅ Build twister
    • sdk-nrf test count: 44
  • ✅ Integration tests
    • ✅ test-fw-nrfconnect-boot
    • ✅ test-sdk-mcuboot
    • ⚠️ test-fw-nrfconnect-fw-update
Disabled integration tests
    • desktop52_verification
    • doc-internal
    • test_ble_nrf_config
    • test-fw-nrfconnect-apps
    • test-fw-nrfconnect-ble_mesh
    • test-fw-nrfconnect-ble_samples
    • test-fw-nrfconnect-chip
    • test-fw-nrfconnect-fem
    • test-fw-nrfconnect-nfc
    • test-fw-nrfconnect-nrf-iot_libmodem-nrf
    • test-fw-nrfconnect-nrf-iot_lwm2m
    • test-fw-nrfconnect-nrf-iot_mosh
    • test-fw-nrfconnect-nrf-iot_nrf_provisioning
    • test-fw-nrfconnect-nrf-iot_positioning
    • test-fw-nrfconnect-nrf-iot_samples
    • test-fw-nrfconnect-nrf-iot_serial_lte_modem
    • test-fw-nrfconnect-nrf-iot_thingy91
    • test-fw-nrfconnect-nrf-iot_zephyr_lwm2m
    • test-fw-nrfconnect-nrf_crypto
    • test-fw-nrfconnect-ps
    • test-fw-nrfconnect-rpc
    • test-fw-nrfconnect-rs
    • test-fw-nrfconnect-tfm
    • test-fw-nrfconnect-thread
    • test-fw-nrfconnect-zigbee
    • test-low-level
    • test-sdk-audio
    • test-sdk-dfu
    • test-sdk-find-my
    • test-sdk-pmic-samples
    • test-sdk-sidewalk
    • test-sdk-wifi
    • test-secdom-samples-public

Note: This message is automatically posted and updated by the CI

@fundakol fundakol force-pushed the bootloader/ed25519-keygen branch 3 times, most recently from 1c315d2 to b436a1d Compare November 19, 2024 15:09
Copy link
Contributor

@nordicjm nordicjm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also missing changes to validation_data.py

scripts/bootloader/do_sign.py Outdated Show resolved Hide resolved
scripts/bootloader/keygen.py Outdated Show resolved Hide resolved
scripts/bootloader/keygen.py Outdated Show resolved Hide resolved
@fundakol fundakol force-pushed the bootloader/ed25519-keygen branch 11 times, most recently from adc2886 to ffa7e39 Compare November 22, 2024 08:36
@fundakol fundakol marked this pull request as ready for review November 22, 2024 08:39
@fundakol fundakol requested a review from a team as a code owner November 22, 2024 08:39
@fundakol fundakol force-pushed the bootloader/ed25519-keygen branch 4 times, most recently from 33c4465 to e78e5ec Compare November 25, 2024 15:59
Copy link
Contributor

@nvlsianpu nvlsianpu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
note for me.: usage cmake/sysbuild/debug_keys.cmake
nRF54l15 KMU is place for public keys BL_PUBKY_[n], digests unwanted.

@fundakol fundakol force-pushed the bootloader/ed25519-keygen branch 2 times, most recently from 19eb64e to 689b579 Compare November 26, 2024 08:32
Python scripts implementing ed25519 and sha512 support needed
for nsib image signing.

Signed-off-by: Lukasz Fundakowski <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants