shotwell doesn't work with google's 2-step verification

Bug #802466 reported by Sander Jonkers on 2011-06-27
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Shotwell
New
Unknown
shotwell (Ubuntu)
Low
Unassigned

Bug Description

Since I activated "2-step verification" on my Google / Gmail account, shotwell can't upload pictures to picasa anymore. That's a pity. But on top of that, Shotwell's error message isn't very useful:

Unrecognized User
Picasa Web Albums didn't recognize the email address and password you entered. To try again, re-enter your email address and password below.

Ideally Shotwell should be able to handle Google's 2-step verification.
If not, shotwel should recognize and tell it can't connect to picasa because of the 2-step verification.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: shotwell 0.9.3-0ubuntu0.1
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
Architecture: amd64
Date: Mon Jun 27 12:40:45 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Beta amd64 (20110413)
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: shotwell
UpgradeStatus: No upgrade log present (probably fresh install)

Sander Jonkers (jonkers) wrote :
Sander Jonkers (jonkers) wrote :

Ah, found the solution / workaround:

http://www.google.com/support/accounts/bin/static.py?page=guide.cs&guide=1056283&topic=1056286

So, generate an application specific password for Shotwell's access to Picasa here:

https://www.google.com/accounts/IssuedAuthSubTokens

It will give you a 16 letter password. I used this in Shotwell, and it works. :-)

IMHO Shotwell should mention in it's error message that you need to do the above if the user enabled 2-step verification. And hopefully that info is in Picasa's error message?

Changed in shotwell (Ubuntu):
importance: Undecided → Low
Lucas Beeler (lucas-yorba) wrote :

We're aware of this problem. Indeed, it's part of a larger feature upgrade that we hope to implement in Shotwell within the next few releases. Specifically, we hope to switch to using OAuth / OpenID for all Google services. This change should correct your specific issue as well as correct a constellation of other, minor login issues people have been having with Google services in Shotwell. The corresponding upstream feature request is here: http://trac.yorba.org/ticket/3445

Lucas

Changed in shotwell:
status: Unknown → New
Omer Akram (om26er) on 2011-06-28
Changed in shotwell (Ubuntu):
status: New → Triaged
Sander Jonkers (jonkers) wrote :

I'm not 100% sure, but it looks like shotwell does not remember the (16-letter) password, and so I have to go to https://www.google.com/accounts/IssuedAuthSubTokens again to get a new password each time I use Shotwell to upload pictures to Picasa.

Am I right about this?

Lucas Beeler (lucas-yorba) wrote :

> I'm not 100% sure, but it looks like shotwell does not remember the (16-letter) password

Right now the only workaround I'd recommend is just to turn two-step verification off. At least until we rework the Google service login code in Shotwell, making Shotwell work with two-step verification will (unfortunately) remain problematic and hacky.

Lucas

David Ireland (davidji) wrote :

Adding a save password feature for use with application passwords is not 'hacky'. compromising on the security of my Google accounts by disabling two factor authentication is not advice I'm going to take. All the big account providers are offering two factor authentication, so this suggestion borders on absurd.

It's now been nearly two years since the this was reported and the proposed solution is '50%' finished. The proposed solution will offer little additional benefit over saving the password as far as I am concerned.

Lucas Beeler (lucas-yorba) wrote :

Hi David,

> It's now been nearly two years since the this was reported and the
> proposed solution is '50%' finished.

By 50% finished, do you mean that the Picasa Connector uses OAuth but the YouTube Connector, as yet, does not? About this, I can only say that we're working on it. Keep in mind that we at Yorba (the upstream developers of Shotwell) have very limited resources. On the upside, the YouTube OAuth migration may be something that gets done within the next few weeks. We've prioritized the development of this feature because we're not sure how long the legacy ClientLogin API we've been using will still function.

Lucas

David Ireland (davidji) wrote :

I mean, there's a link to a ticket above, and that ticket says it's 50% finished. Actually it now says it's 50% finished, as well as saying it's fixed. The good news is if you download the current release from Yorba, it installs easily, and two factor auth does work for Picasaweb. That is what I wanted, so thanks for the clarification.

Jim Nelson (yorba-jim) wrote :

Yes, the fix was committed today.

Changed in shotwell (Ubuntu):
status: Triaged → Fix Committed
Changed in shotwell (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.