-
Notifications
You must be signed in to change notification settings - Fork 18
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
Use the system keyring instead of python to store user credentials #8
Comments
For me, it always prompts for a password to create a new keyring, so I think this is a very annoying bug |
I don't get what you mean by the keyring here. But it went too far and asking for a password whenever I open the app or close it and re-open it. This exists in both Fedora 39 and 38. In the old app, It used the system's keyring. No problem was at all there. I don't get why use a external service to manage data when there is already one available. |
A temporary solution I found. You login when the app asks you to login. Then logout and relogin. After that, It shouldn't ask for credentials again. This seemed to be what worked for me when this issue came in Fedora 38. |
Apparently the app uses For VPN connection, it seems that |
Copying my comment on #4: The problem is that it requires logging in every time the app is quit:
|
I don't know how this is related but it asks for VPN Credentials at time even when internet connection is solid.
Same happens for me. But I didn't check for logs.
I am pretty sure. If you see the credentials in your keyring. It means it is the data stored by Old app. The new app now stores its data in python keyring. |
I am sure that the credentials in the keyring are stored by the new app:
Installed packages:
My KWallet preferences:
|
In Kwallet is it under Secret Service ? |
I have disabled "Use KWallet for the Secret Service interface" since I am currently using KeePassXC for Secret Service. However, in my testing, there is no problem if I use KWallet for Secret Service (and disable KeePassXC's Secret Service function). |
Could this be a conflict between sudo chmod -x /usr/bin/gnome-keyring-daemon
sudo killall gnome-keyring-daemon And rebooting (I didn't need it but it can't hurt). After doing this, I disabled KWallet's secret service integration and enabled KeePassXC's. Then it finally stopped prompting me! |
Currently the binary packages (Fedora and Debian) of python-proton-keyring-linux-secretservice have hard-coded Maybe it will be a good idea to change that so that KDE users won't have to install it, and to avoid keyring conflicts? |
Hey all. As @antermin points out we currently only support Gnome-keyring as a backend for the keyring service. Actually if you take a close look at python-proton-keyring-linux you can see that we depend on the keyring package. Edit: Hit post prematurely 😓 Since we had some headaches with the previous client (being agnostic of backend) with the current design we decided to create specific back-end packages for either gnome and kwallet (we haven't worked on kwallet though yet as we have a very limited bandwidth and we have many other things to add/improve). @IkelAtomig your data should be stored in the gnome keyring and it should not be prompting you. What distro are you using ? we've tested this only on distros that run gnome (because that's the only thing that we officially support atm, although it should work on KDE). |
@calexandru2018 I use Fedora 39 with KDE. And I my wallet is unlocked automatically during boot without any issue. |
I have a theory. The problem on one computer mysteriously appeared when I switched to zsh. @IkelAtomig Are you using zsh? |
Yeah, I am using bash. |
Is it possible then that it adds an important environment variable to |
@Anonymous941 I have no idea about |
@Anonymous941 it shouldn't matter. I've used it in manjaro with .zsh and had no issues. Problem is Kwallet, please read the links I provided to arch wiki. |
@calexandru2018 - I don't get the problem with KWallet. It is already unlocked automatically at login. |
If i set a password for my default keyring it works, if i set empty passwort for the keyring the app deletes the entry in the keyring everytime at launch. wtf |
Is this the issue?? This actually might be, and I can't even open the keyring in the GNOME manager after I lock it |
Having the same issue. Debian 12, with auto-login and no password set for the user logging in. I set the password for the keyring to be blank, and it recreates the keyring on every reboot. If I set a password it is fine, but I do not want to have to log in to my server to enter a password if I decide to reboot it... |
Hey all, could you please send issue reports through the app so we have some logs on this please ? I talked internally to our QA and we're a bit unsure why this is happening with gnome backend (can't reproduce on our side on gnome backends), it is expected with KDE as kwallet is a bit more tricky. Please refer to this ticket in the submission: #35 |
Report sent through the app, thank you for investigating! I was having issues headless so I switched from an LXC to a true VM and installed Debian Gnome just to use the VPN... and then ran into all of this after that. In my case, getting the CLI working without desktop environment dependencies would be ideal. |
I prefer the config files right now because of this issue which is more stable. |
@mcwillzz could you please clarify on the following
So you don't need to type your pass to login, but WDYM with not password set for the user logging in ? From my experience you always need a password, unless I'm missing something here. |
Closing this and any further discussions should be on #30 |
Please use the system keyring such as Kwallet or Gnome keyring. It is annoying the app always ask for password on rebooting the system, I login to the app everytime.
This was never a problem in the old app.
The text was updated successfully, but these errors were encountered: