Skip to content
flashbotsPublic

About

Startup script to enable TDX VM configurability

Resources

Stars

2 stars

Watchers

2 watching

Forks

Latest commit

 

History

26 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tdx-init

A utility for secure disk encryption and SSH configuration in TDX (Trusted Domain Extensions) VMs. Currently designed specifically for Flashbots BoB VMs.

Functionality

  • Allows VM operator to provision a VM with a searcher's SSH key
  • Stores searcher's SSH key directly in LUKS2 header
  • Automatically sets up persistent encrypted disk once searcher has provided a LUKS2 passphrase

Usage

tdx-init wait-for-key     # Wait for SSH key via HTTP or extract from existing LUKS header
tdx-init set-passphrase   # Set up or mount an encrypted disk with passphrase
  • tdx-init wait-for-key should be called during the init process (before anything requiring peristant storage is mounted)
  • tdx-init set-passphrase should be called after the SSH key has been established directly by the searcher through an authenticated channel

About

Startup script to enable TDX VM configurability

Resources

Stars

2 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages