Protect what matters – even after you're gone. Make a plan for your digital legacy today.
Forum Discussion
Former Member
4 years agosign_and_send_pubkey: signing failed for ED25519 "MyKey" from agent: agent refused operation
I created an ED25519 key to connect with GitHub. It worked once, but every time since I get the following error message:
```
sign_and_send_pubkey: signing failed for ED25519 "MyKey" from agent: agent refused operation
mailto:git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
```
I've rebooted my machine and also deleted/recreated keys, but nothing's worked yet.
1Password Version: 8.8.0
Extension Version: 2.3.7
OS Version: macOs 12.5
Browser:_ Brave
Referrer: forum-search:https://1password.community/search?Search=%22signing%20failed%20for%22%20%22agent%20refused%20operation%22
29 Replies
- Former Member
Hello! I think I just ran into this issue as well. When I use my laptop in clamshell mode, I often get an error like
sign_and_send_pubkey: signing failed for ED25519 "REDACTED" from agent: agent refused operation. If I launch my terminal prior to clamshell mode and authenticate with my fingerprint, this error doesn't occur when I re-enter clamshell mode and any ssh key operations (such asgit push origin HEAD) work without issue. Though this work around is effective, it took me a while to figure out, so I imagine other users are running into it. Is there some way I can help debug this issue to fix it? - Jack_P_1P
1Password Team
Hi @jtesmeriqnox:
If you run into trouble using the SSH agent when in clamshell mode again, we'd be happy to take a closer look.
Jack
- Former Member
I received several
agent refused operationmessages until i opened my cover and saw the fingerprint prompt, authed with the fingerprint. I was then able to connect. I'm using Ventura 13.0.1 on M1 Pro with 1Password 8.9.8. - Jack_P_1P
1Password Team
Hi @garrettmoon and @kimbjorkman:
Taking a closer look at 1Password on your Mac would likely be the next best step. I'd like to ask you to create a diagnostics report from your Mac:
Sending Diagnostics Reports (Mac)
Attach the diagnostics to an email message addressed to
support+forum@1password.com.With your email please include:
- A link to this thread: https://1password.community/discussion/132089/sign-and-send-pubkey-signing-failed-for-ed25519-mykey-from-agent-agent-refused-operation#latest
- Your forum username:
garrettmoon/kimbjorkman
You should receive an automated reply from our BitBot assistant with a Support ID number. Please post that number here. Thanks very much!
- Former Member
I ran into something similar. I saw the same error message
agent refused operation.Context:
1Password for Mac 8.9.8 (80908009)
I'm normally using an apple watch to unlock, and my laptop is closed.To fix it I first tried to disconnect my watch which didn't work. I then opened my laptop and rebooted 1password, this seemed to fix it as I got a prompt to authenticate using my fingerprint. I still haven't tried adding my watch again, but this is indeed a problem.
- Former Member
Still hitting this issue on the newest version – I'd really prefer to not have my watch unlock 1password.
- Former Member
I also hit this issue – no errors, nothing worked with SSH until I enabled apple watch in 1password.
- boldbook0372New Contributor
I had the same problem after turning on Apple Watch unlock on my Mac, just needed to turn it on in 1password too
- Former Member
Thanks for sharing your findings @ScottBassin. We'll further investigate this issue.
- Former Member
Huh. I turned on the Apple Watch unlock, and this time I was presented with the opportunity to enter my password, which worked.