News for hackers. Stuff that matters.
Re:Show HN: Laptop is the last place your secrets are still ... by ekianjo on Sunday August 16, 2026 @04:03AM (#49317906)
on Linux use systemd-credentials. It already does that
Re:Show HN: Laptop is the last place your secrets are still ... by porridgeraisin on Sunday August 16, 2026 @04:26AM (#49318056)
Yes, you can even have it tpm-backed.

echo -n "sk-proj-12345..." | systemd-creds encrypt --with-key=tpm2 --name=openai_key - openai.cred

And then at runtime export OPENAI_API_KEY=$(sudo systemd-creds decrypt openai.cred)

Re:Show HN: Laptop is the last place your secrets are still ... by bukershok on Sunday August 16, 2026 @04:52AM (#49318192)
Soon it will also be for Linux
Re:Show HN: Laptop is the last place your secrets are still ... by nf-x on Sunday August 16, 2026 @05:29AM (#49318396)
there are so many great tools in the baseline core infrastructure. and there's so much NIH syndrome still.

appreciation and OS aside, systemd-creds relays long-lived creds into long-lived processes, and author's AI slop attempts at short-lived/on-demand injections. Apparently, author's AI slop gets a lot of iterations, but has not much of external scrutiny yet.

Re:Show HN: Laptop is the last place your secrets are still ... by chanux on Sunday August 16, 2026 @05:37AM (#49318444)
Available since 2021 (systemd v250) and I just got to know. Better late than never I guess.

PS: Thank you!