-
-
Notifications
You must be signed in to change notification settings - Fork 78
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
Error raised if '.gnupg/gpg-agent.conf' does not exist #176
Error raised if '.gnupg/gpg-agent.conf' does not exist #176
Comments
So I've taken a deeper look into the code and found a workaround to make it work. There seem to basically be 2 issues :
Regarding the second one, I believe the issue is that, for some reasons, my GPG's home directory is
Instead of For now, this is how I managed to make it work :
It seems that also I needed to add some permissions to the directory, else a "warning: unsafe permissions" was raised by GPG: https://gist.github.com/oseme-techguy/bae2e309c084d93b75a9b25f49718f85 Besides, even with that, I was not able to use the Hope this gives a better idea of the issue ! |
Latest release should fix this issue, thanks for your feedback |
Behaviour
The action failed to run and raised
Error: ENOENT: no such file or directory, open '.gnupg/gpg-agent.conf'
when trying to configure the GnuPG agentSteps to reproduce this issue
I used the action for signing tags in the following step :
Expected behaviour
The action should work without raising an issue. If the file does not exist, I believe it should be created instead.
Actual behaviour
The following error was raised :
Error: ENOENT: no such file or directory, open '.gnupg/gpg-agent.conf'
Configuration
Complete yaml can be found here.
Logs
Action logs
The text was updated successfully, but these errors were encountered: