-
-
Notifications
You must be signed in to change notification settings - Fork 127
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
Error when trying to save the password #393
Comments
I had this issue since I first started using Feishin several months ago at version 0.3.0, so it's at least not new. I tried both the AppImage and the AUR package Great app otherwise. Thank you very much for your work! |
I have this issue too. Using Artix Linux, Feishin 0.5.2, connected to a Navidrome server. If it could be an issue with password sanitization/storage/hashing, password looks something like this:
|
Happen's also for me using gentoo linux and the appimage. But I also use keepassxc for secrets storage so if Feishin uses secret's to store password it might need to work on keepassxc support. |
Arch Linux, Feishin 0.5.3, with Navidrome 0.50.1 server; I have gnome-keyring installed and configured for secrets. |
I'm also having this issue with the same setup as fybx. All other applications that store secrets work fine; only Feishin has this issue. |
Based off of a similar thread from tutao/tutanota#6265, some questions:
|
In my case, libsecret is installed. Passwords are stored in the Gnome keyring and other Electron apps work without issue, but I'm not sure how to manually set the password store for Feishin. |
You can pass in a cli argument |
It's difficult for me to see if it worked as - as mentioned in the issue - Feishin only seems to forget the password after a few days. |
Obviously be careful when running running any code that a stranger gives you, but the following code will invalidate your credentials (exit and reopen feishin after). You can do this in the console from inspect element (control + shift + i). I will try an Ubuntu VM (I don't see this issue on my Arch system) and see if I can reproduce it as well. Sorry for asking your support on this matter const auth = JSON.parse(localStorage.store_authentication);
if (auth.state.currentServer.type === 'navidrome') {
auth.state.currentServer.ndCredential = '1234'
}
for (const [id, server] of Object.entries(auth.state.serverList)) {
if (server.type === 'navidrome') {
server.ndCredential = '1234'
auth.state.serverList[id] = server
}
};
localStorage.store_authentication = JSON.stringify(auth); |
Also worth noting, to just test password setting, all you need to do is try and save the password in the first place... |
One last thing, can you output |
for me it's nothing, I just use xmonad. |
Well, that would explain why. Electron is probably just unable to detect the correct session (check out https://chromium.googlesource.com/chromium/src/+/main/base/nix/xdg_util.cc for the resolution). If neither that, |
For everyone having this issue, could you please try the associated PR and see if it resolves your issue? |
Is there an AppImage or |
No, you would need to build that yourself. The pipeline only updates the web interface |
Oh... I would have expected the CI would have done it somehow. |
I've gone ahead and build them myself and uploaded https://drive.google.com/drive/folders/1QY40cLsa5tUmZoISMkP1eXStub6EFdDZ . If that doesn't work though you're out of luck |
My |
Thanks for testing! Just to confirm, does retrieving the password also work (I would expect so, but just to confirm; Settings hamburger > Manage Servers > Navidrome server > Edit, password should be filled in) |
Yes, the password is entered there correctly. |
Just tested your AppImage and tar.gz, they both were able to retrieve the password correctly, displaying it in the server's details. Many thanks for the patch and for the build :-) As that seemed important: |
Thanks both of you! I'll do some text cleanup (libsecret isn't just a Gnome thing actually, supported by a lot of other providers I learned) and update the README (noting that you either need a libsecret provider, or kwallet4/5/6) and will merge this in soon |
I'm on hyprland with keepassxc and the issue persists. I can see that feishin doesn't use libsecret unless I pass |
On hyperland this issue persists, passing |
You still need something that implements Secret Service, for example I use keepassxc with Secret Service integration enabled. |
Edit: just had to change the setting as described by kgarner7 |
The default password store is libsecret. If that doesn't work for you, you can manually set it in Settings > Window > password/secret store |
Ah, that's my bad for not realizing the setting was available under the Window area to change the default store. Thank you- that was all it needed! Sorry to waste your time with this when it was right in front of me the whole time. |
Expected Behavior
Password should be saved successfully
Current Behavior
In the
Manage Servers
form, saving a server with theSave password
checkbox checked raises the following error:An error occurred when trying to save the password
.I don't have any line appearing in the web dev console output, so I don't have any more details to share.
Steps to Reproduce
Save password
checkboxSave
Possible Solution (Not obligatory)
Confusingly enough, Feishin seems to be able to stay authenticated when closed, and only asks for the password after one or two days. So it is actually able to remember some secrets.
Context
Listening to music on Linux? :D
Your Environment
.tar.xz
versionThe text was updated successfully, but these errors were encountered: