Skip to content
Snippets Groups Projects
Commit 9a3c1ead authored by Bob Mottram's avatar Bob Mottram
Browse files

torify gpg operations in admin control panel

parent 543b68aa
No related branches found
No related tags found
No related merge requests found
......@@ -1518,8 +1518,8 @@ function monkeysphere_sign_server_keys {
if [ ${#line} -gt 2 ]; then
fpr=$(gpg --with-colons --fingerprint "$line" | grep fpr | head -n 1 | awk -F ':' '{print $10}')
if [ ${#fpr} -gt 2 ]; then
if gpg --sign-key "$fpr"; then
gpg --update-trustdb
if torify gpg --sign-key "$fpr"; then
torify gpg --update-trustdb
keys_signed=1
fi
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment