this post was submitted on 06 Nov 2025
25 points (100.0% liked)

Selfhosted

52766 readers
546 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

Hey everyone, here's an idea, what do you think? (Please stop me...)

I have a few remote servers where disk encryption is only a moderately important measure; I definitely want to keep it but I'm also annoyed by having to ssh into it during the initrd-phase to provide a passkey on every reboot. What I would like is to get a notification with a link to my idp for some device flow, allowing me to authorize the server to obtain the secrets necessary for decryption.

As far as I can tell, this hasn't been done before, or have I missed something? A naive idea would be to have custom oidc-claims for the different servers where the value is the luks-passphrase. Feels like a bad idea, though. Any ideas on the details as to how? I obviously don't want to bloat my initrd-image, so a bash script using curl would be ideal.

you are viewing a single comment's thread
view the rest of the comments
[–] emrsmsrli@lemmy.world 0 points 13 hours ago

I followed this guide and it works very well for me. It's basically a setup for a dropbear ssh server on boot time.