sops-nix icon indicating copy to clipboard operation
sops-nix copied to clipboard

hangs on boot when GPG key missing

Open ncfavier opened this issue 10 months ago • 2 comments

If the GPG private key used for decrypting secrets is missing, the boot just hangs after "setting up secrets". Is this intentional?

ncfavier avatar Mar 27 '24 12:03 ncfavier

No. This might be caused by the recent switch to gnupg instead of using it's own gpg implementation. What is your set up?

Mic92 avatar Mar 27 '24 13:03 Mic92

I experienced this with sops-nix 73bf36912e31a6b21af6e0f39218e067283c67ef, nixpkgs 97b17f32362e475016f942bbdfda4a4a72a8a652. Note that I'm overriding SOPS_GPG_EXEC here for reasons I don't fully remember.

ncfavier avatar Mar 27 '24 14:03 ncfavier