Closed zeenix closed 1 year ago
Hmm.. but which one is more correct? Seems like an issue in either glib or home_dir
but I'd be fine to workaround it for windows.
In GitLab by @elmarco on Oct 17, 2022, 14:51
Well, the DBus specification isn't saying much about home directory lookup. The dbus reference implementation uses $HOME first for current user (before looking up /etc/passwd etc).
And the XDG "XDG Base Directory Specification" doesn't say much about $HOME lookup priority either.
But it seems quite obvious the environment should come first though.
home_dir doesn't really have to be XDG compliant afaict
home_dir doesn't really have to be XDG compliant afaict
It doesn't but wouldn't hurt to file an issue (unless this was already discussed).
@elmarco wasn't this fixed by !576
In GitLab by @elmarco on Oct 17, 2022, 13:46
GLib uses $HOME with higher priority, even on win32.
Unfortunately, that's not what the
home_dir
crate does (since addition in commit 0c253daaf5e54), resulting in incompatible keyring lookups.