| > Unix domain socket authentication is stronger and doesn't require storing cookies on the client side. And pointless here, since everything runs under the same uid. You need to authenticate this is the same browser that stored this secret, not that this is the same uid (useless), or the same pid, or any other concept that unix domain socket authentication understands. > Which is why you can (and people do, e.g. flatpak) run applications where ptrace or global filesystem access is blocked. Which is why portals exist and why there shouldn't be a "get all secrets via dbus" escape hatch. In which case they do not connect to the same D-Bus "bus", and the problem is again non-existent. See how flatpak sandoxing does it. > Then don't use it? Secure defaults matter for most users. Right until they notice they can no longer view the keyring contents, or any other stupid limitation most desktop users couldn't care about. In fact, if you do not need a shared secrets service, and your applications are containerized... why do you need a secrets IPC at all? Just let each program store its secrets in some of its supposedly private storage... > Find the *kwargs here: https://wayland.app/protocols/xdg-shell Much better to have a million non-extendable protocols competing with each other. To this day there are two protocols (at least) for exposing the address of the DbusMenu service of a surface, one for gnome-shell and one for kwin. So much for the uglyness of X atoms. And this has nothing really to do with the design of the IPC mechanism itself... |
If I store my secrets in KWallet, which purports to _storage for secrets_, I absolutely do not expect every application on the desktop to have access to those secrets, whether I want to share them or not.
I can't believe you're suggesting this is sanely defensible.