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

Support ssh signing [fixes #123] #136

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

jeremy-w
Copy link

@jeremy-w jeremy-w commented Apr 17, 2024

This mirrors the logic in git's sign_buffer_ssh() function in order to support signing commits with ssh keys.

The test assumes an ssh-agent is running. It heavily mirrors test_gpgsign, but omits the tests for argument/config handling around whether or not to sign.

[fixes #123]

Updated tox.ini to pass SSH_AUTH_SOCK through to the test env.
This assumes ssh-agent is already running.
This enables cleaning up the ssh-add operation when the test finishes.
@charettes
Copy link

If it can be of any help, I've been using this feature branch to successfully sign my commits for the past two few days without issues.

Thanks for the patch @jeremy-w 🙇

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.

Commit signing does not support SSH signatures
2 participants