summaryrefslogtreecommitdiff
path: root/tests/home
diff options
context:
space:
mode:
Diffstat (limited to 'tests/home')
-rw-r--r--tests/home/testuser/.gnupg/gpg.conf5
-rw-r--r--tests/home/testuser/.gnupg/pubring.gpgbin405 -> 1153 bytes
-rw-r--r--tests/home/testuser/.gnupg/random_seedbin600 -> 600 bytes
-rw-r--r--tests/home/testuser/.gnupg/secring.gpgbin737 -> 775 bytes
-rw-r--r--tests/home/testuser/.gnupg/trustdb.gpgbin1280 -> 1360 bytes
-rw-r--r--tests/home/testuser/.monkeysphere/authorized_user_ids1
-rw-r--r--tests/home/testuser/.monkeysphere/monkeysphere.conf3
-rwxr-xr-xtests/home/testuser/.ssh/askpass6
-rw-r--r--tests/home/testuser/.ssh/config10
-rwxr-xr-xtests/home/testuser/.ssh/proxy-command8
10 files changed, 33 insertions, 0 deletions
diff --git a/tests/home/testuser/.gnupg/gpg.conf b/tests/home/testuser/.gnupg/gpg.conf
new file mode 100644
index 0000000..f65c71b
--- /dev/null
+++ b/tests/home/testuser/.gnupg/gpg.conf
@@ -0,0 +1,5 @@
+# command to avoid depleting the system entropy
+quick-random
+# other options
+verify-options show-uid-validity
+list-options show-uid-validity
diff --git a/tests/home/testuser/.gnupg/pubring.gpg b/tests/home/testuser/.gnupg/pubring.gpg
index 8cea4b5..bef6b42 100644
--- a/tests/home/testuser/.gnupg/pubring.gpg
+++ b/tests/home/testuser/.gnupg/pubring.gpg
Binary files differ
diff --git a/tests/home/testuser/.gnupg/random_seed b/tests/home/testuser/.gnupg/random_seed
index 40ab6a6..230b315 100644
--- a/tests/home/testuser/.gnupg/random_seed
+++ b/tests/home/testuser/.gnupg/random_seed
Binary files differ
diff --git a/tests/home/testuser/.gnupg/secring.gpg b/tests/home/testuser/.gnupg/secring.gpg
index a5519a6..26cf230 100644
--- a/tests/home/testuser/.gnupg/secring.gpg
+++ b/tests/home/testuser/.gnupg/secring.gpg
Binary files differ
diff --git a/tests/home/testuser/.gnupg/trustdb.gpg b/tests/home/testuser/.gnupg/trustdb.gpg
index e67f5c8..bc946df 100644
--- a/tests/home/testuser/.gnupg/trustdb.gpg
+++ b/tests/home/testuser/.gnupg/trustdb.gpg
Binary files differ
diff --git a/tests/home/testuser/.monkeysphere/authorized_user_ids b/tests/home/testuser/.monkeysphere/authorized_user_ids
new file mode 100644
index 0000000..4b51eaf
--- /dev/null
+++ b/tests/home/testuser/.monkeysphere/authorized_user_ids
@@ -0,0 +1 @@
+Monkeysphere Test Suite Test User (DO NOT USE!!!) <testuser@example.net>
diff --git a/tests/home/testuser/.monkeysphere/monkeysphere.conf b/tests/home/testuser/.monkeysphere/monkeysphere.conf
new file mode 100644
index 0000000..59cc0cf
--- /dev/null
+++ b/tests/home/testuser/.monkeysphere/monkeysphere.conf
@@ -0,0 +1,3 @@
+# monkeysphere config for testuser in monkeysphere test suite
+
+# KNOWN_HOSTS will be dynamically defined after creation.
diff --git a/tests/home/testuser/.ssh/askpass b/tests/home/testuser/.ssh/askpass
new file mode 100755
index 0000000..5b7b059
--- /dev/null
+++ b/tests/home/testuser/.ssh/askpass
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+
+# phony/automatic askpass, to provide the passphrase for the
+# testuser's GPG key.
+
+echo abc123
diff --git a/tests/home/testuser/.ssh/config b/tests/home/testuser/.ssh/config
new file mode 100644
index 0000000..1da2344
--- /dev/null
+++ b/tests/home/testuser/.ssh/config
@@ -0,0 +1,10 @@
+# ssh config file for testuser for monkeysphere test suite.
+Host *
+PasswordAuthentication no
+KbdInteractiveAuthentication no
+RSAAuthentication no
+GSSAPIAuthentication no
+StrictHostKeyChecking yes
+LogLevel DEBUG
+
+# UserKnownHostsFile and ProxyCommand will be filled in dynamically.
diff --git a/tests/home/testuser/.ssh/proxy-command b/tests/home/testuser/.ssh/proxy-command
new file mode 100755
index 0000000..21c66fa
--- /dev/null
+++ b/tests/home/testuser/.ssh/proxy-command
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+
+# simple socket-based proxy-command wrapper for testing monkeysphere.
+
+# pass this thing the host, the port, and the socket.
+
+monkeysphere-ssh-proxycommand --no-connect "$1" "$2" && \
+exec socat STDIO UNIX:"$3"