diff options
author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2010-01-14 21:18:56 -0500 |
---|---|---|
committer | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2010-01-14 21:18:56 -0500 |
commit | d31c6e8ae587c69731b3cead53358a5b6ddb88ea (patch) | |
tree | 4dc30320a736ff12da44fd190ef8c82322f32b78 /tests | |
parent | 820957fe7d0af5ee5d916bd948b2ee0750fe73ea (diff) |
added test of "monkeysphere keys-for-userid"
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/basic | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/basic b/tests/basic index 6fe3237..de8a659 100755 --- a/tests/basic +++ b/tests/basic @@ -10,7 +10,7 @@ # 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. @@ -340,6 +340,12 @@ monkeysphere-authentication update-users $(whoami) ###################################################################### ### 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 |