git.lucas.co / cce-display-manager
login greeter
git clone https://git.lucas.co/cce-display-manager.git

dbus/org.freedesktop.secrets.service (1.2K)

 1 # Shadows /usr/share/dbus-1/services/org.freedesktop.secrets.service so that a
 2 # bus-activated Secret Service converges on the SAME unit the session starts,
 3 # rather than on the stock file's bare
 4 # `gnome-keyring-daemon --start --components=secrets`.
 5 #
 6 # That distinction is the whole point. The stock Exec would spawn a keyring
 7 # daemon OUTSIDE gnome-keyring-daemon.service, so it would miss the drop-in
 8 # that feeds it the TPM-sealed password — i.e. a LOCKED keyring, and a second
 9 # daemon racing the unit's own for the bus name. Two daemons fighting over
10 # org.freedesktop.secrets is exactly the nondeterminism that made the previous
11 # KeePassXC-based chain unlock on only ~75% of logins.
12 #
13 # SystemdService, not a bare Exec: the first client to touch the bus name at
14 # login (cce-mail's keyring lookup beats graphical-session.target) would
15 # otherwise activate a provider outside the unit, which then owns the name
16 # while the unit's instance finds it taken and exits. With SystemdService both
17 # start paths converge on the one unit. Exec is the spec-required fallback and
18 # must never fire on a systemd user bus.
19 [D-BUS Service]
20 Name=org.freedesktop.secrets
21 Exec=/usr/bin/false
22 SystemdService=gnome-keyring-daemon.service