## set up some variables to ensure that we're operating strictly in
## the tests, not system-wide:
## set up some variables to ensure that we're operating strictly in
## the tests, not system-wide:
GNUPGHOME="$MONKEYSPHERE_SYSCONFIGDIR"/host gpg --armor --export "$HOSTKEYID" | gpgadmin --import
echo y | gpgadmin --command-fd 0 --sign-key "$HOSTKEYID"
GNUPGHOME="$MONKEYSPHERE_SYSCONFIGDIR"/host gpg --armor --export "$HOSTKEYID" | gpgadmin --import
echo y | gpgadmin --command-fd 0 --sign-key "$HOSTKEYID"
# FIXME: how can we test publish-key without flooding junk into the
# keyservers?
# FIXME: should we run "diagnostics" here to test setup?
# FIXME: how can we test publish-key without flooding junk into the
# keyservers?
# FIXME: should we run "diagnostics" here to test setup?