blob: 834af5b1f40e94ea22ed40ed9fa5ec4a0f3e88ea [file] [log] [blame]
// Copyright 2021 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
{
include: [
"inspect/client.shard.cml",
"syslog/client.shard.cml",
],
program: {
runner: "elf",
binary: "bin/cr50_agent",
},
capabilities: [
{ protocol: "fuchsia.tpm.cr50.Cr50" },
{ protocol: "fuchsia.tpm.cr50.PinWeaver" },
],
use: [
{
directory: "dev-class-tpm",
rights: [ "r*" ],
path: "/dev/class/tpm",
},
{ protocol: "fuchsia.power.button.Monitor" },
],
expose: [
{
protocol: "fuchsia.tpm.cr50.Cr50",
from: "self",
},
{
protocol: "fuchsia.tpm.cr50.PinWeaver",
from: "self",
},
],
}