Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error "GitError: authentication required but no callback set" on remote.push() over SSH #435

Closed
mixanol opened this issue Oct 8, 2014 · 3 comments

Comments

@mixanol
Copy link

mixanol commented Oct 8, 2014

Hello!

I'm trying to push after successfull fetch and merge (+commit) to remote repository over SSH with assigned credentials callback like:
credentials(self, url, username_from_url, allowed_types):
return Keypair("git",id_rsa_pub,id_rsa,"password")
And I received "GitError: authentication required but no callback set" although fetch was success.
Remote was added by:
repo.create_remote('origin', '[email protected]_site_url:some_user/some_repo.git')

I'm using pygit2-0.21.3 with libgit2-0.21.1 compiled on Windows7 with SSH transport

@carlosmn
Copy link
Member

carlosmn commented Oct 8, 2014

See #431

@mixanol
Copy link
Author

mixanol commented Oct 8, 2014

OK. This helped me. Thank you

@mixanol mixanol closed this as completed Oct 8, 2014
@miltontony
Copy link

What's the work around for this since #431 is still open?
Also, although this is broken in 0.21.3, it works just fine in 0.21.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants