blob: 93416821ec7fcfd40d7d3edb922cf3d32f4ede05 [file] [log] [blame]
<!DOCTYPE busconfig PUBLIC
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<!--
Copyright 2022 The Chromium OS Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<busconfig>
<policy user="vtpm">
<allow own="org.chromium.Vtpm" />
<allow send_destination="org.chromium.Vtpm" />
</policy>
<!-- For debugging -->
<policy user="root">
<allow own="org.chromium.Vtpm" />
<allow send_destination="org.chromium.Vtpm" />
</policy>
<policy context="default">
<allow send_destination="org.chromium.Vtpm" />
<!-- introspection denied -->
<deny send_destination="org.chromium.Vtpm"
send_interface="org.freedesktop.DBus.Introspectable" />
</policy>
<!-- TODO: TEMP HACK: increase timeout to 5 min for slow RSA keygen -->
<limit name="reply_timeout">300000</limit>
</busconfig>