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

No support for OTP #17

Open
ltworf opened this issue Jun 11, 2020 · 2 comments
Open

No support for OTP #17

ltworf opened this issue Jun 11, 2020 · 2 comments

Comments

@ltworf
Copy link

ltworf commented Jun 11, 2020

I tried using this but…

$ cligh configure
Username: aaaaa
Password:
Traceback (most recent call last):
  File "/usr/bin/cligh", line 45, in <module>
    main()
  File "/usr/bin/cligh", line 37, in main
    config.do_configcmd()
  File "/usr/lib/python3/dist-packages/cligh/config.py", line 78, in do_configcmd
    authorization = user.create_authorization(scopes=['user', 'repo', 'gist', 'delete_repo'], note='cligh',
  File "/usr/lib/python3/dist-packages/github/AuthenticatedUser.py", line 464, in create_authorization
    headers, data = self._requester.requestJsonAndCheck(
  File "/usr/lib/python3/dist-packages/github/Requester.py", line 275, in requestJsonAndCheck
    return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url)))
  File "/usr/lib/python3/dist-packages/github/Requester.py", line 286, in __check
    raise self.__createException(status, responseHeaders, output)
github.GithubException.GithubException: 401 {'message': 'Must specify two-factor authentication OTP code.', 'documentation_url': 'https://developer.github.com/v3/auth#working-with-two-factor-authentication'}

This is because I have 2 factor authentication enabled on my account.

@eamanu
Copy link
Contributor

eamanu commented Jun 11, 2020

This projects seems to be in the end of the life. #16
@CMB Could you confirm it, please?

@CMB
Copy link
Owner

CMB commented Oct 2, 2020

Sorry I didn't notice this until now. Yes cligh is end of life. There
are more client options nowadays, and personally I'm more interested in
self-hostable repository setups and wanting to move off of github as much as
I can.

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