summaryrefslogtreecommitdiff
path: root/src/context.c
AgeCommit message (Collapse)AuthorFilesLines
2021-06-11extract: add experimental support for uvol volumesTimo Teräs1-0/+1
2021-06-11add basic abstraction for cryptographic operationsTimo Teräs1-1/+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-03-19Log to /var/log/apk.logDrew DeVault1-0/+16
This adds a log file at /var/log/apk.log. On each run, apk's version information and the current date & time are written to this file, followed by any normal apk output.
2021-03-19database: do not chroot(".") unless actually necessaryAriadne Conill1-0/+1
If we use default root (/), then we do not have to chroot to run scripts. Use APK_NO_CHROOT flag for this scenario to avoid the chroot. This helps with using apk with bwrap and OSTree. Closes #10736.
2020-10-09rename adb_trust to apk_trust, and use it as package signature keystore tooTimo Teräs1-9/+6
2020-10-09make apk_database optional for applets that don't need itTimo Teräs1-0/+51
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-0/+27
makes apk_verbosity non-global fixes #10682