GitToolBox icon indicating copy to clipboard operation
GitToolBox copied to clipboard

[Feature] Support 1password ssh agent

Open juherr opened this issue 1 year ago • 0 comments

I'm using the 1password ssh agent This tool supports both JetBrains IDEs and git CLI: https://developer.1password.com/docs/ssh/agent/compatibility#jetbrains-ide https://developer.1password.com/docs/ssh/agent/compatibility#git-cli

But when the auto fetch is run in the background, it is always failing:

sign_and_send_pubkey: signing failed for ED25519 "/Users/juherr/.ssh/id_ed25519" from agent: communication with agent failed [email protected]: Permission denied (publickey). Could not read from remote repository.  Please make sure you have the correct access rights and the repository exists.

There is a specific section of documentation that explains how it works: https://developer.1password.com/docs/ssh/agent/security/#suppressing-background-requests

A possible solution could be to automatically disable auto fetch when the IDE is running in background.

juherr avatar Oct 14 '24 15:10 juherr