From 999e4437730f0587b33218cc029c470cf3a4c20a Mon Sep 17 00:00:00 2001 From: Sebastian Wick Date: Thu, 12 Oct 2023 16:23:14 +0200 Subject: [PATCH] security-context-v1: Make sandbox engine names use reverse-DNS Specifically this also changes the well-known name for flatpak from "flatpak" to "org.flatpak". This would be a breaking change but there is no released version of flatpak yet with security-context support. Signed-off-by: Sebastian Wick --- staging/security-context/engines.md | 2 +- staging/security-context/security-context-v1.xml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/staging/security-context/engines.md b/staging/security-context/engines.md index 3a7d13f..a53b1ed 100644 --- a/staging/security-context/engines.md +++ b/staging/security-context/engines.md @@ -6,7 +6,7 @@ mechanisms. ## [Flatpak] -* `sandbox_engine` is always set to `flatpak`. +* `sandbox_engine` is always set to `org.flatpak`. * `app_id` is the Flatpak application ID (in reverse-DNS style). It is always set. * `instance_id` is the Flatpak instance ID of the running sandbox. It is always diff --git a/staging/security-context/security-context-v1.xml b/staging/security-context/security-context-v1.xml index 2935c0a..0b14078 100644 --- a/staging/security-context/security-context-v1.xml +++ b/staging/security-context/security-context-v1.xml @@ -114,7 +114,8 @@ - Attach a unique sandbox engine name to the security context. + Attach a unique sandbox engine name to the security context. The name + should follow the reverse-DNS style (e.g. "org.flatpak"). A list of well-known engines is maintained at: https://gitlab.freedesktop.org/wayland/wayland-protocols/-/blob/main/staging/security-context/engines.md