feat(E21-S4): Enrollment session cleanup background task and polkit enroll-self/enroll-other actions #34

Closed
opened 2026-07-29 12:14:48 +02:00 by elegos · 0 comments
Owner

Part of EPIC-21 (#24). See LLD: docs/lld/enrollment-session.md

What

Session cleanup (linux-hello-daemon/src/dbus.rs or new cleanup.rs)

  • tokio interval task running every 60s
  • Cancel sessions older than 5 minutes (emit EnrollError with code session_timeout)
  • Clean approach: spawn in dbus::run() alongside the signal emitter

Polkit actions (polkit/name.giacomofurlan.linux_hello.policy)

  • Add name.giacomofurlan.linux_hello.enroll-self (allow_active: auth_self)
  • Add name.giacomofurlan.linux_hello.enroll-other (allow_active: auth_admin)

ARCHITECTURE.md

  • Update E21 node in dependency graph to 'in progress'
  • Add new enrollment signals to §5 interface table

Dependencies

  • S3 / #33 must be completed first
Part of EPIC-21 (#24). See LLD: docs/lld/enrollment-session.md ## What **Session cleanup (`linux-hello-daemon/src/dbus.rs` or new `cleanup.rs`)** - tokio interval task running every 60s - Cancel sessions older than 5 minutes (emit EnrollError with code `session_timeout`) - Clean approach: spawn in `dbus::run()` alongside the signal emitter **Polkit actions (`polkit/name.giacomofurlan.linux_hello.policy`)** - Add `name.giacomofurlan.linux_hello.enroll-self` (allow_active: auth_self) - Add `name.giacomofurlan.linux_hello.enroll-other` (allow_active: auth_admin) **ARCHITECTURE.md** - Update E21 node in dependency graph to 'in progress' - Add new enrollment signals to §5 interface table ## Dependencies - S3 / #33 must be completed first
elegos added this to the Foundation project 2026-07-29 12:16:55 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
elegos/linux-hello#34
No description provided.