-
Notifications
You must be signed in to change notification settings - Fork 63
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
Output screwed with passphrase input dialog #4
Comments
Hm, I'm fairly sure this would be a bug in Terraform itself and should be reported on the core Terraform repo (https://github.com/hashicorp/terraform). Or does it only happen when using this provider? |
Could be. Reported here also since this is the first plugin I used which is asking for user input. |
Yeah, might not be that common. Would you mind opening an issue there too and pinging me and we'll see what they have to say? If it "should" work in core then I can troubleshoot here better. |
Done. |
Thanks. As per the discussion in that issue, it actually falls on this plugin to deal with it. Thinking some more about it, I wonder, is this actually the plugin itself, or is the output from a gpg-agent? |
I think it is from pinentry
With the following configuration:
|
Alright. I'm actually not sure how to prevent this from happening, since it is several steps removed from the code here: Terraform calls terraform-provider-sops (this code) which uses the sops library, which checks with the gpg agent (pinentry in your case) if it needs to be unlocked. |
Neither do I. How do you handle passphrase protected PGP private key at the moment? |
Personally I've only used sops with cloud key vaults, so there it is not an issue (there are no interactive components) |
Have you tried using |
When GPG prompt for passphrase, terraform keeps pushing out the state change in screen which screwed with the dialog.
Is it possible to pause on the dialog?
The text was updated successfully, but these errors were encountered: