boinkor-net / hoopsnake

A not-very-featureful SSH server for initrd that listens on your tailscale network
https://github.com/boinkor-net/hoopsnake
Apache License 2.0
4 stars 1 forks source link

Run in systemd stage1 #18

Closed antifuchs closed 7 months ago

antifuchs commented 7 months ago

This allows us to run under systemd, which lets us set credentials encrypted with a TPM2!

That means the entire key management bit is solved, and we have a way to boot a stateless initrd whose trust is 100% rooted in a machine identity.

antifuchs commented 7 months ago

The test failure is fixed with https://github.com/NixOS/nixpkgs/pull/299395, now we just have to wait for it to hit nixos-unstable (: