gmail: work with "app passwords"
Open, NormalPublic

Description

If 2-factor-authentication is turned on, it's supposed to be possible to make an app-specific password for imap and such: https://support.google.com/accounts/answer/185833?hl=en Kube doesn't seem to work with it though.

rutledge created this task.May 16 2018, 7:38 AM

It needs to remember the password, I guess, because it's a generated password, and there doesn't seem to be a way to get it again later, only to generate a new one.

Right now we simply support regular passwords. Fastmail contains a similar mechanism and at least there I tested it that it works, no idea about google.
There is no keyring integration atm. so you will indeed have to remember the password and enter it every time.

cmollekopf moved this task from New to Triaged on the Kube: Bugs board.Jul 2 2018, 11:23 AM

Kube will remember passwords for as long as it runs. There is currently no keyring integration to save passwords for longer. It looks like the recommended way by google would be to simply regenerate a new password whenever you need one, kube won't care.

cmollekopf triaged this task as Normal priority.

I'm wondering if anyone successfully login to gmail account with application password.
I got those errors while login my account.

Warning: {cee8d0f3-3633-47bd-8bdf-c11736b27d7d}.org.kde.pim.kdav2 : "Error QNetworkReply::AuthenticationRequiredError \"Host requires authentication\""
Warning: {cee8d0f3-3633-47bd-8bdf-c11736b27d7d}.webdav : Job failed: "There was a problem with the request.\nHTTP error (204)." KDAV2::DavCollectionsFetchJob 300
Warning: {cee8d0f3-3633-47bd-8bdf-c11736b27d7d}.webdav : Response code: 204
Warning: {cee8d0f3-3633-47bd-8bdf-c11736b27d7d}.synchronizer : Synchronization failed: Error: 4 Msg: "There was a problem with the request.\nHTTP error (204)."
Warning: {cee8d0f3-3633-47bd-8bdf-c11736b27d7d}.synchronizer : Error during sync: Error: 4 Msg: "There was a problem with the request.\nHTTP error (204)."