gpg: do not use secring.gpg
It contains the secret keyring Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
1 parent
cf30f8717a
commit
f37cbe1fc9
1 file changed
+3
@@ -396,6 +396,9 @@ _ostree_gpg_verifier_add_keyring_dir (OstreeGpgVerifier *self,
|
|||||||
if (g_str_equal (name, "trustdb.gpg"))
|
if (g_str_equal (name, "trustdb.gpg"))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
if (g_str_equal (name, "secring.gpg"))
|
||||||
|
continue;
|
||||||
|
|
||||||
self->keyrings = g_list_append (self->keyrings, g_object_ref (path));
|
self->keyrings = g_list_append (self->keyrings, g_object_ref (path));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user