Open philicious opened 5 years ago
I think the file (foobar.yaml
) might be signed with another key (as default key
).
Kubesec cannot set a signing key for encrypting.
My workaround is set default key
via ~/.gnupg/gpg.conf
if you have multiple keys.
Ref: https://unix.stackexchange.com/questions/339077/set-default-key-in-gpg-for-signing
+1 for this issue, especially if we want to do this operation within our CI pipeline. Is this possible @shyiko ?
Our CI system should know every public key of the team members, which is not very friendly...
@tk3fftk could you precise your answer because I don't get it well. I don't see the link between your answer and the original issue.
+1, sops seems to work well for this case FYI
This is a question for better understanding:
When adding multiple PGP keys to a secret, it seems as if you can only decrypt the secret when also having the pubkey of the person who added your key:
I added a colleague key, however he wasnt able to decrypt until he imported my pubkey to his keyring.
This is the debug output
This behavior is rather unfavorable as every decrypter needs to retrieve and import all other pubkeys.