aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.stylua.toml
diff options
context:
space:
mode:
authorLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-05-13 13:43:25 +0100
committerLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-05-13 13:43:25 +0100
commitb9e2e2b63f264b889a453b1199d7ae8f6333ab5c (patch)
treefc09527459181423ce4015eaf744876057d5370c /.stylua.toml
parent9b133edc20702a0c9cccb613fbb9296a7fb9f597 (diff)
downloaddotfiles-b9e2e2b63f264b889a453b1199d7ae8f6333ab5c.tar.gz
dotfiles-b9e2e2b63f264b889a453b1199d7ae8f6333ab5c.tar.bz2
dotfiles-b9e2e2b63f264b889a453b1199d7ae8f6333ab5c.zip
feat(pteid): bridge PKCS#11 into LibreWolf flatpak
Cartão de cidadão web authentication needs the libpteidpkcs11.so module loaded into LibreWolf's NSS database. With both apps now sandboxed in separate flatpaks, neither can see the other by default. Add a chezmoi onchange script that, when both flatpaks are installed: - Resolves the pt.gov.autenticacao install dir + .so path on the host - Grants LibreWolf flatpak read-only filesystem access to that dir, --socket=pcsc, and an LD_LIBRARY_PATH so the bundled deps (libxerces, libcjose, etc.) resolve at dlopen time - Registers the module in each LibreWolf NSS profile via modutil, with the path rewritten to /run/host/... as seen from inside the sandbox - Skips silently when LibreWolf is running (modutil would corrupt the DB) Hash gate includes the pt.gov.autenticacao line from meta/flatpak.txt so the override + registration auto-refresh on bundle bumps. Idempotent. Also explicit pcsc-lite + ccid in meta/extra.txt — they were transitive deps of the removed autenticacao-gov-pt-bin AUR package; pcscd.socket in systemd-units/system/base.txt would otherwise fail to activate.
Diffstat (limited to '.stylua.toml')
0 files changed, 0 insertions, 0 deletions