diff options
Diffstat (limited to 'src/app_index.c')
-rw-r--r-- | src/app_index.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app_index.c b/src/app_index.c index b8c3461..2a0a912 100644 --- a/src/app_index.c +++ b/src/app_index.c @@ -183,7 +183,7 @@ static int index_main(void *ctx, struct apk_database *db, struct apk_string_arra if (!found) { struct apk_sign_ctx sctx; - apk_sign_ctx_init(&sctx, ictx->method, NULL, db->keys_fd); + apk_sign_ctx_init(&sctx, ictx->method, NULL, db->keys_fd, db->flags & APK_ALLOW_UNTRUSTED); r = apk_pkg_read(db, *parg, &sctx, &pkg); if (r < 0) { apk_error("%s: %s", *parg, apk_error_str(r)); |