summaryrefslogtreecommitdiff
path: root/src/app_adbsign.c
AgeCommit message (Collapse)AuthorFilesLines
2021-07-22adb: make adb mmap/stream parser more united, add ADB_BLOCK_DATAXTimo Teräs1-2/+3
Harden the error checking of expected block types and their order. Add ADB_BLOCK_DATAX as reserved for >1GB blocks.
2021-07-22adb: unify various interfaces to adb_m_processTimo Teräs1-19/+32
Removes code duplication, and puts important checks in one place. Support seamless decompression in adbdump.
2021-07-22adbsign: support compressed adb filesTimo Teräs1-2/+3
2021-06-19fixup some includesTimo Teräs1-1/+0
- remove unneeded assert.h - add needed limits.h
2021-06-11mkpkg: new applet to create v2 packages with basic functionalityTimo Teräs1-1/+1
2020-10-09rename adb_trust to apk_trust, and use it as package signature keystore tooTimo Teräs1-1/+1
2020-10-09make apk_database optional for applets that don't need itTimo Teräs1-6/+6
The new v3 applets don't use it, and eventually all applets will use the new formats only. This prepares the code for this, and moves trust, id_cache, and root_fd to apk_ctx which is enough for v3 applets at this time. The generic code is made to not initialize apk_database if it's not needed.
2020-10-09rename apk_db_options to apk_ctx, rework loggingTimo Teräs1-2/+3
makes apk_verbosity non-global fixes #10682
2020-10-09io: make ostream_file always use tmpnameTimo Teräs1-10/+5
2020-10-09adb: introduce apk-tools database format, and few appletsTimo Teräs1-0/+97
This is a flat buffers inspired format that allows fast mmaped access to the data with low overhead, signature support and relatively good forward support.