Files
connector-popos/PLAN.md
T
davidandClaude Opus 5.5 7185d6cb3e Sign in to sudo and polkit with a security key or fingerprint
Ports configure security-key and configure fingerprint from CoreDesktop's
9dc5eb1: touch a FIDO2 key or a finger instead of typing your password for
sudo and polkit, falling back to the password. Each shows only when the
hardware is there. The fingerprint skips to the password with the lid shut.

lib/pam.sh is CoreDesktop's, but also takes Ubuntu's "@include
common-auth" as the start of a stack's auth part, which is how sudo's and
polkit's begin. Only those two stacks change, not common-auth, which
pam-auth-update owns and every sign-in includes. libpam-fprintd's
pam-auth-update profile is off by default, so installing it changes no
sign-in by itself. The login and lock screens keep asking for the
password, unlike on GNOME.

Smoketest: 70-sign-in, on copies of Ubuntu's sudo and polkit stacks.
TEST.md: with a real key and reader.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 19:03:41 -07:00

74 lines
3.7 KiB
Markdown

# Plan
What's left to do in the Federated Connector for Pop!_OS. Delete an item once
it's done; git history keeps the record. How to test is in [TEST.md](TEST.md).
This project stays separate from CoreDesktop: Pop!_OS needs its own setup
(apt, Flathub, COSMIC, Evolution), but it keeps roughly in step with
CoreDesktop's `configure`, with the same items, working the same way.
## Federated Calendar
CoreDesktop installs Federated Calendar (based on GNOME Calendar, adds
invitations and Jitsi meetings) from the `[federated]` pacman repo. It isn't
built for Pop!_OS yet: the
[federated-calendar](https://gitea.federated.computer/Federated_Computer/federated-calendar)
repo only has `build-aux/arch/`.
- [ ] Choose how to ship it. A Flatpak is the likely choice: upstream's
`build-aux/org.gnome.Calendar.json` is a starting point, it runs
the same on any Pop!_OS release, and it updates in the COSMIC Store with
Element. The other choice is a `.deb` in an apt repo on Gitea, which
would need building for each Ubuntu release.
- [ ] Build it in federated-calendar's Gitea Actions next to the Arch package,
and publish it (a Flatpak repo on Gitea, or a `.flatpakref`)
- [ ] Federated Calendar finds the Core in `~/.config/coredesktop/cores/*.conf`;
the connector writes `~/.config/federated-connector/cores/*.conf`. Have
Federated Calendar look in both, or the connector write both. A Flatpak
also needs read access to that folder (`--filesystem=xdg-config/...:ro`).
- [ ] Check that, without GNOME, it sees the Core's calendars in GNOME Online
Accounts and Evolution Data Server, as Evolution does. A Flatpak talks to
them over D-Bus (`--talk-name=org.gnome.OnlineAccounts`,
`org.gnome.evolution.dataserver.*`).
- [ ] Install it in `configure core`, after the calendars are added, and say
so in the README, alongside Evolution
- [ ] `update`: restart it after a new version, as CoreDesktop's PLAN.md
describes (it keeps running in the background after its window closes)
## Keep in step with CoreDesktop
Last compared with CoreDesktop at `4a4a3bd` (2026-11-11), when the port was
made. Port what applies to Pop!_OS, then move this marker to the CoreDesktop
commit compared with. To see what's new:
```
git -C ../coredesktop log --oneline <marker>..HEAD -- configure configure.d sandbox system
```
Since `4a4a3bd`, to look at:
- [ ] `05b13b2` Test the agent sandbox from inside: port
`smoketest/scenarios/60-security.sh`, which runs a script through
sandbox/bin's wrappers and checks what it can't read, write or reach,
and its later checks from `d5925fa` (what root runs is root's alone) and
`53c6c8b` (the install path). Hiding the connector's settings from
agents is done.
- [ ] `9dc5eb1` Upgrade safeguards, hardware setup, sign-in options and Taildrop.
Sign-in options (security key, fingerprint) are done.
To port: Taildrop's service that saves files sent here to Downloads (COSMIC Files
has no Scripts menu for sending), keeping the computer awake during
`update`, and the captive portal script that pauses a Tailscale exit
node. Arch only: the pacman guard, unowned files, `hardware.sh`
(System76 does its own).
- [ ] `ffbaf71` Keep other machines on the network from reaching Docker
containers: only if the connector ever installs Docker
Arch or GNOME only, nothing to port: `e14a345` and `ba4dc17` (login screen
logo), `1e2581d` (kernel modules), `d456e31` (initramfs), `5d7db2c` (reboot
after update: Pop!_OS' own updates handle this).
## Pop!_OS-specific
- [ ] The manual checks in [TEST.md](TEST.md) on a real Pop!_OS 24.04 machine,
against a real Core. None have been done yet.