Open SuperSandro2000 opened 3 years ago
I am quite sure what you mean. This is the error message you should get if you cannot decrypt your file at deployment time: https://github.com/Mic92/sops-nix/issues/65#issue-792957254
If your error comes from the sops command line program this is unfortunately out of my possibilities. Sops has its own issue tracker for this. But I don't think this was your intention.
It comes from the sops cli or better or does not. The hook could check if the file type is valid and complain if not.
Do you mean sops-pgp-hook?
Yes
@SuperSandro2000 We started recommending users to switch to age (and keys derived from ssh-ed25519 keys). The README will soon reflect that change. Since this is going to be the main way to do sops-nix in the future can you try it instead? This will entirely get rid of all hooks
I messed um my .asc files and they couldn't be decrypted by sops which is silently ignored and you cannot edit your secrets file. It should throw an error or at least log such thing.