Secure AlmaLinux Server setup with LUKS encryption, TPM, and mdadm RAID1 for Hetzner Dedicated Servers.
Go to file
2025-07-26 21:50:58 +02:00
dotfiles who even cares about fedora 2025-07-26 21:47:37 +02:00
.gitignore rewrote everything 2025-05-18 18:31:20 +02:00
icon.svg fixed the iucon 2025-05-18 16:09:51 +02:00
install.conf who even cares about fedora 2025-07-26 21:47:37 +02:00
install.sh who even cares about fedora 2025-07-26 21:47:37 +02:00
MASTER_README.md check out raven 2025-05-13 21:23:55 +02:00
post-install.sh who even cares about fedora 2025-07-26 21:47:37 +02:00
README.md Upd README 2025-07-26 21:50:58 +02:00

nullpoint


Secure AlmaLinux Server setup with LUKS encryption, TPM, and mdadm RAID1 for Hetzner Dedicated Servers.

Features

  • AlmaLinux Server base
  • Full disk encryption with LUKS
  • Remote unlock via Tang server
  • TPM-based boot verification
  • mdadm RAID1 + XFS (RHEL standard)
  • SSH key-only access with early boot SSH via dropbear
  • Automated provisioning using Hetzner installimage
  • Modern development environment with dotfiles

If you need a dead man's switch to go along with it check out raven.

Unlock Strategy

  1. Automatic unlock via Tang/TPM (default):

    • Configure TPM2 and/or Tang servers in post-install.sh
    • System unlocks automatically if conditions are met
    • No manual intervention required
  2. Manual unlock via SSH (fallback):

    • SSH to server on port 22 (dropbear in early boot)
    • Enter LUKS passphrase when prompted (twice, once per disk)
    • Used when automatic unlock fails or is not configured

Quick Install

Boot your Hetzner server into rescue mode and run:

wget -qO- https://git.dominik-roth.eu/dodox/nullpoint/raw/branch/master/install.sh | bash

The installer will:

  • Detect your SSH key from the current session
  • Ask for hostname and username
  • Generate a secure LUKS passphrase (SAVE IT!)
  • Download and configure everything
  • Run Hetzner's installimage automatically

Manual Setup

If you prefer to configure manually:

  1. Boot into Hetzner Rescue Mode

    • Log into Hetzner Robot
    • Select your server → Rescue tab
    • Choose "Linux 64 bit" and activate
    • SSH into rescue system
  2. Download Configuration

    git clone https://git.dominik-roth.eu/dodox/nullpoint.git
    cd nullpoint
    
  3. Configure

    • Edit install.conf and change CRYPTPASSWORD
    • Edit post-install.sh and set your SSH key (REQUIRED!)
    • Optionally configure Tang servers and TPM settings
  4. Install

    installimage -a -c install.conf -s post-install.sh