The wayland-protocols repository recently gained a protocol for identifying connections from a sandboxed process, and I’ve been trying for a while to add a similar thing to D-Bus.
For these to be useful for Snap apps, the snapd developers would need to nominate a well-known reversed domain name (same syntax as a D-Bus interface name) to identify Snap as a containerization technology. To give an idea of the sort of thing we have in mind, Flatpak is using
In the D-Bus spec proposal I’ve assumed that
io.snapcraft would be appropriate. Is that correct? I’m not very familiar with Snap, and it’s not completely clear to me whether
snapcraft.io is intended to be Snap’s equivalent of
flatpak.org (the sandboxing technology itself), or Snap’s equivalent of
flathub.org (an app store that can be used with that sandboxing technology), or both.
It would be useful if a snapd developer could comment on https://gitlab.freedesktop.org/dbus/dbus/-/issues/479 and say what domain name is the most appropriate, and/or send a merge request for https://gitlab.freedesktop.org/wayland/wayland-protocols/-/blob/main/staging/security-context/engines.md?ref_type=heads that adds details of Snap there.