-
-
Notifications
You must be signed in to change notification settings - Fork 404
Closed
Description
Hello,
I'm not sure if this is the right place to file the bug (maybe the bug's in libgit2), but this is where I encountered it, and I haven't tried to duplicate it in libgit2. When using SSH, ECDSA and ed25519 keys don't work. They fail with this error:
>>> remote.credentials = pygit2.Keypair('git', '/home/elizabeth/.ssh/id_ed25519.pub', '/home/elizabeth/.ssh/id_ed25519', None)
>>> remote.fetch()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib64/python3.4/site-packages/pygit2/remote.py", line 221, in fetch
check_error(err)
File "/usr/lib64/python3.4/site-packages/pygit2/errors.py", line 56, in check_error
raise GitError(message)
_pygit2.GitError: Failed to authenticate SSH session: Callback returned error
The traceback for ECDSA is similar.
Yes, I have added my ed25519 and ECDSA keys to github, so I know that's not the problem. RSA keys also work just fine.
Metadata
Metadata
Assignees
Labels
No labels