Skip to content

daemon,ui: Send PIN over fd#162

Merged
iinuwa merged 1 commit into
mainfrom
push-tytpmpntwtoy
May 16, 2026
Merged

daemon,ui: Send PIN over fd#162
iinuwa merged 1 commit into
mainfrom
push-tytpmpntwtoy

Conversation

@iinuwa
Copy link
Copy Markdown
Member

@iinuwa iinuwa commented May 16, 2026

Instead of sending the PIN in the clear, where D-Bus clients can sniff the traffic, send a file descriptor. We use a unicast signal, so we trust D-Bus to deliver the file descriptor just to the intended recipient.
We use memfd_secret for hardening the file descriptor. This should be enabled by default on Linux 6.5+, which our target OS (Ubuntu 24.04) meets.

@iinuwa iinuwa merged commit 841d873 into main May 16, 2026
1 check passed
@iinuwa iinuwa deleted the push-tytpmpntwtoy branch May 16, 2026 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant