Description
Describe the bug
When performing a commit I get the error
sign builder error: Failed to retrieve 'user.signingkey' from the git configuration: Currently, we only support a pair of ssh key in disk.
This is likely because of my git configuration for commit signing.
To Reproduce
Steps to reproduce the behavior:
- Add the following to your
~/.gitconfig
[user]
...
[gpg]
format = ssh
[gpg "ssh"]
program = /Applications/1Password.app/Contents/MacOS/op-ssh-sign
[commit]
gpgsign = true
[push]
autoSetupRemote = true
- try to perform a commit
- See the error above
Expected behavior
This should work without error. git
on the CLI works fine without error
Context (please complete the following information):
- M2 MacOS 14.4.1
- GitUI Version gitui nightly 2024-04-14
- Rust version: cargo 1.77.1 (e52e36006 2024-03-26)
Additional context
Add any other context about the problem here.
Activity
extrawurst commentedon Apr 15, 2024
Yeah right now we do not support calling a custom ssh program as you have configured
[-]Cant use commit signing [/-][+][ssh signing] support custom signing program[/+]seanaye commentedon Apr 17, 2024
I am working on a PR to support this.
chirpcel commentedon Jan 3, 2025
I'll take a look as this as the opened pull request seems to be abandoned
chirpcel commentedon Jan 4, 2025
First prototype is ready (see #2464), looking into support for key literal in .gitconfig and writing tests. Then I'll mark it as ready.
chirpcel commentedon Jan 4, 2025
Done, waiting for review.
fredriksvensson commentedon May 10, 2025
Hey @chirpcel and @naseschwarz . Is there anything happening on this?