pull: verify signature for the summary file
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
1 parent
5f33133054
commit
ef7a4dee10
3 files changed
+50
-6
No files matched your search
@@ -3373,7 +3373,7 @@ ostree_repo_add_gpg_signature_summary (OstreeRepo *self,
|
||||
if (!summary_data)
|
||||
goto out;
|
||||
|
||||
if (!ot_util_variant_map (signature_path, G_VARIANT_TYPE ("a{sv}"),
|
||||
if (!ot_util_variant_map (signature_path, G_VARIANT_TYPE (OSTREE_SUMMARY_SIG_GVARIANT_STRING),
|
||||
TRUE, &existing_signatures, &temp_error))
|
||||
{
|
||||
if (g_error_matches (temp_error, G_IO_ERROR, G_IO_ERROR_NOT_FOUND))
|
||||
|
||||
Reference in new issue
Block a user