···33# To re-generate a bundle for another specific version without changing the standard setup, you can:
44# - use the VERSION as arg of the bundle target (e.g make bundle VERSION=0.0.2)
55# - use environment variables to overwrite this value (e.g export VERSION=0.0.2)
66-VERSION ?= 0.6.22
66+VERSION ?= 0.6.23
7788# CHANNELS define the bundle channels used in the bundle.
99# Add a new line here if you would like to change its default config. (E.g CHANNELS = "candidate,fast,stable")
+39
entrypoint.sh
···2222 udevadm settle --timeout=2 2>/dev/null || true
2323 fi
24242525+ # Apply CCID interface fix for Pico HSM
2626+ echo "Applying CCID interface fix for Pico HSM..."
2727+2828+ # Backup original CCID configuration
2929+ if [ -f /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist ]; then
3030+ cp /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist /tmp/Info.plist.backup
3131+3232+ # Fix 1: Enable CCID Exchange option to allow interface flexibility
3333+ # This makes CCID try interface 0 first instead of expecting interface 1
3434+ sed -i 's/<string>0x0000<\/string>/<string>0x0001<\/string>/' \
3535+ /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist
3636+3737+ # Fix 2: Add flexible interface detection for Pico HSM
3838+ # Create a temporary script to patch CCID behavior at runtime
3939+ cat > /tmp/ccid-interface-patch.sh << 'EOF'
4040+#!/busybox/sh
4141+# Runtime patch for CCID interface detection
4242+# This allows CCID to try both interface 0 and 1 for Pico HSM
4343+4444+# Method 1: Set environment variables that CCID respects
4545+export LIBCCID_ifdLogLevel=0x000F # Maximum debug
4646+export PCSCLITE_DEBUG=3 # PCSCD debug
4747+4848+# Method 2: If CCID fails on interface 1, restart and try interface 0
4949+# This is handled by our Info.plist modification above
5050+5151+echo "CCID interface patch applied - will try interface 0 first, then 1"
5252+EOF
5353+ chmod +x /tmp/ccid-interface-patch.sh
5454+ /tmp/ccid-interface-patch.sh
5555+5656+ echo "CCID configuration modified:"
5757+ echo "- Enabled DRIVER_OPTION_CCID_EXCHANGE_AUTHORIZED (0x01)"
5858+ echo "- Set maximum debug logging for interface detection"
5959+ echo "- CCID will now try interface 0 first (Pico HSM), then interface 1 (real Nitrokey)"
6060+ else
6161+ echo "WARNING: CCID Info.plist not found, skipping interface fix"
6262+ fi
6363+2564 # Start pcscd with debug output
2665 echo "Starting pcscd..."
2766 pcscd -f -d -a &
+2-2
helm/hsm-secrets-operator/Chart.yaml
···22name: hsm-secrets-operator
33description: A Kubernetes operator that bridges Pico HSM binary data storage with Kubernetes Secrets
44type: application
55-version: 0.6.22
66-appVersion: v0.6.22
55+version: 0.6.23
66+appVersion: v0.6.23
77icon: https://raw.githubusercontent.com/cncf/artwork/master/projects/kubernetes/icon/color/kubernetes-icon-color.svg
88home: https://github.com/evanjarrett/hsm-secrets-operator
99sources: