This repository was archived by the owner on Apr 25, 2024. It is now read-only.
forked from vitalyrodnenko/geeknote
-
Notifications
You must be signed in to change notification settings - Fork 48
This repository was archived by the owner on Apr 25, 2024. It is now read-only.
2-factor login broke #75
Copy link
Copy link
Open
Labels
Description
Hi,
It's been a while since I actually logged in with 2FA, but it used to work. I am guessing there was a change on Evernote's side? Here is what I have now with the latest pull.
$ geeknote login
Login: xxxxxxx
Password:
Two-Factor Authentication Code: 658323
>>> : Allow Access...Traceback (most recent call last):
File "/home/fblaise/.local/lib/python2.7/site-packages/geeknote/geeknote.py", line 1389, in main
>> : Allow Access... User().login(**ARGS)
File "/home/fblaise/.local/lib/python2.7/site-packages/geeknote/geeknote.py", line 40, in wrapper
return func(*args, **kwargs)
File "/home/fblaise/.local/lib/python2.7/site-packages/geeknote/geeknote.py", line 582, in login
if self.getEvernote().auth():
File "/home/fblaise/.local/lib/python2.7/site-packages/geeknote/geeknote.py", line 201, in auth
self.authToken = GNA.getToken()
File "/home/fblaise/.local/lib/python2.7/site-packages/geeknote/oauth.py", line 179, in getToken
self.allowAccess()
File "/home/fblaise/.local/lib/python2.7/site-packages/geeknote/oauth.py", line 288, in allowAccess
token = "&" + urlencode({ 'csrfBusterToken': tree.xpath("//input[@name='csrfBusterToken']/@value")[0]}) + "&" + urlencode({ 'csrfBusterToken': tree.xpath("//input[@name='csrfBusterToken']/@value")[1]})
IndexError: list index out of range
Thanks,
Best.
fred
oddg, arumoy-shome, yantis, vonProteus, gwillen and 7 more