Skip to main content
May 22, 2023
Question

Git commit signing fails with `error: failed to fill whole buffer`

  • May 22, 2023
  • 27 replies
  • 2855 views

I've updated to Git 2.40.1 and it seems that broke commit signing. Prepending GIT_TRACE=2 to git commit gives as last message:

20:09:00.367459 run-command.c:655 trace: run_command: op-ssh-sign -Y sign -n git -f /tmp/.git_signing_key_tmpe1dbw6 -U /tmp/.git_signing_buffer_tmp0t7i5W

and after working on it for a bit, this gives:
```
error: failed to fill whole buffer

fatal: failed to write commit object
```


1Password Version: 8.10.6
Extension Version: 2.10.0
OS Version: NixOS 23.05.20230520.3005f20
Browser:_ Brave

27 replies

August 29, 2023

FWIW: I came across this Problem using the WebStorm git integration on Ubuntu. The solution for me: if the git operation doesn't go through immediately, check the 1Password tray icon for a red "notification" dot; if present: click it, there should be a "SSH request waiting..." menu entry. Click that and the 1Password dialog should pop up and after that the git operation went through for me.

In other words: For me it was a timeout problem caused by the fact that the 1Password SSH-key-unlock-dialog didn't pop up.

floris_1P
1Password Employee
1Password Employee
September 1, 2023

@robertodr @dbarjs @asportnoy @bmlewis1302 @ammut
We were finally able to reproduce the issue and fix it. The fix will be out in next week's beta release. If you already want it today, you can also find the fix on the nightly release channel.

Let me know if it solved it for you!

September 10, 2023

@floris_1P what's the version that will get released in? I get it consistently in VSCode, but not in my shell.

September 18, 2023

@floris_1P I can confirm that this issue is fixed for me in the latest beta release.

September 27, 2023

@floris_1P works for me now out of WebStorm, using the latest production release, thank you so much!

January 19, 2024

I'm still getting this same error when using vscode on mac using the remote plugin to access windows with 8.10.24

January 19, 2024

possibly related is that ssh-add -l fails over ssh to windows with
error fetching identities: communication with agent failed