Detached signature validation not working.

Open
#773 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
c

Research direction

Start by tracing the custom GRUB initrd verification path that calls verify_buffer with the PKCS function, then compare it with how VENDOR_CERT_FILE and the shim protocol handle detached signatures. Reproduce the 0x8000000000000002 error and determine whether detached-signature validation completes successfully without breaking shim loading.

Written by the indexing model from the issue text.

Description

I am using VENDOR_CERT_FILE,This shim could load grub, bzimage, but we have custom code in grub where we will verify initrd using detached signature using verify_buffer pkcs function. getting error: Unexpected error 0x8000000000000002. I am doubting shim overwrite start and load functions, and shim protocol does not take detached signature. is there a way to solve this issue.

Dominant language
C
Stars
1.1k
Forks
348
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from rhboot/shim

All issues in rhboot/shim

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.