summaryrefslogtreecommitdiff
path: root/apidoc/ostree-sections.txt
diff options
context:
space:
mode:
authorFrédéric Danis <frederic.danis@collabora.com>2020-08-25 09:26:09 +0200
committerFrédéric Danis <frederic.danis@collabora.com>2020-09-14 09:27:19 +0200
commitfb1faf17d6f9cefd349c46f48f7a28f269f07576 (patch)
tree04b4c03a2a143d281bbb0c901ef1f77caf692848 /apidoc/ostree-sections.txt
parent869dbc037e92fbe2d859e8fda97bc4a287160770 (diff)
downloadostree-fb1faf17d6f9cefd349c46f48f7a28f269f07576.tar.gz
lib/deltas: Check signed delta in execute_offline
Add a new function `ostree_repo_static_delta_execute_offline_with_signature` which takes a signature engine to verify the delta before applying it. The `ostree_repo_static_delta_execute_offline` is just a wrapper to this new function, passing a NULL signature engine. When this function is called without signature engine, but with a sign delta, it will only fails if `sign-verify-deltas` is set to true in repo core options. This commits move signature existence check and delta signature verification to share common parts between existing APIs and the new function. Signed-off-by: Frédéric Danis <frederic.danis@collabora.com>
Diffstat (limited to 'apidoc/ostree-sections.txt')
-rw-r--r--apidoc/ostree-sections.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/apidoc/ostree-sections.txt b/apidoc/ostree-sections.txt
index 8cafeb1f..66b42233 100644
--- a/apidoc/ostree-sections.txt
+++ b/apidoc/ostree-sections.txt
@@ -412,6 +412,7 @@ ostree_repo_list_commit_objects_starting_with
ostree_repo_list_static_delta_names
OstreeStaticDeltaGenerateOpt
ostree_repo_static_delta_generate
+ostree_repo_static_delta_execute_offline_with_signature
ostree_repo_static_delta_execute_offline
ostree_repo_static_delta_verify_signature
ostree_repo_traverse_new_reachable