projects
/
monkeysphere.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
820957f
)
added test of "monkeysphere keys-for-userid"
author
Daniel Kahn Gillmor
<dkg@fifthhorseman.net>
Fri, 15 Jan 2010 02:18:56 +0000
(21:18 -0500)
committer
Daniel Kahn Gillmor
<dkg@fifthhorseman.net>
Fri, 15 Jan 2010 02:18:56 +0000
(21:18 -0500)
tests/basic
patch
|
blob
|
history
diff --git
a/tests/basic
b/tests/basic
index 6fe323798052523612d3db2964933fabf0847d32..de8a6591bd88ba1c15507a774e1ec1dabea6deb0 100755
(executable)
--- a/
tests/basic
+++ b/
tests/basic
@@
-10,7
+10,7
@@
# Jameson Rollins <jrollins@fifthhorseman.net>
# Micah Anderson <micah@riseup.net>
#
# Jameson Rollins <jrollins@fifthhorseman.net>
# Micah Anderson <micah@riseup.net>
#
-# Copyright:
2008-2009
+# Copyright:
© 2008-2010
# License: GPL v3 or later
# these tests should all be able to run as a non-privileged user.
# License: GPL v3 or later
# these tests should all be able to run as a non-privileged user.
@@
-340,6
+340,12
@@
monkeysphere-authentication update-users $(whoami)
######################################################################
### TESTS
######################################################################
### TESTS
+## see whether keys-for-userid works from the client's perspective:
+echo
+echo "##################################################"
+echo "### testing monkeysphere keys-for-userid ..."
+diff -q <( monkeysphere keys-for-userid ssh://testhost ) <( cut -f1,2 -d' ' < "$TEMPDIR"/ssh_host_rsa_key.pub )
+
# connect to test sshd, using monkeysphere ssh-proxycommand to verify
# the identity before connection. This should work in both directions!
echo
# connect to test sshd, using monkeysphere ssh-proxycommand to verify
# the identity before connection. This should work in both directions!
echo