]> git.saurik.com Git - apt.git/commit
warn if apt-key is run unconditionally in maintainerscript
authorDavid Kalnischkies <david@kalnischkies.de>
Sun, 1 May 2016 12:43:23 +0000 (14:43 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Sun, 1 May 2016 13:50:04 +0000 (15:50 +0200)
commit5f17b19f8f99eb6f80a10846d5891f53c16178dc
tree2f4e25ca49f00bea59ce43393d52909e9d8a7925
parent87d468fe355c87325c943c40043a0bb236b2407f
warn if apt-key is run unconditionally in maintainerscript

We want to stop hard-depending on gnupg and for this it is essential
that apt-key isn't used in any critical execution path, which
maintainerscript are. Especially as it is likely that these script call
apt-key either only for (potentially now outdated cleanup) or still not
use the much simpler trusted.gpg.d infrastructure.
cmdline/apt-key.in
test/integration/test-apt-key-used-in-maintainerscript [new file with mode: 0755]