aboutsummaryrefslogtreecommitdiff
path: root/libbpkg/manifest.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-05-03 01:19:59 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-05-03 11:29:22 +0300
commitd3e5ca3472472d1d6f218f6dc88371a79557880e (patch)
treedba3cf0c491ff67d2033516c56d31ed0fc4b2796 /libbpkg/manifest.hxx
parent05e0f5ca9e9a916746bd6b26baff317663674574 (diff)
Add support for dependent repository trust
Diffstat (limited to 'libbpkg/manifest.hxx')
-rw-r--r--libbpkg/manifest.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/libbpkg/manifest.hxx b/libbpkg/manifest.hxx
index 68c4bc7..15d19fc 100644
--- a/libbpkg/manifest.hxx
+++ b/libbpkg/manifest.hxx
@@ -905,6 +905,12 @@ namespace bpkg
butl::optional<std::string> description;
butl::optional<std::string> certificate;
+ // The repository fingerprint to trust. May only be present for the
+ // prerequisite or complement repository and only for repository types
+ // that support authentication (currently only pkg).
+ //
+ butl::optional<std::string> trust;
+
// The repository fragment id this repository belongs to (may only be
// present for multi-fragment repositories).
//