Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try to unlock the keyring collection when it is locked #560

Merged
merged 1 commit into from
Feb 12, 2023

Conversation

rainDiX
Copy link
Contributor

@rainDiX rainDiX commented Oct 31, 2022

On KDE plasma, the secret service is initially locked even though the kwallet is unlocked. Currently if spot is the first application to require the wallet it will fail to access it. My current workaround is to open another app that unlock the wallet and then opening spot.
With this PR, spot will try to unlock the keyring collection if it is locked, resulting on a prompt asking the user for the keyring password, if the keyring unlocking fail, the behavior should be the same as before.
It should help #274 at least on the KDE side. I tested this PR on KDE, can you check if no regression are present on GNOME ?

Copy link
Owner

@xou816 xou816 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, i'll see how it goes on gnome.

thanks for your contribution and for your patience!

@xou816
Copy link
Owner

xou816 commented Feb 12, 2023

works perfectly, gnome shell shows a prompt if the keyring is locked. its a bit surprising perhaps, but better than what we have now :) i assume it should be possible to customize the prompt, i'll look into it someday

@xou816 xou816 merged commit b202567 into xou816:development Feb 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants