summaryrefslogtreecommitdiff
path: root/src/adb.h
AgeCommit message (Collapse)AuthorFilesLines
2022-02-01mkpkg, adb: validate version and dependency formatTimo Teräs1-1/+1
Fail if the package or dependency version format is not valid. fixes #10807
2021-10-25mkpkg: make unique-id field a blobTimo Teräs1-0/+1
2021-08-23extract: support v3 index verificationTimo Teräs1-0/+1
2021-07-22adb: add a small adb blob header with versions and root objectTimo Teräs1-0/+7
2021-07-22adb: refactor struct adb_header to adb_file_headerTimo Teräs1-3/+3
In struct adb, do not keep the whole header, just the schema in host byte order.
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: remove the now unused get_default_int() hookTimo Teräs1-1/+0
It is no longer needed, and can be later reintroduced if needed.
2021-07-22adb: unify various interfaces to adb_m_processTimo Teräs1-21/+11
Removes code duplication, and puts important checks in one place. Support seamless decompression in adbdump.
2021-07-22adb: support seamless de/compression of adb filesTimo Teräs1-0/+10
Add compression header of adb files. Support uncompressed and deflate compression at this time.
2021-06-19crypto: improve compatibilityTimo Teräs1-1/+1
EVP_MD_CTX_set_pkey_ctx() is fairly new openssl function, and not existing in many alternative. Use EVP_MD_CTX_reset() which is slightly more heavy but more portable. Add also signature buffer lengths to work with RSA.
2021-06-11extract: new applet to extract v2 packagesTimo Teräs1-0/+3
2021-06-11add basic abstraction for cryptographic operationsTimo Teräs1-7/+1
- basic digesting and signing apis (subject still to fine tuning) - update digest code, and adb signing for the thin wrapping layer - old v1 package and database handling not updated - default mkpkg file hash to sha256 ref #10744
2021-06-11mkpkg: new applet to create v2 packages with basic functionalityTimo Teräs1-4/+18
2021-06-11genadb: fix maximum inner adb limit checkingTimo Teräs1-1/+2
2021-06-02add adbgen applet to generate databases from it's text dumpTimo Teräs1-1/+18
2021-05-26add abstraction to adb "walking" - a sax like API to enumerate whole dbTimo Teräs1-0/+35
This converts 'adbdump' applet to generate adb_walk api callbacks, and implement gentext backend to generate the yaml-like text output.
2020-10-09rename adb_trust to apk_trust, and use it as package signature keystore tooTimo Teräs1-25/+6
2020-10-09minor performance improvements on build and codeTimo Teräs1-0/+1
2020-10-09adb: improve sorting features, sort installed-db package listingTimo Teräs1-3/+5
2020-10-09adb: introduce apk-tools database format, and few appletsTimo Teräs1-0/+255
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.