diff options
author | David Kalnischkies <david@kalnischkies.de> | 2015-12-17 17:41:11 +0100 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2015-12-19 23:04:34 +0100 |
commit | bc8f83a5afd858206efe518c31bbb1ac948a39a3 (patch) | |
tree | 2d061119245db869f746a99a04b707c3318f70ed /methods | |
parent | 3abb6a6a1e485b3bc899b64b0a1b7dc2db25a9c2 (diff) |
avoid evaluating shell in paths used in apt-key
apt-key creates internally a script (since ~1.1) which it will call to
avoid dealing with an array of different options in the code itself, but
while writing this script it wraps the values in "", which will cause
the shell to evaluate its content upon execution.
To make 'use' of this either set a absolute gpg command or TMPDIR to
something as interesting as:
"/tmp/This is fü\$\$ing cràzy, \$(man man | head -n1 | cut -d' ' -f1)\$!"
If such paths can be encountered in reality is a different question…
Diffstat (limited to 'methods')
0 files changed, 0 insertions, 0 deletions