Home - archdsp/devenv GitHub Wiki

GPG Setting

export ssh format key

gpg --export-ssh-key --armor <key-id>

specific public key export

gpg --export-ssh-key --armor <key-id>!

gpg-agent kill

gpgconf --kill gpg-agent

Troubleshooting

ssh-add -L shows The agent has no identities.

  1. Check newline character is ^M(\r\n) especially when using window.
  2. Check ssh support option is enabled and key is properly listed
gpg-connect-agent "keyinfo --ssh-list" /bye

ssh-add -L or ssh -T shows error fetching identities: agent refused operation

  1. Make ssh key via keygen.
  2. Use ssh-add to add the generated key.
  3. Enter the GPG Agent Pinentry
  4. Remove keygrip in sshcontrol file.
  5. Check ssh-add show The agent has no identities.
  6. Add keygrip and test.
⚠️ **GitHub.com Fallback** ⚠️