Re: [Dorset] Chromium no Longer Stores Passwords on Kubuntu

2021-06-05 Thread Terry Coles
On Saturday, 5 June 2021 10:40:22 BST Terry Coles wrote:

It's not been my day for performing error free tasks ;-(  Apart from an 
unrelated cock-up earlier today, I now realise that bitwarden does work well 
for Google-like logins.  See below.

> There's two bits of bad news; first bitwarden has to be explicitly unlocked
> each time the browser is used.  I can live with that, but that wasn't

It is possible to change the Vault Timeout in Settings.  By default it is set 
to 'On browser restart', but it can also be set to 'Never'.  Needless to say 
there are dire warnings about this.

> The second issue is that it doesn't work when logging in to Google itself.

It does.  There was a typo in my password entry which I didn't realise until I 
toggled the visibility icon.

Doh!
 
-- 



Terry Coles



-- 
  Next meeting: Online, Jitsi, Tuesday, 2021-07-06 20:00
  Check to whom you are replying
  Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk
  New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk


Re: [Dorset] Chromium no Longer Stores Passwords on Kubuntu

2021-06-05 Thread Keith Edmunds
On Sat, 05 Jun 2021 12:28:36 +0100, d-...@hadrian-way.co.uk said:

> Are you using it as an extension or as a full installation into Linux?

Both.
-- 
Great music, chat and even some wit.
Join me every Friday evening at 8pm for
Keith's Music Box:
https://www.mixcloud.com/live/KeithsMusicBox/

-- 
  Next meeting: Online, Jitsi, Tuesday, 2021-07-06 20:00
  Check to whom you are replying
  Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk
  New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk


Re: [Dorset] Chromium no Longer Stores Passwords on Kubuntu

2021-06-05 Thread Terry Coles
On Saturday, 5 June 2021 11:38:37 BST Keith Edmunds wrote:
> Each time the browser is restarted, not each time it's used.

Sorry.  That's what I meant.

> I've had it work successfully on that kind of login, but next time I'll
> pay more attention to how it works.

Are you using it as an extension or as a full installation into Linux?

-- 



Terry Coles



-- 
  Next meeting: Online, Jitsi, Tuesday, 2021-07-06 20:00
  Check to whom you are replying
  Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk
  New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk


Re: [Dorset] Chromium no Longer Stores Passwords on Kubuntu

2021-06-05 Thread Keith Edmunds
On Sat, 05 Jun 2021 10:40:22 +0100, d-...@hadrian-way.co.uk said:

> first bitwarden has to be explicitly unlocked each time the browser is used.

Each time the browser is restarted, not each time it's used.

> The second issue is that it doesn't work when logging in to Google
> itself. Unlike most sites, the login process for Google is two part;
> enter the email address, click Next and then enter the password.  I
> think the problem is that bitwarden knows nothing about the two step
> process and so offers the email address at the password step.

I've had it work successfully on that kind of login, but next time I'll
pay more attention to how it works.
-- 
Great music, chat and even some wit.
Join me every Friday evening at 8pm for
Keith's Music Box:
https://www.mixcloud.com/live/KeithsMusicBox/

-- 
  Next meeting: Online, Jitsi, Tuesday, 2021-07-06 20:00
  Check to whom you are replying
  Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk
  New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk


Re: [Dorset] Chromium no Longer Stores Passwords on Kubuntu

2021-06-05 Thread Keith Edmunds
On Sat, 5 Jun 2021 10:19:56 +0100, petermerch...@hotmail.com said:

> to see if it works across multiple devices

It does. I'm using it on two Linux systems, my MacBook and my Android
phone.
-- 
Great music, chat and even some wit.
Join me every Friday evening at 8pm for
Keith's Music Box:
https://www.mixcloud.com/live/KeithsMusicBox/

-- 
  Next meeting: Online, Jitsi, Tuesday, 2021-07-06 20:00
  Check to whom you are replying
  Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk
  New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk


Re: [Dorset] Chromium no Longer Stores Passwords on Kubuntu

2021-06-05 Thread Terry Coles
On Saturday, 5 June 2021 09:13:42 BST Terry Coles wrote:
> Thanks Keith.  I'll look into that.

Some good news and some bad news.

The good news is that it appears to work well for most sites.

There's two bits of bad news; first bitwarden has to be explicitly unlocked 
each time the browser is used.  I can live with that, but that wasn't 
necessary previously because Chrome remembered my Google credentials and 
automatically logged me in, thus giving me access to its internal password 
manager.

