Skip to content

chkimes/image-attestation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image-attestation

This is a PoC for the OpenSSF SLSA workstream Hardware Attested Platforms.

The CLI in this repo implements vTPM-based attestation and integrity checking of a Linux VM image. This repo also provides demo GHA workflows showcasing how to meet SLSA BuildEnv L1 and L2 (WIP).

TODOs

  • Document verifier VM attestation flow
  • Document private key config and signing attestation
  • Merge CLI commands using cobra
  • Add binding attestation + signature for the job id
  • Add build image components for container-based build
  • Add verification of SLSA Provenance + VSA generation
  • Add verification of "boot" in container-based build environment
  • Add mock build platform
  • Add mock L3 container-based build environment deployment with HW TPM

How To Use

Generate the initramfs

From a fresh Ubuntu 20+ VM, install the initramfs scripts:

sudo initramfs/install.sh

Generate the initramfs:

sudo mkinitramfs -o image-attestation.img

Update GRUB

TODO

Disclaimer

This project is not ready for production use.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published