-
Notifications
You must be signed in to change notification settings - Fork 414
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
Remove keyring requirement - replace with cookie/other token (gnome_keyring) #386
Comments
I have exactly the same error
Running Arch Linux (Antergos) with KDE Plasma 5.10.4-1 |
We are using keytar: https://github.com/atom/node-keytar Relevant code is at the end of this file: https://github.com/lbryio/lbry-app/blob/38fd451e72c60b0373a8e337bb1de1da37f7942a/app/main.js It is unlikely we would prioritize this at the moment, but we'd be happy to bounty it. |
keytar uses libsecret, which is a frontend to gnome-keyring. KWallet does not support just installed the package |
Some People cannot install the gnome-keyring as it Will put their current keyring out of place. |
This issue seems to be pretty common -- we really ought to be at least erroring on this in a clean enough way that users understand what's happening if we can't fix it outright. |
Opening this back up because the referenced file/commit (dbd147f) was changed to remove the dependency on gnome-keyring. This may have been during @IGassmann 's refactoring of the build process. If you run the LBRY app on a KDE distro, the app fails to load anything on the front page as it's not able to get an authentication token. Looks like keytar is supposed to support libsecret (atom/node-keytar#74) but it doesn't work as expected. I'm not sure what the next steps are - is it possible to just use libsecret instead of keytar, or they come hand in hand? |
I can confirm that this is still an issue on a KDE-based distributions, the Explore page is blank and get this error on log:
The version I am using is |
@tzarebczan is this still happening |
I had to install gnome-keyring for LBRY 0.33.2 (and 0.33.1) to work. Without gnome-keyring it doesn't download or show any videos. I don't have to have or make an actual keyring for it to work but can just click cancel on the keyring window that pops up. |
We'll try to remove this requirement in the next few months. Thanks for reaching out! |
I'm having an issue where I can view content but when I try to sign in with my email, the page hangs. It doesn't get to the next screen titled "Check Your Email", nor does it send me the confirmation email. It works if I install the gnome-keyring package. It looks like that's not meant to be a dependency anymore and since I don't use gnome, I would greatly appreciate not needing it installed for LBRY. Platform: {
"processor": "x86_64",
"python_version": "3.7.6",
"platform": "Linux-5.3.0-28-generic-x86_64-with-neon-18.04-bionic",
"os_release": "5.3.0-28-generic",
"os_system": "Linux",
"lbrynet_version": "0.63.0",
"version": "0.63.0",
"build": "release",
"distro": {
"id": "neon",
"version": "18.04",
"version_parts": {
"major": "18",
"minor": "04",
"build_number": ""
},
"like": "ubuntu debian",
"codename": "bionic"
},
"desktop": "KDE"
} Running KDE Neon User Edition 5.18 (Ubuntu 18.04 with KDE). Thank you for the great app! |
Sorry for the trouble. Try out the build at the top of lbry.com/faq/startup-troubleshooting - this has it removed completely. You'll need to check back there or the releases page for future updates until we can fix this. |
Thanks for the quick reply. I found out through a related issue on keytar that it supports my password manager keepassxc, I got that working instead of gnome-keyring and I'm going to use that for now. Thanks, |
@tzarebczan FYI, I spoke too soon, it didn't actually work once I clicked the link in the confirmation email. I checked KeePassXC and no auth token was stored there. Nothing was added with the Free Desktop secret service. The build on that troubleshooting page works just fine. |
We've removed it from the recent release (0.44), woohooo!!! |
The Issue
We've had some complaints and seensome startup issues because users didn't have gnome keyring installed. From what I understand, it's not on all Linux distros and some people choose to use it for various reasons. Is it possible to generate the auth token in a different way for Linux? Possibly some hash of the wallet pubkey and timestamp?
Steps to reproduce
Expected behaviour
Tell us what should happen
Actual behaviour
Tell us what happens instead
System Configuration
Anything Else
Screenshots
The text was updated successfully, but these errors were encountered: