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

Error when Git signing: Couldn't sign message (signer): communication with agent failed? #577

Open
danielcompton opened this issue Dec 9, 2024 · 1 comment

Comments

@danielcompton
Copy link

danielcompton commented Dec 9, 2024

I've recently started using Secretive for signing Git commits with SSH and I occasionally get an error when signing like this:

$ git rebase master -i
error: Signing file /var/folders/d3/sd0zhwhj7pg3q596qc88hsnm0000gn/T//.git_signing_buffer_tmp3fOHCn
Couldn't sign message (signer): communication with agent failed?
Signing /var/folders/d3/sd0zhwhj7pg3q596qc88hsnm0000gn/T//.git_signing_buffer_tmp3fOHCn failed: communication with agent failed?

fatal: failed to write commit object
Could not apply 87dea7d545... WIP

I can reproduce it pretty reliably by rebasing a bunch of commits because Secretive is signing one after another. Retrying the commit works. Is there some more debugging info I can provide here?

I'm on a MacBook Pro M1 Max, macOS 15.1.1 (24B91).

@tommyknows
Copy link

I've started noticing the same thing, since upgrading to Sequoia. I'm not even sure if this is a Secretive issue, as I've seen other programs behave weirdly too... 🤔
Happy to provide some debug info as well.

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

No branches or pull requests

2 participants