summaryrefslogtreecommitdiff
path: root/src/extract_v2.c
AgeCommit message (Collapse)AuthorFilesLines
2021-11-15extract_v2: handle "untrusted package" as normal errorTimo Teräs1-1/+1
The "untrusted" error is higher priority than malformed package. But given that we expect valid .apk or index as argument, the untrusted error is likely more accurate than having malformed package.
2021-08-03extract: fix extracting untrusted packageTimo Teräs1-3/+3
2021-07-30verify: support v3 packagesTimo Teräs1-1/+1
2021-07-27Further refactor extract API to have separate ops vtableTimo Teräs1-14/+62
This splits the callbacks by type, and further prepares the API to be usable for v3 files too.
2021-07-27Refactor .apk extraction codeTimo Teräs1-0/+347
This moves and isolates the tar code to tar.c. And the actual file extraction to disk is moved to extract.c. A new API is introduced and used for v2 file extraction. This essentially moves and isolates the apk_sign_ctx_* beast into extract_v2.c and offers a saner interface to handling packages. A place holder is added for v3 extraction.