0brand:
Thanks!
Once that is sorted a single call of apt-key
can work inside TempalteVM, fetch the right key and add to right location. Something like this could do:
sudo GPG_EXE=gpg.anondist-orig apt-key --keyserver-options http-proxy=http://127.0.0.1:8082 --keyring /etc/apt/trusted.gpg.d/whonix.gpg adv --keyserver keys.gnupg.net --recv-keys 916B8D99C38EAF5E8ADC7A2A8D66066A2EEACCDA
Can
bash -x
be used for better debug for many different commands or just a select few?
Only the ones written in bash
. To find out which program-name
. Open
in an editor.
kwrite `which apt-key`
The first line will say #!/bin/bash
.
Those written in sh
will say #!/bin/sh
and can be debugged with sh -x program-name
.