summaryrefslogtreecommitdiff
path: root/tests/basic
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2009-02-01 02:27:58 -0500
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2009-02-01 02:27:58 -0500
commit6b09adf78d79ea76849a43f4af4335a7a89b10c7 (patch)
tree2c9674e288e9564ecad93ea5901dc6c0bb5c0c1e /tests/basic
parentebb12157ce060b27c2740e9bef241ce4a74aff70 (diff)
removed some unnecessary setup from the basic test, pulling the random string from /dev/urandom; generating the authentication trust core key at 2048 bits
Diffstat (limited to 'tests/basic')
-rwxr-xr-xtests/basic5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/basic b/tests/basic
index bf6a364..c3d3208 100755
--- a/tests/basic
+++ b/tests/basic
@@ -204,14 +204,11 @@ cp "$TESTDIR"/etc/monkeysphere/monkeysphere-authentication.conf "$TEMPDIR"/
cat <<EOF >> "$TEMPDIR"/monkeysphere-authentication.conf
AUTHORIZED_USER_IDS="$MONKEYSPHERE_HOME/authentication/authorized_user_ids"
EOF
-cat <<EOF > "$MONKEYSPHERE_SYSDATADIR"/authentication/sphere/gpg.conf
-primary-keyring ${MONKEYSPHERE_SYSDATADIR}/authentication/sphere/pubring.gpg
-keyring ${MONKEYSPHERE_SYSDATADIR}/authentication/core/pubring.gpg
-EOF
# setup server authentication
echo "### setting up server authentication..."
monkeysphere-authentication setup
+get_gpg_prng_arg >> "$MONKEYSPHERE_SYSDATADIR"/authentication/sphere/gpg.conf
# add admin as identity certifier for testhost
echo "### adding admin as certifier..."