Skip to content

Plumb hash_envelope_reference_info.cose#2622

Open
anmaxvl wants to merge 1 commit intomicrosoft:mainfrom
anmaxvl:additional-cose-documents
Open

Plumb hash_envelope_reference_info.cose#2622
anmaxvl wants to merge 1 commit intomicrosoft:mainfrom
anmaxvl:additional-cose-documents

Conversation

@anmaxvl
Copy link
Contributor

@anmaxvl anmaxvl commented Mar 5, 2026

Add support for a new COSE_Sign1 signed document
(hash_envelope_reference_info.cose) alongside the existing reference_info.cose. The file is read from the boot files directory, base64-encoded, sent over the wire via LCOWConfidentialOptions, and written into each container's security context directory.

A single platform-agnostic annotation
(io.microsoft.virtualmachine.uvm-hash-envelope-reference-info-file) is used for both LCOW and WCOW, placed in a new "Confidential UVM annotations" section.

Changes:

  • Add UVMHashEnvelopeReferenceInfoFile annotation constant
  • Add EncodedUVMHashEnvelopeReference to wire protocol
  • Add WithUVMHashEnvelopeReferenceInfo confidential UVM option
  • Plumb new reference info to linux GCS and windows gcs-sidecar
  • Write hash-envelope-reference-info-base64 to security context dir

…line

Add support for a new COSE_Sign1 signed document
(hash_envelope_reference_info.cose) alongside the existing
reference_info.cose. The file is read from the boot files directory,
base64-encoded, sent over the wire via LCOWConfidentialOptions, and
written into each container's security context directory.

A single platform-agnostic annotation
(io.microsoft.virtualmachine.uvm-hash-envelope-reference-info-file) is
used for both LCOW and WCOW, placed in a new "Confidential UVM
annotations" section.

Changes:
- Add UVMHashEnvelopeReferenceInfoFile annotation constant
- Add EncodedUVMHashEnvelopeReference to wire protocol
- Add WithUVMHashEnvelopeReferenceInfo confidential UVM option
- Plumb new reference info to linux GCS and windows gcs-sidecar
- Write hash-envelope-reference-info-base64 to security context dir

Signed-off-by: Maksim An <maksiman@microsoft.com>
@anmaxvl anmaxvl requested a review from a team as a code owner March 5, 2026 01:19
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.

3 participants