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 agoI'm seeing the same error message after following the guide. I'm on Mac.
I can reproduce the error by copying my ssh public key to a file, creating a file to sign and calling the command line. This pops up the dialog to unlock my key, but after using my fingerprint, the command returns the error message.
/Applications/1Password.app/Contents/MacOS/op-ssh-sign -U -Y sign -n git -f pub-key -- pay
agent returned an error