10000 Error "GitError: authentication required but no callback set" on remote.push() over SSH · Issue #435 · libgit2/pygit2 · GitHub
[go: up one dir, main page]

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

Description

@mixanol

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', 'git@git.gitlab_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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0