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

abi <abi/4.0>,

include <tunables/global>

@{exec_path} = @{lib}/{,ssh/}ssh-sk-helper
@{att} = ""
profile ssh-sk-helper flags=(complain) {
  include <abstractions/base-strict>
  include <abstractions/devices-u2f>
  include <abstractions/devices-usb>

  @{exec_path} mr,

  include if exists <local/ssh-sk-helper>
}

# vim:syntax=apparmor
