Go to file
Aydin Mercan 0b7d6dfbf2
crypto: start seperating public/private key usage
Digests now use bearssl + libsodium instead of openssl + libsodium.
It fits better with the API looking more similar and I don't think it
will be that much of a bottleneck.

Instead of a apk_pkey that mimicks the EVP_PKEY semantics, have seperate
public and private key structures. However, apk is broken because of it
and needs fixing. The rest of the code might compile but won't work
as I haven't handled the cases where pkey corressponds to public/private
keys in codebase properly. Also, DSA signatures are removed.

Public and private keys impls' now use a static array of vtables
internally. The indicies correspond to the signature scheme version and
checking `< APK_*_MAX` should be enough? I tried to make so that higher
values correspond to more desirable constructs, this might come in handy.

Signing/verifying start is free from keys as it isn't used though it
might be brought back for domain seperated hashes, ability to get
timestamps involved with epheremal keys in the future etc.

`apk_crypto.h` is free from openssl includes although some headers still
use them for now.
2022-08-24 10:15:14 +03:00
doc fetch: implement --world 2022-05-04 19:56:04 +03:00
libfetch portability, fetch: drop static_deps dependencies 2022-03-07 13:04:05 +01:00
portability portability: check for qsort_r which does not match POSIX-next definition 2022-04-11 09:35:47 +03:00
scripts scripts: add script to generate APK cross file 2020-10-09 16:09:19 +03:00
src crypto: start seperating public/private key usage 2022-08-24 10:15:14 +03:00
test solver: do not auto select virtual-only package with one provider 2022-02-24 14:18:41 +02:00
tests version: increase number of digits supported in version component 2021-10-25 13:30:40 +03:00
.gitignore gitignore: add build/ 2021-12-29 07:53:17 +00:00
.gitlab-ci.yml ci: use meson on debian, not legacy build system 2021-12-29 20:14:41 +02:00
.mailmap update mailmap with my newer email 2020-08-29 17:31:30 +03:00
AUTHORS Initial commit of some stuff written so far. Still in state of flux. Expect 2008-04-17 14:09:13 +00:00
LICENSE add LICENSE 2020-05-07 10:45:34 +03:00
Make.rules Correct a typo in Make.rules 2022-08-15 13:04:45 +00:00
Makefile apk-tools-2.12.0 2020-10-09 14:18:45 +03:00
README.md readme: fix name of doc directory 2020-02-23 18:55:19 +01:00
meson.build crypto: start seperating public/private key usage 2022-08-24 10:15:14 +03:00
meson_options.txt use arch_prefix for this feature instead 2022-03-30 09:17:25 +00:00

README.md

Alpine Package Keeper

Alpine Package Keeper (apk) is a package manager developed for Alpine Linux.

Online documentation is available in the doc/ directory in the form of man pages.