When I clone a repo from github by pygit2, it returns: 'OSError: Failed to send request: A security error occurred'
The code is simple,
import pygit2
username = 'MyGitHubUsername'
password = 'MyGitHubPassword'
cred = pygit2.UserPass(username, password)
repo = pygit2.clone_repository('https://github.com/libgit2/libgit2', 'C:/test', bare=False, credentials=cred)
But it doesn't work, is this right?