https://bugs.kde.org/show_bug.cgi?id=451836

--- Comment #3 from bugs....@nordcomputer.de <bugs....@nordcomputer.de> ---
(In reply to bart from comment #2)
> Thanks for reporting.  This is a bit puzzling though, as this works for me
> under all the scenarios that I'll list below.
> 
> Kasts will try to save passwords first to the current keyring through the
> "secret service".  In that case you should see a popup from the keyring when
> you have entered the password the first time (e.g. kde wallet, gnome keyring
> or keepassxc).  Did you see such a popup?
> 
> If not, kasts will try to fall back to saving the password to a local file. 
> This should be in `~/.var/app/org.kde.kasts/data/KDE/kasts`.  The filename
> should be equal to the username and should contain the password.  Is this
> indeed the case?
> 
> (You mentioned that it does work as root.  Running as root will change the
> config and data directory for the flatpak.  So that might indicate that
> there is an issue with the configuration under `./var` of your regular user
> account.)
> 
> If not, you could enable debug for the sync routine to try and find out
> what's going on.  You can do this by e.g. running the following from the
> command line:
> `QT_LOGGING_RULES=org.kde.kasts.sync=true flatpak run org.kde.kasts`.
> Then look for lines on the stdout that mention keychain and/or password
> files.

Hey there,

I knew about the config files in .var - so I tried to delete the configuration
(folder) and start over again. The folder and the configuration gets recreated
as expected. But the result is the same. 

I even tried to copy the folder from the root user to my actual user (and chown
folder and files), since I know, sync works on the root user. Unfortunately,
that did not work either. 

After your reply, I once again deleted the folder and started kasts with
logging enabled as you mentioned. 
The first time, I configure sync, this was the relevant part:

org.kde.kasts.sync: Save the password to the keychain for
"my_nextcloud_username"
org.kde.kasts.sync: Password saved to keychain
org.kde.kasts.sync: Finished device update request
 (It syncs a first time)

After closing casts and reopening it, the password field is empty again and
stdout says:

org.kde.kasts.sync: Save the password to the keychain for
"my_nextcloud_username"

But sync keeps being disabled. Also, I got no prompt for the keychain (never
happened in Kasts). 
Also, there is no file in '~/.var/app/org.kde.kasts/data/KDE/kasts' containing
the password.

Is it correct, that "my_nextcloud_username" is used in the keyring and not my
linux username?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to