agenix | 355 Members | |
| age-encrypted secrets for NixOS https://github.com/ryantm/agenix/ | 90 Servers |
| Sender | Message | Time |
|---|---|---|
| 14 Jan 2024 | ||
In reply to @happyalu:matrix.orgIs yubikey working for you right now? If yes, can you show me the way to do this, please, i can't find clues 💀 | 17:36:32 | |
| Do you want to use your yubikey to decrypt on system activation, or do you want to use it to store encrypted secrets in your repository which are then rekeyed for the host before deploying? | 21:02:08 | |
| 22:34:50 | ||
| 15 Jan 2024 | ||
In reply to @oddlama:matrix.orgFirst! The second one i just don't understand 😅 | 02:31:47 | |
In reply to @xxxcrow:matrix.org I'm using gpg on my yubikey to encrypt secrets in the repo. sops-nix decrypts them at system activation. Yubikey is not (needeed to be) present during the activation. Not sure if that matches with what you are trying to do. I found these resources helpful:
After that I just followed the sops-nix readme to add my gpg key fingerprint to the .sops.yaml file. | 04:52:19 | |
In reply to @happyalu:matrix.orgDoes not need to be present during activation? Because it stored in the agent? 🤔 | 04:56:01 | |
In reply to @xxxcrow:matrix.orgoh i missed one quite important detail. I use the yubikey mainly so I can edit my secrets anywhere. For the host, I use the ssh key of the host (with ssh-to-age) for decryption. | 04:58:37 | |
In reply to @happyalu:matrix.orgI'm not sure if yubikey based gpg key can actually be used at system boot -- i'm not sure if it can be done. | 04:59:15 | |