# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2023 Canonical Ltd
# Copyright (C) 2025 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only

# Allows interacting with PC/SC Smart Card Daemon

  abi <abi/4.0>,

  # Configuration file for OPENSC
  /etc/opensc.conf r,
  /etc/opensc/opensc.conf r,

  # Socket for communication between PCSCD and PS/SC API library
  @{run}/pcscd/pcscd.comm rw,

  include if exists <abstractions/pcscd.d>

# vim:syntax=apparmor
