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
remmina: clean up #49254
remmina: clean up #49254
Conversation
No attempt on x86_64-darwin (full log) The following builds were skipped because they don't evaluate on x86_64-darwin: remmina Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: remmina Partial log (click to expand)
|
Timed out, unknown build status on x86_64-linux (full log) Attempted: remmina Partial log (click to expand)
|
libsecret is a library for storing and retrieving passwords and other secrets. It communicates with the "Secret Service" using D-Bus. gnome-keyring and ksecretservice are both implementations of a Secret Service.
Clearly, it, too, needs to be made optional to make this usable without the rest of GNOME.
The problem is that with that plugin enabled remmina will try to store all secrets using it which will fail if you don't run those services.
Looking at the source, I think it needs the following now:
```
preConfigure = optionalString (!gnomeSupport) ''
substituteInPlace CMakeLists.txt \
--replace "add_subdirectory(plugins/secret)" ""
'';
```
|
We could add |
Desktop file is included now, so no need to create it manually. libgnome-keyring is not used anymore, libsecret replaced it.
38a0c68
to
b4c5448
Compare
No attempt on x86_64-darwin (full log) The following builds were skipped because they don't evaluate on x86_64-darwin: remmina Partial log (click to expand)
|
Timed out, unknown build status on x86_64-linux (full log) Attempted: remmina Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: remmina Partial log (click to expand)
|
@oxij can you make this an upstream patch instead. Then it would not require a patch from our side. |
Again, the main problem is that last time I checked you couldn't disable that plugin in the settings if remmina was compiled with it enabled, hence remmina would essentially force you to run gnome-keyring (or KDE equivalent) when it can work perfectly fine without it.
I.e. with that plugin enabled you can't make remmina store passwords in plaintext which is actually desirable in some cases (e.g. when the real secrets are ssh keys and gnome-keyring dialogs are just a nuisance).
It might be sufficient to just remove libsecret from the inputs now, though. But last time I checked you had to fix the CMakeLists.txt too.
|
Well, libsecret does not install any keyring for you (neither does libgnome-keyring). If remmina fails to work in the absence of a keyring, that is a bug and should be fixed upstream, just like a similar bug in network-manager-applet. |
Motivation for this change
Follow-up to #48722
/cc maintainers @melsigl @ryantm
/cc @oxij
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)