From ee5d0f350f522604d6f068b8a053fc5c6d896e5d Mon Sep 17 00:00:00 2001 From: Denis Pynkin Date: Fri, 24 Apr 2020 16:34:50 +0000 Subject: [PATCH] signapi: expose metadata format and key Explicitly expose functions for querying the metadata format and key name used by OstreeSign object: - ostree_sign_metadata_format - ostree_sign_metadata_key This allows to use the same metadata format and key name by 3-rd party applications using signapi. Signed-off-by: Denis Pynkin --- apidoc/ostree-sections.txt | 2 ++ src/libostree/libostree-devel.sym | 2 ++ 2 files changed, 4 insertions(+) diff --git a/apidoc/ostree-sections.txt b/apidoc/ostree-sections.txt index 4dcdc482..5586262a 100644 --- a/apidoc/ostree-sections.txt +++ b/apidoc/ostree-sections.txt @@ -719,6 +719,8 @@ ostree_sign_get_name ostree_sign_add_pk ostree_sign_clear_keys ostree_sign_load_pk +ostree_sign_metadata_format +ostree_sign_metadata_key ostree_sign_set_pk ostree_sign_set_sk ostree_sign_summary diff --git a/src/libostree/libostree-devel.sym b/src/libostree/libostree-devel.sym index 4348ab8d..9c6157a8 100644 --- a/src/libostree/libostree-devel.sym +++ b/src/libostree/libostree-devel.sym @@ -32,6 +32,8 @@ global: ostree_sign_get_name; ostree_sign_clear_keys; ostree_sign_load_pk; + ostree_sign_metadata_format; + ostree_sign_metadata_key; ostree_sign_set_pk; ostree_sign_add_pk; ostree_sign_set_sk;