pacman/lib/libalpm
Allan McRae e8462a4f88 Support new OpenPGP format packets lengths
RFC 4880 defines two packet formats for OpenPGP.  Pacman aborted its key
in keyring check with an error message if it encountered the new format.
This was fine until some annoying Arch Trusted User generated a key
using the new format!

Implement the new format.  This also required parsing the hashed sub
packets. requiring the parsing code to moved to its own function.

Signed-off-by: Allan McRae <allan@archlinux.org>
2018-01-11 15:58:05 +10:00
..
po Regenerate translations for 5.0.1 2016-02-23 13:09:39 +10:00
.gitignore libalpm: add pkg-config file 2012-04-25 20:02:36 -04:00
add.c libalpm: Use archive_read_extract2 2017-04-12 11:44:56 +10:00
add.h Update copyright years 2017-01-04 13:59:14 +10:00
alpm.c fix typo in libalpm comment 2017-07-06 12:54:34 +10:00
alpm.h add --overwrite option to ignore file conflicts 2017-04-12 11:47:33 +10:00
alpm_list.c alpm_list: abort on memory allocation failure 2017-07-06 14:48:03 +10:00
alpm_list.h add alpm_list_append_strdup 2017-04-04 12:03:22 +10:00
backup.c Update copyright years 2017-01-04 13:59:14 +10:00
backup.h Update copyright years 2017-01-04 13:59:14 +10:00
base64.c base64.c: comment out unused variable 2014-01-15 15:54:56 +10:00
base64.h Do not #define _RESERVED_IDENTIFIERS 2016-09-25 18:04:57 +10:00
be_local.c detect pkghash allocation failure 2018-01-10 10:52:26 +10:00
be_package.c Add alpm_pkg_get_makedepends and alpm_pkg_get_checkdepends 2017-01-04 13:59:15 +10:00
be_sync.c add missing newline to debug message 2018-01-10 10:53:15 +10:00
conflict.c conflict: include owner for filesystem conflicts 2017-04-16 19:41:35 -04:00
conflict.h Update copyright years 2017-01-04 13:59:14 +10:00
db.c detect pkghash allocation failure 2018-01-10 10:52:26 +10:00
db.h Update copyright years 2017-01-04 13:59:14 +10:00
delta.c Fix brace coding style issues 2017-07-28 12:34:03 +10:00
delta.h Update copyright years 2017-01-04 13:59:14 +10:00
deps.c do not rely on name hashes for matching 2018-01-06 13:35:48 +10:00
deps.h Update copyright years 2017-01-04 13:59:14 +10:00
diskspace.c Update copyright years 2017-01-04 13:59:14 +10:00
diskspace.h Update copyright years 2017-01-04 13:59:14 +10:00
dload.c dload: ensure callback is always initialized once 2018-01-06 12:59:32 +10:00
dload.h dload: ensure callback is always initialized once 2018-01-06 12:59:32 +10:00
error.c Update copyright years 2017-01-04 13:59:14 +10:00
filelist.c filelist_sort: check if filelist is presorted 2017-01-04 13:59:15 +10:00
filelist.h add _alpm_filelist_sort 2017-01-04 13:59:15 +10:00
graph.c Update copyright years 2017-01-04 13:59:14 +10:00
graph.h graph.h: rename childptr -> iterator 2017-04-16 08:29:54 -04:00
group.c Update copyright years 2017-01-04 13:59:14 +10:00
group.h Update copyright years 2017-01-04 13:59:14 +10:00
handle.c alpm_unlock: check handle before dereferencing 2017-05-16 12:38:58 +10:00
handle.h add --overwrite option to ignore file conflicts 2017-04-12 11:47:33 +10:00
hook.c Update copyright years 2017-01-04 13:59:14 +10:00
hook.h Update copyright years 2017-01-04 13:59:14 +10:00
ini.c run hooks during trans_commit 2015-10-18 10:59:23 +10:00
ini.h run hooks during trans_commit 2015-10-18 10:59:23 +10:00
libalpm.pc.in Allow replacing libcrypto with libnettle in pacman 2016-10-22 20:50:55 +10:00
libarchive-compat.h Update copyright years 2017-01-04 13:59:14 +10:00
log.c Update copyright years 2017-01-04 13:59:14 +10:00
log.h Update copyright years 2017-01-04 13:59:14 +10:00
Makefile.am Allow replacing libcrypto with libnettle in pacman 2016-10-22 20:50:55 +10:00
package.c Fix memory leak in alpm_pkg_checkmd5sum 2017-01-04 15:24:23 +10:00
package.h Add alpm_pkg_get_makedepends and alpm_pkg_get_checkdepends 2017-01-04 13:59:15 +10:00
pkghash.c detect pkghash allocation failure 2018-01-10 10:52:26 +10:00
pkghash.h detect pkghash allocation failure 2018-01-10 10:52:26 +10:00
rawstr.c Remove ts and sw from vim modeline when noet is set 2014-01-28 20:19:25 +10:00
remove.c unlink_file: strip trailing slashes 2017-04-16 19:41:35 -04:00
remove.h Update copyright years 2017-01-04 13:59:14 +10:00
signing.c Support new OpenPGP format packets lengths 2018-01-11 15:58:05 +10:00
signing.h Update copyright years 2017-01-04 13:59:14 +10:00
sync.c Fix brace coding style issues 2017-07-28 12:34:03 +10:00
sync.h Update copyright years 2017-01-04 13:59:14 +10:00
trans.c Ignore comments in INSTALL files (FS#51916) 2017-04-04 11:54:36 +10:00
trans.h Update copyright years 2017-01-04 13:59:14 +10:00
util-common.c Split common utility functions for libalpm and pacman 2013-01-04 21:49:37 +10:00
util-common.h Split common utility functions for libalpm and pacman 2013-01-04 21:49:37 +10:00
util.c run_chroot: label pipe endpoints for readability 2017-04-16 19:41:35 -04:00
util.h Update copyright years 2017-01-04 13:59:14 +10:00
version.c Update copyright years 2017-01-04 13:59:14 +10:00