Skip to content
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

Failed to sign commit with passphrase #10

Closed
crazy-max opened this issue May 5, 2020 · 1 comment
Closed

Failed to sign commit with passphrase #10

crazy-max opened this issue May 5, 2020 · 1 comment
Labels

Comments

@crazy-max
Copy link
Owner

If you try to create a commit with this action, it will fail if your GPG key has a passphrase:

$ git add .
$ git commit -S -m "Signed commit"
error: gpg failed to sign the data
fatal: failed to write commit object
##[error]Process completed with exit code 128.

gpg-preset-passphrase seeds the internal cache of gpg-agent as expected with this action but looks like there is something wrong with cache lookup or maybe pinentry-program needs to be tuned.

@crazy-max
Copy link
Owner Author

Was an issue with the key grip.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant