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

[kmac, sival] Keymgr-state-agnostic kmac_sideload_functest #25898

Conversation

andrea-caforio
Copy link
Contributor

This commit fixes the two kmac_sideload_functest tests that were failing due to a misconfigured key version parameter. Some ROMs set the max key version in the keymgr to 0, which causes sideloading to abort if any other version value is being programmed. Note that the proper functioning of valid/invalid keymgr version numbers is part of the chip_sw_keymgr_derive_{sealing, attestation} tests.

This bug has been mentioned as part of #21706.

@andrea-caforio andrea-caforio requested a review from a team as a code owner January 16, 2025 09:53
@andrea-caforio andrea-caforio requested review from jadephilipoom and removed request for a team January 16, 2025 09:53
@engdoreis engdoreis added the CherryPick:earlgrey_1.0.0 This PR should be cherry-picked to earlgrey_1.0.0 label Jan 16, 2025
@andrea-caforio andrea-caforio added the CI:Rerun Rerun failed CI jobs label Jan 17, 2025
@github-actions github-actions bot removed the CI:Rerun Rerun failed CI jobs label Jan 17, 2025
This commit fixes the two `kmac_sideload_functest` tests that were
failing due to a misconfigured key version parameter. Some ROMs set
the max key version in the keymgr to 0, which causes sideloading to
abort if any other version value is being programmed. Note that the
proper functioning of valid/invalid keymgr version numbers is part of
the `chip_sw_keymgr_derive_{sealing, attestation}` tests.

This bug has been mentioned as part of lowRISC#21706.

Signed-off-by: Andrea Caforio <[email protected]>
@andrea-caforio andrea-caforio force-pushed the keymgr-state-agnostic-kmac-sideload-functest branch from 2821eda to 77d0fa9 Compare January 17, 2025 10:15
@engdoreis engdoreis merged commit 7f63cff into lowRISC:master Jan 17, 2025
38 checks passed
Copy link

Successfully created backport PR for earlgrey_1.0.0:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CherryPick:earlgrey_1.0.0 This PR should be cherry-picked to earlgrey_1.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants