-
-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hiera-eyaml cannot decrypt with key, plain gpg works #206
Comments
Hi, You mentioned that one thing you tried was deleting all private keys, which tells me that you haven't deleted ALL keys (public too), so you must have assumed that he meant that the the key needs to be the frist secret key, not first key of any kind. |
Also encountered this silly issue , had to blast whole ~/.gnupg as removing ALL the keys with gpg command and re-adding my primary one as the only one wouldn't help. |
This error does not come from hiera-eyaml, but from hiera-eyaml-gpg, which is not maintained by Vox Pupuli. It looks like @andrzejhochul opened a ticket for that, and I think the reproduction steps and error details should be copied over there. I am sorry that we are not able to help with this issue. |
Hi there,
I'm having an issue that none of my colleagues has, and after some days of research and fiddling around I'm completely stuck so maybe someone here can help?
It's similar to this issue: #164, but none of the solutions suggested there worked for me.
I can decrypt a file or a passage in a file using
eyaml edit --gpg-always-trust --gpg-recipients-file <recipient_file> <my_file>,
but when I try to decrpypt the file I get the following error:
[gpg] Fatal: Failed to decrypt ciphertext (check settings and that you are a recipient)
[hiera-eyaml-core] Decryption failed
This is my setup:
This is what I have tried:
Encrypted / decrypted again -> failed.
None of these things worked out.
Any ideas anyone? I'm grateful for any hint.
Cheers, Andrea
The text was updated successfully, but these errors were encountered: