Skip to content

Instantly share code, notes, and snippets.

@jdoss
jdoss / LUKS_and_TPM2_with_Fedora.md
Last active October 26, 2024 20:15
Decrypt LUKS volumes with a TPM on Fedora Linux

Decrypt LUKS volumes with a TPM on Fedora Linux

This guide allows you to use the TPM on your computer to decrypt your LUKS encrypted volumes. If you are worried about a cold boot attack on your hardware please DO NOT use this guide with your root volume!

Preflight Checks

Verify that you have a TPM in your computer:

# systemd-cryptenroll --tpm2-device=list
PATH DEVICE DRIVER
@d-k-bo
d-k-bo / archival_notice.md
Last active May 30, 2024 16:48
Install experimental driver for the goodix 55b4 fingerprint sensor on Ubuntu

🚧 This Document is archived.

I'm no longer using this exact setup, it is based on an old version of libfprint and further development is moving at a slow pace.

This document will still be available for further reference, but I don't plan to update it.

@tiagofreire-pt
tiagofreire-pt / self-signed-certificate-with-custom-ca-for-home-assistant.md
Last active November 1, 2024 10:17 — forked from fntlnz/self-signed-certificate-with-custom-ca.md
Self Signed Certificate with Custom Root CA for Home Assistant

Create Root Certificate Authority and self-signed certificate for your Home Assistant. Compatible with Chrome browser > version 58, including the macOS Catalina 10.15 / iOS 13 (and above) new requirements.

Create Root Key

Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!

openssl genrsa -des3 -out rootCA.key 4096