pacman/doc
Eli Schwartz 635a9c911c pacman-key: just accept one file to verify, and enforce detached sigs
Simply pass options on to gpg the same way gpg uses them -- no looping
through and checking lots of signatures.

This prevents a situation where the signature file to be verified is
manipulated to contain an embedded signature which is valid, but not a
detached signature for the file you are actually trying to verify.

gpg does not offer an option to verify many files at once by naming each
signature/file pair, and there's no reason for us to do so either, since
it would be quite tiresome to do so.

In the event that there is no signature/file pair specified to
pacman-key itself,

- preserve gpg's behavior, *if* the matching file does not exist, by
 - assuming the signature is an embedded signature
- deviate from gpg's behavior, by
 - offering a security warning about which one is happening
 - when there is an embedded signature *and* a matching detached file,
   assume the latter is desired

Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
2018-11-03 21:56:09 +10:00
..
.gitignore Dynamically generate Doxyfile from input 2018-10-23 12:13:18 -04:00
alpm-hooks.5.asciidoc alpm-hooks.5: include more information on hook files 2018-07-27 11:04:02 +10:00
asciidoc-override.css doc: update .gitignore, add CSS override for new tables usage 2011-10-13 14:53:52 -05:00
asciidoc.conf doc: add a few more escapes and fix usage of {} 2011-06-01 11:46:13 -05:00
BUILDINFO.5.asciidoc Ensure better text editor automatic filetype detection 2018-05-14 09:59:17 +10:00
Doxyfile.in Dynamically generate Doxyfile from input 2018-10-23 12:13:18 -04:00
footer.asciidoc Ensure better text editor automatic filetype detection 2018-05-14 09:59:17 +10:00
index.asciidoc Release v5.1.1 2018-07-27 11:43:39 +10:00
libalpm.3.asciidoc Ensure better text editor automatic filetype detection 2018-05-14 09:59:17 +10:00
Makefile.am Dynamically generate Doxyfile from input 2018-10-23 12:13:18 -04:00
makepkg-template.1.asciidoc Ensure better text editor automatic filetype detection 2018-05-14 09:59:17 +10:00
makepkg.8.asciidoc Ensure better text editor automatic filetype detection 2018-05-14 09:59:17 +10:00
makepkg.conf.5.asciidoc makepkg: add support for the zst format 2018-09-19 18:15:29 +10:00
meson.build Add meson.build files to build with meson 2018-11-02 03:16:34 -04:00
pacman-key.8.asciidoc pacman-key: just accept one file to verify, and enforce detached sigs 2018-11-03 21:56:09 +10:00
pacman.8.asciidoc Revert "Deprecate --root in favour of --sysroot" 2018-07-25 09:50:26 +10:00
pacman.conf.5.asciidoc doc: Remove double spaces 2018-09-19 00:52:48 +10:00
PKGBUILD-example.txt Update example PKGBUILD 2013-05-29 14:08:03 +10:00
PKGBUILD.5.asciidoc PKGBUILD(5): Remove reference to ChangeLog prototype inclusion 2018-06-19 20:44:14 +10:00
pkgdelta.8.asciidoc Ensure better text editor automatic filetype detection 2018-05-14 09:59:17 +10:00
repo-add.8.asciidoc Ensure better text editor automatic filetype detection 2018-05-14 09:59:17 +10:00
submitting-patches.asciidoc doc: Remove double spaces 2018-09-19 00:52:48 +10:00
translation-help.asciidoc Ensure better text editor automatic filetype detection 2018-05-14 09:59:17 +10:00
vercmp.8.asciidoc Ensure better text editor automatic filetype detection 2018-05-14 09:59:17 +10:00