Harden access to PipeWire via pw_security_context
#26
Notifications
Due Date
No due date set.
Blocks
#21 Determine what to do with existing `/.flatpak-info` behaviour
security/hakurei
Reference: security/hakurei#26
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Pipewire provides pw_security_context which is similar to wayland
security-context-v1that hakurei already supports. Flatpak currently does not appear to make use of this protocol.The
/.flatpak-infohack described in #21 is vulnerable to a confused deputy attack and race condition which this protocol is secure against. It is, however, not yet known whether the secure screen sharing protocol is usable through this, but a quick read of the source code suggests that is only possible via the/.flatpak-infohack.Implementation works now, but cannot build static hakurei because pipewire does not support static linking.
Implementation of PipeWire client is now complete at
3cb58b4b72. This should be able to move forward soon.