Skip to content

FIGIO55/tpm2-encryption-ubuntu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

This is a simple script to setup disk encryption with tpm2, so you don't have to enter the decryption key every time you boot your machine.

Requirements

  • Ubuntu 22.04 or greater (could work also on lower versions but it's not tested)
  • TPM2 / fTPM chip on your motherboard

How to

  1. Install Ubuntu like you would normally, just remember to setup LVM with encryption when asked for the advanced features
  2. Download the install script however you like
  3. Run the first stage with bash install.sh --stage1. You will be asked for your user password. This is to install every dependency needed.
  4. Very important: reboot your machine
  5. Get the device name of the encrypted partition (it would be /dev/something). It should be under the name something_crypt or similar. Take that name without the _crypt
  6. Run bash install.sh --stage2 /dev/something. You will be asked for your user password and your decryption key.
  7. After the script is done, reboot. You might see the decryption prompt again, don't do anything and wait, it will go on its own

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages