diff options
author | Jameson Graef Rollins <jrollins@finestructure.net> | 2009-01-31 22:56:26 -0500 |
---|---|---|
committer | Jameson Graef Rollins <jrollins@finestructure.net> | 2009-01-31 22:56:26 -0500 |
commit | abedd439e7b62428e1c76baf008f2d6b1afccc5a (patch) | |
tree | a696680103c5331ee4234ed52f4963bcf951029b | |
parent | e64c19d0155230be829e0bad23a37bde16c73187 (diff) | |
parent | c396f64d3fdc5d924ee1155b66d32cf585cb8452 (diff) |
Merge commit 'micah/master'
-rwxr-xr-x | tests/basic | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/basic b/tests/basic index 0d78053..b8ab4fc 100755 --- a/tests/basic +++ b/tests/basic @@ -173,6 +173,7 @@ echo "### configuring monkeysphere..." mkdir -p -m 750 "$MONKEYSPHERE_SYSDATADIR"/host mkdir -p -m 700 "$MONKEYSPHERE_SYSDATADIR"/authentication mkdir -p -m 700 "$MONKEYSPHERE_SYSDATADIR"/authentication/authorized_keys +mkdir -p -m 750 "$MONKEYSPHERE_SYSDATADIR"/authentication/sphere mkdir -p -m 700 "$MONKEYSPHERE_SYSDATADIR"/tmp cp etc/monkeysphere/monkeysphere-server.conf "$TEMPDIR"/monkeysphere-server.conf cat <<EOF >> "$TEMPDIR"/monkeysphere-server.conf @@ -189,10 +190,10 @@ EOF # create a new host key echo "### generating server key..." # add gpg.conf with quick-random -get_gpg_prng_arg >> "$MONKEYSPHERE_SYSCONFIGDIR"/gnupg-host/gpg.conf +get_gpg_prng_arg >> "$MONKEYSPHERE_SYSCONFIGDIR"/host/gpg.conf echo | monkeysphere-host expert gen-key --length 1024 --expire 0 testhost # remove the gpg.conf -rm "$MONKEYSPHERE_SYSCONFIGDIR"/gnupg-host/gpg.conf +rm "$MONKEYSPHERE_SYSCONFIGDIR"/host/gpg.conf HOSTKEYID=$( monkeysphere-host show-key | grep '^OpenPGP fingerprint: ' | cut -f3 -d\ ) |