Skip to content

Add SHA384 and SHA512 hash support - #840

Open
nfrayer wants to merge 1 commit into
rhboot:mainfrom
nfrayer:mldsa
Open

nfrayer wants to merge 1 commit into
rhboot:mainfrom
nfrayer:mldsa

Conversation

@nfrayer

@nfrayer nfrayer commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

Shim currently hard codes SHA256 as the hashing algorithm for Authenticode hashing. With MLDSA in the picture, we need to support SHA512 for MLDSA-87 and SHA384 for MLDSA-65. It also allows us to support enrolling SHA512/384 hashes with mokutil and allow/deny them in shim.

Shim currently hard codes SHA256 as the hashing algorithm
for Authenticode hashing. With MLDSA in the picture, we
need to support SHA512 for MLDSA-87 and SHA384 for MLDSA-65.
It also allows us to support enrolling SHA512/384 hashes with
mokutil and allow/deny them in shim.

Signed-off-by: Nicolas Frayer <nfrayer@redhat.com>
@codecov

codecov Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 58.96%. Comparing base (e794a71) to head (214ad80).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #840   +/-   ##
=======================================
  Coverage   58.96%   58.96%           
=======================================
  Files          24       24           
  Lines        4223     4223           
  Branches      654      653    -1     
=======================================
  Hits         2490     2490           
  Misses       1462     1462           
  Partials      271      271           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant