1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-11-15 22:05:02 -05:00
pacman/lib/libalpm
Dan McGee 11f4a7a48e 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>
2011-08-15 15:15:11 -05:00
..
po Update string catalogs after string tweaks 2011-08-09 16:00:48 -05:00
.gitignore Remove unnecessary entries from .gitignore files 2007-07-16 16:49:28 -04:00
add.c Allow fileconflict if unowned file moving into backup array 2011-07-14 15:34:04 -05:00
add.h Rename pmhandle_t to alpm_handle_t 2011-06-28 14:04:00 +10:00
alpm_list.c Convert package filelists to an array instead of linked list 2011-07-21 15:04:30 -05:00
alpm_list.h Convert package filelists to an array instead of linked list 2011-07-21 15:04:30 -05:00
alpm.c Prefix _alpm_errno_t members with ALPM 2011-07-02 02:01:39 +10:00
alpm.h Parse conflicts/provides/replaces at database load time 2011-08-15 12:56:41 -05:00
backup.c Allow fileconflict if unowned file moving into backup array 2011-07-14 15:34:04 -05:00
backup.h Allow fileconflict if unowned file moving into backup array 2011-07-14 15:34:04 -05:00
base64.c Update base64 PolarSSL code 2011-08-15 06:24:49 -05:00
base64.h Update base64 PolarSSL code 2011-08-15 06:24:49 -05:00
be_local.c Parse conflicts/provides/replaces at database load time 2011-08-15 12:56:41 -05:00
be_package.c Only check necessary signatures and checksums 2011-08-15 15:15:11 -05:00
be_sync.c Only check necessary signatures and checksums 2011-08-15 15:15:11 -05:00
conflict.c Parse conflicts/provides/replaces at database load time 2011-08-15 12:56:41 -05:00
conflict.h Convert package filelists to an array instead of linked list 2011-07-21 15:04:30 -05:00
db.c Only check necessary signatures and checksums 2011-08-15 15:15:11 -05:00
db.h Only check necessary signatures and checksums 2011-08-15 15:15:11 -05:00
delta.c Prefix alpm_loglevel_t members with ALPM 2011-07-02 02:01:38 +10:00
delta.h Rename pmdelta_t to alpm_delta_t 2011-06-28 23:28:23 +10:00
deps.c Parse conflicts/provides/replaces at database load time 2011-08-15 12:56:41 -05:00
deps.h Rename pmdepmissing_t to alpm_depmissing_t 2011-06-28 23:28:23 +10:00
diskspace.c libalpm: fix a remaining old syntax of RET_ERR() macro 2011-08-15 14:55:14 -05:00
diskspace.h Rename pmhandle_t to alpm_handle_t 2011-06-28 14:04:00 +10:00
dload.c lib/dload: avoid deleting .part file on too-slow xfer 2011-08-15 06:26:08 -05:00
dload.h absorb fileinfo struct into dload_payload 2011-07-05 23:00:03 -04:00
error.c Attempt to fix up some of the brokenness around failed package loads 2011-08-08 19:42:52 -05:00
graph.c Rename pmgraph_t to alpm_graph_t 2011-06-28 23:28:24 +10:00
graph.h Rename pmgraph_t to alpm_graph_t 2011-06-28 23:28:24 +10:00
group.c Rename internal functions with grp in their name 2011-06-29 15:52:33 +10:00
group.h Rename internal functions with grp in their name 2011-06-29 15:52:33 +10:00
handle.c Fix test suite when GPGME is disabled 2011-07-18 21:06:24 -05:00
handle.h signing: move to new signing verification and return scheme 2011-07-05 10:13:20 -05:00
log.c Prefix _alpm_errno_t members with ALPM 2011-07-02 02:01:39 +10:00
log.h Rename pmloglevel_t to alpm_loglevel_t 2011-06-28 23:28:24 +10:00
Makefile.am Add sha2 (sha256) routines from PolarSSL 2011-08-15 07:07:13 -05:00
md5.c Update MD5 routines with changes from PolarSSL 2011-08-11 20:17:21 -05:00
md5.h Update MD5 routines with changes from PolarSSL 2011-08-11 20:17:21 -05:00
package.c Parse conflicts/provides/replaces at database load time 2011-08-15 12:56:41 -05:00
package.h Validate the sha256sum if available 2011-08-15 12:13:35 -05:00
pkghash.c Rename pmpkghash_t to alpm_pkghash_t 2011-06-28 23:28:24 +10:00
pkghash.h Rename pmpkghash_t to alpm_pkghash_t 2011-06-28 23:28:24 +10:00
rawstr.c include util.h in rawstr.c 2011-07-05 22:36:40 -05:00
remove.c Dependency code style cleanups 2011-08-11 11:18:55 -05:00
remove.h Unify package removal code 2011-07-06 09:26:09 -05:00
sha2.c Add sha2 (sha256) routines from PolarSSL 2011-08-15 07:07:13 -05:00
sha2.h Add sha2 (sha256) routines from PolarSSL 2011-08-15 07:07:13 -05:00
signing.c Only check necessary signatures and checksums 2011-08-15 15:15:11 -05:00
signing.h Only check necessary signatures and checksums 2011-08-15 15:15:11 -05:00
sync.c lib/sync: ignore download errors for as long as possible 2011-08-15 14:54:21 -05:00
sync.h Rename pmhandle_t to alpm_handle_t 2011-06-28 14:04:00 +10:00
trans.c replace access() calls for debug info where applicable 2011-07-18 10:44:28 -05:00
trans.h Rename pmtransstate_t to alpm_transstate_t 2011-06-28 23:28:24 +10:00
util.c Validate the sha256sum if available 2011-08-15 12:13:35 -05:00
util.h Validate the sha256sum if available 2011-08-15 12:13:35 -05:00
version.c Style change: return(x) --> return x 2011-03-20 19:49:45 -05:00