Error: Can't store the password using libsecret on postmarketOS/phosh
The symptoms are exactly the same as on #198 (closed). However, gnome-keyring-daemon
is running correctly. The cause is that the default secret collection doesn't exist, i.e. get_default_collection
on the secret service object fails.
It would be nice to either create the collection with secret_service.create_collection("default", "default")
before invoking store_pass
(maybe check the existence of the default collection and show a modal dialogue asking whether it should be created?), or at least make the error a little bit more explanatory. What do you think?