Sfoglia il codice sorgente

Fix pcscd polkit auth failure in HSM container

The upgrade from Debian bookworm to trixie introduced a newer pcscd
that enforces polkit authorization by default. Since polkit is not
available inside containers, pcscd rejects connections with "access
was denied because of a security violation". Adding --disable-polkit
restores the previous behavior. Container-level isolation already
provides the security boundary that polkit would otherwise enforce.

Fixes #2607

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Carl Tashian 8 mesi fa
parent
commit
3fc9cf1110
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      docker/entrypoint.sh

+ 1 - 1
docker/entrypoint.sh

@@ -97,7 +97,7 @@ function step_ca_init () {
 }
 
 if [ -f /usr/sbin/pcscd ]; then
-    /usr/sbin/pcscd
+    /usr/sbin/pcscd --disable-polkit
 fi
 
 if [ ! -f "${STEPPATH}/config/ca.json" ]; then