Login
You're viewing the code4lib.social public feed.
  • Jun 3, 2026, 2:09 PM

    @jpab I mean, if we're talking truly distributed keys, as in, you want to have key fragments in your laptop and your phone so that both devices need to be there to unlock the server, then OK, maybe this is a good candidate for a building block to make that happen.

    💬 1🔄 0⭐ 0

Replies

  • Jun 3, 2026, 2:22 PM

    @jpab Personally, this would be quite far down my list of priorities, I'd want to solve a bunch of other problems first:

    1. Depending on what the system in question is intended for, I find unencrypted OS + encrypted data to be operationally awkward; you have to defer starting up services until their data is available and prevent leaking encrypted data into unencrypted logs etc. (reboot -r and out-of-band microcontroller based unlock both solve this well, but in different ways)

    💬 1🔄 0⭐ 0
  • Jun 3, 2026, 2:27 PM

    @jpab
    2. Ease of unlocking is important to me.
    I travel with the encrypted mini server and it runs things that are useful for our phones and tablets too. Unlocking it without having to get my laptop out is helpful.

    3. Observability is useful, especially for distant servers. Like you say, you really want a notification on your phone and/or your computer when it changes state. (IMO, this includes it disappearing from the network, in addition to "now ready to unlock.")

    💬 1🔄 0⭐ 0
  • Jun 3, 2026, 2:34 PM

    @jpab
    4. Straightforward remote setup and admin.
    It's taken a while to figure out how to set up and update the reboot -r setup remotely on a rented root server in a data centre where getting access to the local console/keyboard is time-limited and upon request only. (I managed to reduce it to a disk image generated locally by script, that I can upload and dump into the unlock partition on the remote server, either from the fully unlocked production OS or a Linux netboot "rescue" OS.)

    💬 1🔄 0⭐ 0
  • Jun 3, 2026, 2:35 PM

    @jpab That last one isn't much of a concern for the travel device, but I plan to apply the same thing for the "big" home server too so that remote OS updates and similar while I'm travelling aren't so nerve-wracking.

    💬 1🔄 0⭐ 0
  • Jun 3, 2026, 2:47 PM

    @jpab I'm planning to publish scripts and an explanation for my reboot -r solution once I've reliably applied it to a few systems, but I'm not sure how useful that will be to your specific situation.
    I mean, it could be… FreeBSD is pretty nice, ZFS is fantastic, and bhyve is a great hypervisor for hosting any Linux-only software!
    So if you're interested in the rough drafts of this, let me know. (There isn't any code to share yet on the RPi Pico W based approach, but I'm happy to braindump.)

    💬 1🔄 0⭐ 0
  • Jun 3, 2026, 2:49 PM

    @jpab I don't have a solution to the "unlock from your phone" requirement for any of it yet though, unless you count using a phone-based SSH client I suppose.

    💬 0🔄 0⭐ 0