Getting started with 1Password for your growing team, or refining your setup? Our Secured Success quickstart guide is for you.
Forum Discussion
hammadmajid
3 years agoNew Contributor
Signing Git commit fails with "error: agent returned an error"
I followed this https://developer.1password.com/docs/ssh/git-commit-signing step by step on how to sign Git commits with SSH.
When I commit, 1Password shows a pop-up for approval as expected but a...
Former Member
3 years agoSearching for that error brought me to the following suggestion. Twiddling this part of the 1Password preferences fixed it for me.
Could you open the 1Password app and navigate to Settings -> Developer -> SSH Agent -> Security and change the "Ask approval for each new..." setting to some other value and then change it back to the setting you prefer?
This should fix your issue. We're currently working on a fix that should prevent this from happening in the future.
See this thread: https://1password.community/discussion/139580/why-are-my-ssh-attempts-failing