Radish alpha
h
rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5
Radicle Heartwood Protocol & Stack
Radicle
Git
cli: radicle key is not registered
Closed { reason: Solved } did:key:z6MknFan...onfW opened 2 years ago

Hello! First time trying radicle. I added one of my repositories with rad init and it correctly synced with the radicle garden server the first time. However while following the guide I changed the README and some other stuff, commited and tried to push using git push rad master.

This gave the following error

error: radicle key `...` is not registered; run `rad auth` to register it with ssh-agent

I had already executed rad auth, but I tried again

$ rad auth
✓ Passphrase: ********
✓ Radicle key added to ssh-agent

However the error persists, and it seems the ssh-agent has no identities

$ ssh-add -l
The agent has no identities

Any idea of what may be happening? I could see no repo specific for the CLI and I saw some CLI related issues in this repo so I went ahead and opened the issue here. Sorry if it’s the wrong place!

$ rad --version
rad 1.0.0-rc.1 (081af033)

Thanks,

Marce

rudolfs commented 2 years ago

It might be that ssh-agent hasn’t been set up properly. On my machine (macOS + zsh) I had to add this to my ~./ssh/config and restart the shell for the agent to work.

Host *
  UseKeychain yes
  AddKeysToAgent yes
z6MknFan...onfW commented 2 years ago

It seems for some reason the ssh-agent was not accepting connections, I’ve restarted the agent and now it seems to work fine.

Sorry it was user error :P But it would be nice to check if it actually succeeded and give some feedback because from my POV everything worked!

Sorry for the trouble :)

z6MkgFq6...nBGz commented 7 months ago

Closing now as it seems to be resolved. Please feel free to re-open though.