The second issue is that it doesn't work when logging in to Google itself.  
Unlike most sites, the login process for Google is two part; enter the email 
address, click Next and then enter the password.  I think the problem is that 
bitwarden knows nothing about the two step process and so offers the email 
address at the password step.

This is using the version of bitwarden that takes the form of a Chrome 
extension.  I don't know if the OS based installation will be any better.  I 
may try that sometime.

-- 



Terry Coles



-- 
  Next meeting: Online, Jitsi, Tuesday, 2021-07-06 20:00
  Check to whom you are replying
  Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk
  New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk


Re: [Dorset] Chromium no Longer Stores Passwords on Kubuntu

2021-06-05 Thread PeterMerchant

On 05/06/2021 09:13, Terry Coles wrote:

On Saturday, 5 June 2021 08:41:42 BST Keith Edmunds wrote:

Or use something like Bitwarden. Open Source, runs on Linux, Windows, Mac,
Android, IoS. Automatically syncs. Can be self-hosted if you're
paranoid, but you don't need to. And your passwords belong to you, not
Google or Mozilla. https://bitwarden.com/

Thanks Keith.  I'll look into that.


I like that idea too. I'll have to look into it to see if it works across 
multiple devices.

Peter


--
 Next meeting: Online, Jitsi, Tuesday, 2021-07-06 20:00
 Check to whom you are replying
 Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk
 New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk


Re: [Dorset] Chromium no Longer Stores Passwords on Kubuntu

2021-06-05 Thread Terry Coles
On Saturday, 5 June 2021 08:41:42 BST Keith Edmunds wrote:
> Or use something like Bitwarden. Open Source, runs on Linux, Windows, Mac,
> Android, IoS. Automatically syncs. Can be self-hosted if you're
> paranoid, but you don't need to. And your passwords belong to you, not
> Google or Mozilla. https://bitwarden.com/

Thanks Keith.  I'll look into that.

-- 



Terry Coles



-- 
  Next meeting: Online, Jitsi, Tuesday, 2021-07-06 20:00
  Check to whom you are replying
  Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk
  New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk


Re: [Dorset] Chromium no Longer Stores Passwords on Kubuntu

2021-06-05 Thread Keith Edmunds
On Fri, 04 Jun 2021 12:22:42 +0100, d-...@hadrian-way.co.uk said:

> I'm left with two choices; post a bug on Launchpad or abandon Chromium.

Or use something like Bitwarden. Open Source, runs on Linux, Windows, Mac,
Android, IoS. Automatically syncs. Can be self-hosted if you're
paranoid, but you don't need to. And your passwords belong to you, not
Google or Mozilla. https://bitwarden.com/
-- 
Great music, chat and even some wit.
Join me every Friday evening at 8pm for
Keith's Music Box:
https://www.mixcloud.com/live/KeithsMusicBox/

-- 
  Next meeting: Online, Jitsi, Tuesday, 2021-07-06 20:00
  Check to whom you are replying
  Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk
  New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk


Re: [Dorset] Chromium no Longer Stores Passwords on Kubuntu

2021-06-04 Thread Terry Coles
On Friday, 4 June 2021 13:28:36 BST Patrick Wigmore wrote:
> I've just tried to reproduce the bug using the Chromium snap package,
> version 91.0.4472.77.
> 
> I was able to save a new username/password, close the browser, open
> the browser, then access the username/password.
> 
> In other words, I could not reproduce the issue.
> 
> My profile directory was
> 
> ~/snap/chromium/common/chromium/Profile 4
> 
> (But usually it would be Default instead of Profile 4.)

As previously mentioned, I don't have that directory:

terry@OptiPlex:~/snap/chromium$ ls -la  
total 24
drwxr-xr-x 6 terry terry 4096 May 27 06:27 .
drwxr-xr-x 6 terry terry 4096 May 22 10:47 ..
drwxr-xr-x 5 terry terry 4096 May 12 06:41 1589
drwxr-xr-x 5 terry terry 4096 May 27 06:27 1608
drwxr-xr-x 5 terry terry 4096 Nov 22  2019 949
drwxr-xr-x 4 terry terry 4096 Jul  1  2020 common
lrwxrwxrwx 1 terry terry4 May 27 06:27 current -> 1608

I've drilled down into both common and current and there is nothing with 
Profile in the filename.

-- 



Terry Coles



-- 
  Next meeting: Online, Jitsi, Tuesday, 2021-07-06 20:00
  Check to whom you are replying
  Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk
  New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk


Re: [Dorset] Chromium no Longer Stores Passwords on Kubuntu

2021-06-04 Thread Patrick Wigmore
I've just tried to reproduce the bug using the Chromium snap package, 
version 91.0.4472.77.

