libostree: Add API to append a GPG signature
This will be used by rpm-ostree which needs to use an external program to sign commits.
This commit is contained in:
1 parent
4995352fe0
commit
cbc11f42e5
2 files changed
+77
-44
No files matched your search
@@ -521,6 +521,12 @@ gboolean ostree_repo_sign_commit (OstreeRepo *self,
|
||||
GCancellable *cancellable,
|
||||
GError **error);
|
||||
|
||||
gboolean ostree_repo_append_gpg_signature (OstreeRepo *self,
|
||||
const gchar *commit_checksum,
|
||||
GBytes *signature_bytes,
|
||||
GCancellable *cancellable,
|
||||
GError **error);
|
||||
|
||||
gboolean ostree_repo_verify_commit (OstreeRepo *self,
|
||||
const gchar *commit_checksum,
|
||||
GFile *keyringdir,
|
||||
|
||||
Reference in new issue
Block a user