After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 776566 - Polari does not ask to unlock keyring, it just will not login accounts at all
Polari does not ask to unlock keyring, it just will not login accounts at all
Status: RESOLVED OBSOLETE
Product: polari
Classification: Applications
Component: general
3.22.x
Other Linux
: Normal major
: ---
Assigned To: Polari maintainers
Polari maintainers
Depends on:
Blocks:
 
 
Reported: 2016-12-29 05:15 UTC by ominous
Modified: 2017-10-28 17:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description ominous 2016-12-29 05:15:13 UTC
Polari seems to not ask to unlock the keyring in which passwords are stored like for example Evolution does.

This will result in no remember nickserv identifications to be performed which is a bother.

Right now I just open something else like Evolution to unlock it, and then I open Polari.
Comment 1 Graham Perrin 2017-01-15 08:23:05 UTC
Beyond Linux: 

* the port to FreeBSD, <http://www.freshports.org/irc/polari/>, 
  which I installed on TrueOS Desktop. 

First impression: 

* Polari does not support authenticated connections 
  (no prompt to authenticate), which surprised me. 

Later impressions: 

* maybe my installation is bitten by this bug.
Comment 2 Florian Müllner 2017-01-20 17:24:18 UTC
(In reply to ominous from comment #0)
> Polari seems to not ask to unlock the keyring in which passwords are stored
> like for example Evolution does.

Right. We currently use the high-level Secret API to lookup and save passwords, which doesn't do any unlocking for us. To support the case where the keyring isn't unlocked on login, we'll have to do something along the lines of:

let keyring = Secret.Collection.for_alias(Secret.Service.get(), 'default', 0, null);
if (keyring.locked)
    keyring.service.unlock([keyring], null);

(pseudo code, an actual patch should use asynchronous methods here, cache the collection etc.)
Comment 3 Florian Müllner 2017-10-28 17:47:09 UTC
I'm migrating newcomer bugs that haven't been picked up to gitlab, please follow up on this issue at https://gitlab.gnome.org/GNOME/polari/issues/19.