I was able to save a new username/password, close the browser, open 
the browser, then access the username/password.

In other words, I could not reproduce the issue.

My profile directory was

~/snap/chromium/common/chromium/Profile 4

(But usually it would be Default instead of Profile 4.)


Patrick

-- 
  Next meeting: Online, Jitsi, Tuesday, 2021-07-06 20:00
  Check to whom you are replying
  Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk
  New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk


Re: [Dorset] Chromium no Longer Stores Passwords on Kubuntu

2021-06-04 Thread Patrick Wigmore
On Fri, 04 Jun 2021 12:22:42 +0100, Terry Coles wrote:
> I was unable to find that directory or the one mentioned by the Mac
> user that  you referred to.

If you go to chrome://version/ in Chromium, then it should tell you
your current Profile Path; the directory where you would find the
Login Data file.

(Source: 
https://chromium.googlesource.com/chromium/src/+/refs/heads/main/docs/user_data_dir.md#Current-Location
 )

Apparently the default Profile location for the snap version is

~/snap/chromium/common/chromium/Default/

(Source: https://superuser.com/a/1325741 )

> Unless someone else has the same problem, I'm left with two choices;
> post a bug on Launchpad or abandon Chromium.

I would call it a bug, even if there does turn out to be a workaround.

This might be the same bug:
https://bugs.chromium.org/p/chromium/issues/detail?id=1177314


Patrick

-- 
  Next meeting: Online, Jitsi, Tuesday, 2021-07-06 20:00
  Check to whom you are replying
  Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk
  New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk


Re: [Dorset] Chromium no Longer Stores Passwords on Kubuntu

2021-06-04 Thread Terry Coles
On Friday, 4 June 2021 11:57:12 BST Patrick Wigmore wrote:
> I don't really use Chromium, but I just tested saving a password and,
> sure enough, it did not appear in KWalletManager, but it did appear in
> Chromium's Settings and persists after restarting the browser. This is
> in Chromium 90.0.4430.72.

I am using Chromium 91.0.4472.77 and it a snap installation.

> In my case, I found the plain-text URL and username for the saved
> login stored in:
> 
> ~/.config/chromium/Profile 4/Login Data

I was unable to find that directory or the one mentioned by the Mac user that 
you referred to.

> On recent Ubuntus, I think Chromium is a 'Snap', so that might mean
> the profile is stored somewhere else on those.

Unless someone else has the same problem, I'm left with two choices; post a 
bug on Launchpad or abandon Chromium.

I have no objection to posting the bug, but since Kubuntu 21.04 has been 
released nearly six weeks and no-one else seems to be having the problem, I 
suspect the problem is something to do with my installation.  If I'm the only 
person on the planet with this problem, then I doubt my bug report will get 
much attention (that has been my experience in the past).

I may well have to return to Firefox as my default browser (it still remembers 
passwords stored earlier).

-- 



Terry Coles



-- 
  Next meeting: Online, Jitsi, Tuesday, 2021-07-06 20:00
  Check to whom you are replying
  Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk
  New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk


Re: [Dorset] Chromium no Longer Stores Passwords on Kubuntu

2021-06-04 Thread Patrick Wigmore
On Fri, 04 Jun 2021 09:38:03 +0100, Terry Coles wrote:
> Anyone else noticed this?  I upgraded to Kubuntu 21.04 a few days
> ago and now Chromium doesn't store passwords.  The offer is made,
> and clcking OK is accepted, but opening 'Settings - Passwords'
> shows that no passwords have been stored.

> Anyone got any ideas?

It looks like Chromium stores passwords in its own configuration 
directory, encrypted using a key that's stored in a supported OS-
specific keyring/wallet, such as KWallet. It does not appear to store 
the passwords directly in KWallet any more.

I'm pretty sure Chromium used to store passwords directly in KWallet. 
I don't know when that changed, but it could easily have been years 
ago for all I know. I guess they decided not to delete the passwords 
that were already stored there.

I don't really use Chromium, but I just tested saving a password and, 
sure enough, it did not appear in KWalletManager, but it did appear in 
Chromium's Settings and persists after restarting the browser. This is 
in Chromium 90.0.4430.72.

In my case, I found the plain-text URL and username for the saved 
login stored in:

~/.config/chromium/Profile 4/Login Data

Which is a SQLite database.* I'm not sure why I'm on "Profile 4". (I 
think the default is "Default".)

On recent Ubuntus, I think Chromium is a 'Snap', so that might mean 
the profile is stored somewhere else on those.

The password field in the Login Data database contains encrypted data, 
which presumably gets decrypted using the key Chromium has stored in 
my KWallet under "Chromium Keys", though I haven't bothered to test 
this.

I'm not sure if any of that is at all useful to know, or whether it 
helps with trying to unpick what the problem might be. But it does 
mean that your Chromium profile in ~/.config/chromium goes hand-in-
hand with a key from your KWallet, and vice-versa.

It looks like someone had almost the same problem as you, but in 
Chrome on Mac OS rather than Chromium on Linux, and solved it by 
removing the Login Data file from their Chrome profile:
http://plasmasturm.org/log/chromepwstore/


* You can read SQLite database files using the GUI program 
sqlitebrowser. (Which is a tool that always makes me feel a little bit 
nervous, because if you accidentally edit the data, the changes will 
immediately be written straight to disk with no opportunity to "undo" 
and no way to "close without saving"!)



Patrick

-- 
  Next meeting: Online, Jitsi, Tuesday, 2021-07-06 20:00
  Check to whom you are replying
  Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk
  New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk


Re: [Dorset] Chromium no Longer Stores Passwords on Kubuntu

2021-06-04 Thread Terry Coles
On Friday, 4 June 2021 10:10:13 BST John Carlyle-Clarke wrote:
> Is it potentially related to this?
> 
> https://www.omgubuntu.co.uk/2021/01/chromium-sync-google-api-removed
> 
> It's not clear to me whether this would break local password storage or not.
> On Fri, 4 Jun 2021, 09:38 Terry Coles,  wrote:

I saw that when the story broke, but assume that it is irrelevant in this 
case.  The last para says:

'If you use Chromium for Linux it’s important to know that your sync data will 
not be deleted but will only be available locally.'

Also, that change happened in March and password storage has been OK (ish, see 
below), until this upgrade.

Having said that, I had noticed that I have been unable to save some new 
passwords for some time, but old ones still worked, so maybe it is related and 
the upgrade has deleted all the previously stored passwords.

-- 



Terry Coles



-- 
  Next meeting: Online, Jitsi, Tuesday, 2021-07-06 20:00
  Check to whom you are replying
  Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk
  New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk


Re: [Dorset] Chromium no Longer Stores Passwords on Kubuntu

2021-06-04 Thread John Carlyle-Clarke
Is it potentially related to this?

https://www.omgubuntu.co.uk/2021/01/chromium-sync-google-api-removed

It's not clear to me whether this would break local password storage or not.



On Fri, 4 Jun 2021, 09:38 Terry Coles,  wrote:

> Hi,
>
> Anyone else noticed this?  I upgraded to Kubuntu 21.04 a few days ago and
> now
> Chromium doesn't store passwords.  The offer is made, and clcking OK is
> accepted, but opening 'Settings - Passwords' shows that no passwords have
> been
> stored.
>
> If like most of the denizens of the Internet, I used one set of
> credentials
> for every site on the planet, this would be less of a pain, but I don't.
> I
> have a different username and (very long) password for each site.  KWallet
> isn't integrated with Chromium, so it's a pain to have to manually copy
> the
> credentials from the wallet to the site every time I go there.
>
> I've checked on Launchpad and couldn't see anything relevant.
>
> Anyone got any ideas?
>
> --
>
>
>
> Terry Coles
>
>
>
> --
>   Next meeting: Online, Jitsi, Tuesday, 2021-07-06 20:00
>   Check to whom you are replying
>   Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk
>   New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk
>
-- 
  Next meeting: Online, Jitsi, Tuesday, 2021-07-06 20:00
  Check to whom you are replying
  Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk
  New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk


[Dorset] Chromium no Longer Stores Passwords on Kubuntu

2021-06-04 Thread Terry Coles
Hi,

Anyone else noticed this?  I upgraded to Kubuntu 21.04 a few days ago and now 
Chromium doesn't store passwords.  The offer is made, and clcking OK is 
accepted, but opening 'Settings - Passwords' shows that no passwords have been 
stored.

If like most of the denizens of the Internet, I used one set of credentials 
for every site on the planet, this would be less of a pain, but I don't.  I 
have a different username and (very long) password for each site.  KWallet 
isn't integrated with Chromium, so it's a pain to have to manually copy the 
credentials from the wallet to the site every time I go there.

I've checked on Launchpad and couldn't see anything relevant.

Anyone got any ideas?

-- 



Terry Coles



-- 
  Next meeting: Online, Jitsi, Tuesday, 2021-07-06 20:00
  Check to whom you are replying
  Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk
  New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk