summaryrefslogtreecommitdiff
path: root/debian/libapt-pkg-doc.doc-base.files
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2013-07-11 20:07:22 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2013-08-12 18:01:37 +0200
commitc0a013221d296e97d68b4e9a66fef5c886d2bbb0 (patch)
tree26db1a3a6114fb3a53d0b79bf78edbe92fed6aa3 /debian/libapt-pkg-doc.doc-base.files
parent3dc55197095e0536aae4d5c0c91e28bfd4740ec6 (diff)
always use our own trustdb.gpg in apt-key
APT doesn't care for the trustdb.gpg, but gnupg requires one even for the simplest commands, so we either use the one root has available in /etc or if we don't have access to it (as only root can read that file) we create a temporary directory to store a trustdb.gpg in it. We can't create just a temporary file as gpg requires the given trustdb.gpg file to be valid (if it exists), so we would have to remove the file before calling gnupg which would allow mktemp (and co) to hand exactly this filename out to another program (unlikely, but still).
Diffstat (limited to 'debian/libapt-pkg-doc.doc-base.files')
0 files changed, 0 insertions, 0 deletions