-
-
Notifications
You must be signed in to change notification settings - Fork 396
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
Add GPG signing support #164
Comments
That's nice! I will work on this on the weekend. The option name |
Yeah, I agree and you choose the variable name for the api better. And I added some information above which may did some help, waiting for this awesome feature. |
This comment has been minimized.
This comment has been minimized.
I have learned the flow of creating a commit with GPG signing, just now, for only on macOS and Ubuntu. The |
This comment has been minimized.
This comment has been minimized.
@weklost |
Hello @peaceiris :) Just wanted to know if we could reprioritize this issue please ? |
Hi, I have just adjusted this action and combined with the crazy-max/ghaction-import-gpg, and finally implement the deploy on the github pages with GPG signing! You can check my result. And here is my process:
Finally using the combined workflow works well for me. Or you can use my adjusted version directly:
For more details, I have written about the issues that may be encountered in my blog, you can refer it here. |
1 similar comment
Hi, I have just adjusted this action and combined with the crazy-max/ghaction-import-gpg, and finally implement the deploy on the github pages with GPG signing! You can check my result. And here is my process:
Finally using the combined workflow works well for me. Or you can use my adjusted version directly:
For more details, I have written about the issues that may be encountered in my blog, you can refer it here. |
Is your feature request related to a problem? Please describe.
It not related with any problem, just a feature.
Describe the solution you'd like
Using GPG or S/MIME created sign tags and commits, and marked commits to GitHub Pages branch as verified on GitHub like this:
Anyway, the
gpg_private_key
should be added before creating the commits.This would be a awesome feature and it may not quite easy as I thought at beginning , so I add some contents here:
gpg_private_key.pgp
andpassphrase
:I'm not sure whether a
chmod
should be applied to the key file, but if it successfully added, the output is like this:The
KEYID
could be extracted by regex..gitconfig
and enable auto signing when perform a commit:I have not confirmed whether the
user.name
anduser.email
in git config should be as same as the key's, or it does not match may cause signing error.git add -A git commit -a -S -m "some message"
Here also requires the
passphrase
to be entered and I got puzzled in passing thepassphrase
directly to gpg form git in command line. Lastlygit push
as usual.Additional context
Ref:
https://help.github.com/en/github/authenticating-to-github/about-commit-signature-verification
https://github.com/samuelmeuli/action-maven-publish
Add issues may did some help:
GPG failed to sign the data fatal on macOS
gpg asks for password even with --passphrase
The text was updated successfully, but these errors were encountered: