Forum Discussion

heaths's avatar
heaths
New Contributor
8 hours ago

Prompted every time I need to sign a git commit or tag

I have 1Password set up to sign git commits and tags in both Windows and WSL (I use the latter most for development). Starting a few months ago but getting increasingly frustrating (especially when I rebase a lot of commits), I'm prompted every time I need to sign.

My ~/.gitconfig is set up like so (relevant settings shown):

[user]
	signingkey = ssh-ed25519 PUBKEY

[core]
	sshCommand = ssh.exe

[gpg]
	format = ssh

[gpg "ssh"]
	program = "/mnt/c/Users/USERNAME/AppData/Local/Microsoft/WindowsApps/op-ssh-sign-wsl.exe"

[commit]
	gpgsign = true

[tag]
	gpgsign = true

`ssh-add -L` (both the ELF executable in WSL as well as running the PE/COFF `ssh-add.exe`) shows my ssh auth and signing keys.

1Password - the desktop app - is also configured to only prompt when 1Password is locked or after 4 minutes. I get this same prompt-on-every-use behavior whether 1Password is open and unlocked or not. Works as expected for my browser extension, though.

I found a post from about a year ago that someone resolved a similar behavior by re-installing 1Password. I may try that, but would rather hear from a dev to troubleshoot the issue in its current state so a proper fix could be made so this doesn't keep happening after winrot or whatever is causing this happens again to anyone.

No RepliesBe the first to reply