Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • M mkinitcpio
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare revisions
    • Locked files
  • Issues 38
    • Issues 38
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 10
    • Merge requests 10
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Releases
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Arch LinuxArch Linux
  • Mkinitcpio
  • mkinitcpio
  • Issues
  • #194
Closed
Open
Issue created Jun 13, 2023 by nl6720@nl6720Developer

Support adding .pcrsig & .pcrpkey sections to UKIs

Per systemd-stub(7),

  • .pcrsig contains a set of cryptographic signatures for expected TPM2 PCR values,
  • .pcrpkeycontains a public key that signed the signature data.

These are required to use systemd-cryptenroll's --tpm2-public-key=, --tpm2-public-key-pcrs= and --tpm2-signature= options. I.e. to avoid hardcoding the PCR values in the LUKS header.

.pcrpkey is simple, just attach the file, .pcrsig is not simple. The signature requires running systemd-measure after the initramfs is generated but before the UKI is constructed. I.e. at a stage after build hooks, but before post hooks.

Edited Jun 13, 2023 by nl6720
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking