sailfishos / sailfish-secrets

BSD 3-Clause "New" or "Revised" License
24 stars 15 forks source link

[sailfish-secrets] Correct p2p socket name for the password agent. Contributes to JB#56300 #181

Closed dcaliste closed 2 years ago

dcaliste commented 2 years ago

…ntributes to JB#56300

@chriadam , I'm confused how I could have forgotten to commit the change in socket name in the password agent too.

At the moment, systemctl --user status lipstick-security-ui.service is green, but actually, if you run it by hand, you notice that it warns with:

[W] unknown:0 - Connection to org.lipstick.securityui failed.  Failed to connect to socket /run/user/100000/sailfishsecretsd/p2pSocket-agent: Aucun fichier ou dossier de ce type

As a consequence, there is no system prompt for password or anything related to password entry. Any attempt is failing with:

[D] unknown:0 - Starting passphrase request
[D] unknown:0 - -> return code Sailfish::Secrets::Result::ResultCode(Failed)
[W] unknown:0 - "No password agent is registered"

I was sure I did the change, but it seems that I forgot to commit it, or lost it in a rebase. I'm sorry for the mess.

chriadam commented 2 years ago

LGTM, thanks.