prithv1 / pygooglevoice

Automatically exported from code.google.com/p/pygooglevoice
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

2 step verification breaks it #54

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. sign up for 2 step verification on your google account
2. try to login 
3.

What is the expected output? What do you see instead?

i expect it to login, now it raises a googlevoice.util.LoginError

What version of the product are you using? On what operating system?

.5 on w7

Please provide any additional information below.

would there be some way to get this to work with an application specific 
password?

Original issue reported on code.google.com by Jonathan...@gmail.com on 17 Feb 2011 at 5:11

GoogleCodeExporter commented 9 years ago
papersnowman@gmail.com

I have the same issue, signed up for 2 step verification.

deleted whatever version I had originally, redownloaded and installed .5 on my 
Debian box and it still failed.

(repeatedly tried my acct password, as well as the application password I had 
created for it)

Original comment by papersno...@gmail.com on 1 Mar 2011 at 10:47

GoogleCodeExporter commented 9 years ago
Same problem as well

Original comment by drewhill80 on 2 Mar 2011 at 12:42

GoogleCodeExporter commented 9 years ago
pygooglevoice operates over the web interface so you cannot use the application 
passwords that Google generates for you. This project will have to add support 
for 2-step auth.

I've been able to use oath-toolkit to generate verification codes, so this may 
be an option for pygooglevoice as well. It could list oath-toolkit as a 
dependency or implement the time-based one time password (TOTP) standards.

Some additional notes:
Google only provides the TOTP key when you select iPhone, Android, or 
Blackberry for your authentication channel.
The key is provided as a 16 character string in base 32. oath-toolkit needs the 
key as hex. This can be translated with the help of code that Google provides 
on their Google Authenticator page.

Original comment by fra...@gmail.com on 4 Mar 2011 at 2:45

GoogleCodeExporter commented 9 years ago
The first time I tried to log in with the gvoice command, login failed, but 
almost immediately my phone received the verification text message. Of course, 
there was nowhere to enter the 6-digit code. Also, the application-specific 
passwords didn't work either.

Original comment by nelson.b...@gmail.com on 11 Mar 2011 at 5:06

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I've forked this project and incorporated changes to support 2-step 
authentication.

http://code.google.com/r/fracai-pygooglevoice/

Note, that executing 2-step authentication by storing the SMS Key in your user 
configuration will require oathtool from oath-toolkit ( 
http://oath-toolkit.nongnu.org/ ).

Original comment by fra...@gmail.com on 7 Apr 2011 at 2:30

GoogleCodeExporter commented 9 years ago
this is lovely fracai... but how in gods name do you build oath-toolkit for 
centos....  ive been messing with it for 4 hours and i cant figure it out

Original comment by Russell....@gmail.com on 27 Jun 2011 at 11:04

GoogleCodeExporter commented 9 years ago
Tried to get at the force mentioned in comment 6, but I get a 403 error 
clicking on that link.  I am having the same problem as others:  I have 
two-step authentication, and the application password doesn't work.

Original comment by rpgold...@gmail.com on 19 Feb 2012 at 10:51

GoogleCodeExporter commented 9 years ago
Sorry, I had to refork. The correct link is now: 
http://code.google.com/r/fracai-pygooglevoice2/

Note that I haven't touched this in a while, so it may need some additional 
work. I hope to get back to it "soon".

Original comment by fra...@gmail.com on 20 Feb 2012 at 1:45

GoogleCodeExporter commented 9 years ago
I found it stopped working again. I fixed it and created a fork here: 
https://code.google.com/r/phoenix84-pygooglevoice/

I haven't fully tested everything, it works for what I need (VM notification in 
Asterisk). I also don't know any Python, so I can't guarantee I can keep up on 
it.

Original comment by phoeni...@gmail.com on 9 Oct 2012 at 8:28