bug: Fugit2 does not sign commits using ssh keys
Did you check docs and existing issues?
- [x] I have read all the plugin docs
- [x] I have searched the existing issues
- [x] I have searched the existing issues of plugins related to this issue
Neovim version (nvim -v)
NVIM v0.11.1
Operating system/version
nixOS(unstable)
Describe the bug
Fugit2 seems to be unable to sign commits using an ssh key with the bitwarden ssh agent
Steps To Reproduce
- install bitwarden and enable the ssh agent
- SSH_AUTH_SOCK=/path/to/bitwarden/ssh.sock
- Create ssh key in bitwarden
- Configure github to use that ssh key for signing commits
- copy pubkey into the .ssh dir
- try to make a commit using fugit2
Expected Behavior
The expected behavior would be for fugit2 to try to use that ssh key and get a prompt in bitwarden to allow that usage of the ssh key, like it does whenever you try to push/pull to/from a repo
more info that might be useful
- system: `"x86_64-linux"`
- host os: `Linux 6.14.5, NixOS, 25.05 (Warbler), 25.05.20250505.3730d8a`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.28.3`
- channels(root): `"home-manager, nixos, nixpkgs"`
- nixpkgs: `/nix/store/9rc9abg9f664bjfhzfp4cb8mrwh7b5y4-source`
bw version: 2025.3.1 Fugit2 version: 2025-02-04 (from nixpkgs)
Did you run ssh-add
yeah, I mean this works using lazygit, im not going to deny that the ssh agent of bitwarden needs some work but with lazygit it works
I will test bitwarden in the weekend, please wait for my update 👍
to add a bit more of info, it does use the bitwarden ssh agent to push and pull commits
@FKouhai sorry, I can't test it now, Bitwarden doesn' work correctly on my Mac.
https://community.bitwarden.com/t/ssh-agent-in-macos-not-working/82609.
Did you config
git config gpg.format ssh
git config --global user.signingkey "<YOUR_PUBLIC_KEY>"
Can you how me output of
-
ssh-add -L -
ssh-agent