Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gitui commit fails with "cryptographic error" when using GitHub SSH Signing Keys #2692

Unanswered
GustafXTT asked this question in Q&A
Discussion options

Hello, I’m using GitHub’s SSH Signing Key feature to sign my commits with an SSH key.

My Git configuration is as follows:

git config --global gpg.format ssh
git config --global user.signingkey ~/.ssh/id_rsa.pub
git config --global commit.gpgsign true

This works fine when I commit via the Git command line or other GUI tools that invoke Git.

However, when I try to commit using gitui, I get the following error:

Error
commit error:
sign error: Failed to spawn signing process: cryptographic error

Has anyone else encountered this issue, and is there a known fix or workaround for SSH commit signing in gitui?

You must be logged in to vote

Replies: 1 comment

Comment options

I'm getting this:

commit error:
sign error: Failed to spawn signing process: private key is encrypted
You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /