diff options
author | Dan McGee <dan@archlinux.org> | 2011-08-15 15:56:58 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-08-15 22:15:11 +0200 |
commit | 11f4a7a48ebd52c69345c3baced5b14974931643 (patch) | |
tree | 4250d09bf3f4cff6a606009a64238d70e7307e08 /lib/libalpm/signing.h | |
parent | 855bc16a9eb21348be8b43273668269383aaaf96 (diff) | |
download | pacman-11f4a7a48ebd52c69345c3baced5b14974931643.tar.gz pacman-11f4a7a48ebd52c69345c3baced5b14974931643.tar.xz |
Only check necessary signatures and checksums
The precedence goes as follows: signature > sha256sum > md5sum
Add some logic and helper methods to check what we have available when
loading a package, and then only check what is necessary to verify the
package. This should speed up sync database verifies as we no longer
will be doing both a checksum and a signature validation.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/signing.h')
-rw-r--r-- | lib/libalpm/signing.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libalpm/signing.h b/lib/libalpm/signing.h index 22f6357e..d07057a2 100644 --- a/lib/libalpm/signing.h +++ b/lib/libalpm/signing.h @@ -21,6 +21,7 @@ #include "alpm.h" +char *_alpm_sigpath(alpm_handle_t *handle, const char *path); int _alpm_gpgme_checksig(alpm_handle_t *handle, const char *path, const char *base64_sig, alpm_sigresult_t *result); int _alpm_check_pgp_helper(alpm_handle_t *handle, const char *path, |