-
Notifications
You must be signed in to change notification settings - Fork 830
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
sops hangs until gpg agent restarted (mac) #338
Comments
Have you checked this a problem with SOPS, and not a problem with your |
@autrilla Do you have any relevant configuration you could share for your agent setup? I am using the vanilla configuration. (installed via gpg suite) |
I don't have any configuration tweaks. I install gpg and gpg-agent through Homebrew on macOS |
I see this behavior too, I have to literally kill the gpg-agent each time I want to decrypt. |
I see the same behavior with sops 3.5.0 under Ubuntu 18.04. I compiled a version of sops with more logging and this shows the endless loop (indirectly by calling the callback
|
I can confirm linux see this behavior as well. This even happens when there are no suitable PGP keys available. IE using key groups and a KMS and GPG keys |
what: sops decrypts a file once, on further decryption attempts, sops hangs until gpg agent is restarted.
setup:
SOPS_PGP_FP
sops newtest.json
sops -d newtest.json
sops -d newtest.json
again, it hangs indefinitely without ouputgpgconf --kill gpg-agent
sops -d newtest.json
works againis there a better way to debug this?
versions:
macOS 10.13.3
sops 3.0.3 (latest)
gpg (GnuPG/MacGPG2) 2.2.3
The text was updated successfully, but these errors were encountered: