Repository navigation
Conversation
…akota Dakota ships opensc 0.27.1 (freedesktop-sdk-extra components/opensc.bst) and GNOME OS's files/opensc/opensc.module, whose disable-in list keeps goa-daemon, gsd-smartcard, the Evolution data-server factories and gnome-shell from holding a smart card open. The factory builds the same opensc; Utah ships the module config in /etc/pkcs11/modules, which p11-kit reads in place of the RPM's same-named /usr/share/p11-kit/modules copy. pam-pkcs11, which Dakota ships preset-disabled, follows once the factory publishes it (projectbluefin/utah-packages#1030). Closes #1257 Assisted-by: Claude Opus via GitHub Copilot Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: danathar, hanthor The full list of commands accepted by this bot can be found here. Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
Withdrawn: this PR is not back in your court after all. The failing checks ( |
|
More verification: I ran |
Danathar
left a comment
There was a problem hiding this comment.
Stand-in review (the hive's reviewers are out of quota). Approving. opensc.module (module: opensc-pkcs11.so plus the disable-in: goa-daemon gsd-smartcard evolution-source-registry evolution-calendar-factory gnome-shell line) is identical to freedesktop-sdk-extra 26.08.4's files/opensc/opensc.module, apart from an SPDX header. p11-kit reads user, then /etc/pkcs11/modules, then package configs, and the first config with a name wins, so shipping it in /etc overrides the RPM's copy without being overwritten by it. Nit: gnome-build-meta moved this element to freedesktop-sdk-extra on 2026-10-03 (1100ec066727), so the header and docs should cite freedesktop-sdk-extra rather than gnome-build-meta@8a89846. The red contract is the stack's.
|
Folded into the part-2 landing PR (fold/dakota-sq) with this change unchanged apart from rebase and conflict resolution. Closing here; review continues there. |
What
openscfrom the factory: add it to[parity]and[factory].parity.opensc.moduleassystem_files/shared/etc/pkcs11/modules/opensc.module, and assert it plus itsdisable-inline incontracts/bluefin-desktop.toml.docs/skills/desktop-contract/references/dakota-system-defaults.md.Why
Dakota ships opensc 0.27.1 (
freedesktop-sdk-extra.bst:components/opensc.bst). The pinned factory publishesopensc-0.27.1-1.hum1.bfin(element audit utah-packages#1017:aligned). GNOME OS addsfiles/opensc/opensc.module(gnome-build-meta8a89846df11e):Smart cards grant exclusive access while a PIN is unlocked. If those user daemons hold the card, GnuPG can't get exclusive access. The factory RPM's own
/usr/share/p11-kit/modules/opensc.modulehas nodisable-in. p11-kit reads a module config in/etc/pkcs11/modules/in place of the same-named package file. Utah can't overlay/usr/share:system_filesis copied before the package transaction, which would overwrite it.pcscd.socketis already enabled (#1254). pam-pkcs11 decision: Dakota ships it with a preset that disables it. Fedora retired it, so the factory needs a new spec (projectbluefin/utah-packages#1030). Utah adopts it once it's published. Until then itsplannedtriage entry under #1236 stays.Stacked on #1280.
Closes #1257
Verification
fedora:44withopenscandp11-kit: stockp11-kit list-modulesshows opensc. An/etc/pkcs11/modules/opensc.modulewithdisable-in: p11-kithides it, which proves/etcoverrides/usr/share. With this PR's file, opensc is listed again, becausep11-kitisn't in the list.sha256:523507b8) hasopenscandopensc-libs0.27.1.bfin.just checkpasses (1330 tests).