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

Adding example for signing commits #1740

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jarrodek
Copy link

@jarrodek jarrodek commented Nov 9, 2019

This is related to #1018

Adds an example to demonstrate how to use signed commits using GPG key, nodegit, and openpgp.

It adds a dummy GPG key in examples/gpg-keys/secret-key-489B1963.asc and signing-commits.js with each part of the operation defined in it's own function for readability.

I believe it will be useful as there is no guide of how to sign commits using nodegit, nor any community content related to this matter.

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

Successfully merging this pull request may close these issues.

None yet

1 participant