summaryrefslogtreecommitdiff
path: root/tests/basic
AgeCommit message (Collapse)Author
2010-02-18enforce --no-armor when exporting to openpgp2ssh in case weird gpg.conf ↵Daniel Kahn Gillmor
options (see bug 1625)
2010-01-18flesh out check for reasonable-looking service namesDaniel Kahn Gillmor
2010-01-18made public use of m-h show-keys instead of show-key, fixed stupid ↵Daniel Kahn Gillmor
field-numbering bug in fingerprint extraction
2010-01-18renaming host_keys.pub.gpg to host_keys.pub.pgpDaniel Kahn Gillmor
2010-01-17removed unnecessary tmpfile and repetitive keyid extraction from tests/basicDaniel Kahn Gillmor
2010-01-16fix revocation testJameson Rollins
was revoking the wrong key for the ssh test. test fully passing now!
2010-01-15Try to fix monkeysphere-host and tests/basic for revoke-key testJameson Rollins
Unfortunately there's still a problem that I can't quite figure out. gpg is for some reason failing to import that revocation certificate. Could it be because gpg can't accept ascii armored certificates as input? I'm at a loss.
2010-01-15Merge remote branch 'dkg/master'Jameson Rollins
Conflicts: tests/basic
2010-01-15tweaks to tests/basic for new monkeysphere-host uiJameson Rollins
2010-01-14added simple basic test for second key for monkeysphere-host, pulled this ↵Daniel Kahn Gillmor
time from OpenSSL
2010-01-14changed test suite variable from HOSTKEY to SSHHOSTKEY; updated path to ↵Daniel Kahn Gillmor
exported host keys (from ssh_host_rsa_key.pub.gpg to host_keys.gpg.pub)
2010-01-14updating test suite to new preferred "monkeysphere-host ↵Daniel Kahn Gillmor
{add,revoke}-servicename" subcommand
2010-01-14updated test suite to use scheme://hostname instead of raw hostname, in ↵Daniel Kahn Gillmor
preparation for multi-key monkeysphere-host
2010-01-14added test of "monkeysphere keys-for-userid"Daniel Kahn Gillmor
2009-08-01switch to using new checkperms script.Daniel Kahn Gillmor
2009-07-26ensuring that STRICT_MODES gets passed through to the monkeysphere subshell ↵Daniel Kahn Gillmor
properly, and that we set it to a literal "false" in the tests. This should resolve the FTBFS associated with MS #659
2009-07-26do not make symlinks in the cwd during the testDaniel Kahn Gillmor
2009-07-26skip tests that will not behave properly when run under a loose working ↵Daniel Kahn Gillmor
directory.
2009-07-26make sure test sets proper permissions on the admin GNUPGHOMEDaniel Kahn Gillmor
2009-07-24started preparing tests to work under loosely-permissioned temporary ↵Daniel Kahn Gillmor
directories.
2009-07-16add a 'wait' in the test ssh_test function to try to get around the race ↵Jameson Graef Rollins
condition problem
2009-07-14test revocation against alternate hostnames so that other tests can run ↵Daniel Kahn Gillmor
after the revocation tests.
2009-07-14tests/basic now tests for adding and revoking hostnames.Daniel Kahn Gillmor
2009-07-12add more tests for various cases of critical files under symlinked pathsJameson Graef Rollins
2009-07-11update test to test for cases when authorized_user_ids is a symlinkJameson Graef Rollins
2009-07-11switching keyrtrans from Digest::SHA1 to Digest::SHADaniel Kahn Gillmor
2009-06-30some small improvements to test/basic, including checking for sshdJameson Graef Rollins
2009-04-05couple of modifications to the test:Jameson Graef Rollins
- unset MONKEYSPHERE_SUBKEYS_FOR_AGENT, since it will confuse the test into trying to add the user's key to the agent. - use cpio to copy a full directory tree, instead of cp -a, since cp on Darwin doesn't understand the -a option.
2009-03-01break out default variables into their own file: defaultenvJameson Graef Rollins
this allows the common file to be sourced without reseting variables to their defaults, which was causing a problem with su_monkeysphere_user. also added some more debug messages.
2009-03-01tests no longer prompt for bash for inspection unless ↵Daniel Kahn Gillmor
MONKEYSPHERE_TEST_ALLOW_EXAMINATION=prompt (makes running them in an automated environment cleaner). prune extra PATH in tests
2009-02-22Fix how version number is saved/retrieved. Version is now stored inJameson Graef Rollins
VERSION file, which is created in the tarball target. This is then installed at /usr/share/monkeysphere/VERSION, and cat'ed when the version number is requested by the front-end ui. No more manual setting of version number required (to avoid future problems, aka "0.23.1"). This system is also more flexible, as the VERSION file could potentially hold more info than just the release number.
2009-02-21fix bug in ssh connection testJameson Graef Rollins
2009-02-21Merge commit 'dkg/master'Jameson Graef Rollins
2009-02-21cleanup of how ssh_test return code is captured in tests/basicJameson Graef Rollins
2009-02-21added new explicit checks for relevant perl modules in tests/basic.Daniel Kahn Gillmor
2009-02-21some small tweaks to the test:Jameson Graef Rollins
- force all output to go to stdout, so it's more easily grep'able - add "no-tty" to the gpgadmin function so that the gpg output goes to the right place - some small output formating improvements.
2009-02-20monkeysphere-host revoke-key should now be capable of publishing theDaniel Kahn Gillmor
revocation certificate to the keyservers directly, should the admin want that. It can also run without prompting, if MONKEYSPHERE_PROMPT=false. In the no-prompts case, it never publishes to the keyserver, it indicates that the key was compromised, and it writes a boilerplate description to make it easy to identify this kind of certificate.
2009-02-19The monkeysphere {import,gen}_subkey functions were not up-to-date.Jameson Graef Rollins
did a lot of work to bring them up-to-date, and better handle argument checking. also updated man page, changelog, and tests/basic.
2009-02-19modify import_key to take the key file to import as an argument. can be '-' ↵Jameson Graef Rollins
to import from stdin. modify man page and test accordingly.
2009-02-19shipping transition script; requiring manual version synchronization between ↵Daniel Kahn Gillmor
common and the changelog (until we come up with a more general templating build process)
2009-02-19moved directory for monkeysphere-generated authorized_keys files back to its ↵Daniel Kahn Gillmor
old location at /var/lib/monkeysphere/authorized_keys
2009-02-17bring tests/basic uptodate with the new PROMPT env variable.Jameson Graef Rollins
2009-02-17add ability to bypass prompting with a MONKEYSPHERE_PROMPT variable,Jameson Graef Rollins
for functions that prompt for confirmation. Also fix publish_key function (NOT TESTED).
2009-02-17fix a couple of left over references to expertJameson Graef Rollins
2009-02-16fix reference to HOST_FINGERPRINT in show-key, and fix some referencesJameson Graef Rollins
to "expert" in test.
2009-02-12tweak some of the log output inconsequentiallyJameson Graef Rollins
2009-02-12add list-certifiers to the basic testJameson Graef Rollins
2009-02-12tests/basic: respect $TMPDIR variable for temporary directories set up ↵Daniel Kahn Gillmor
during testing.
2009-02-12some clean up to tests/basicJameson Graef Rollins
2009-02-05tests/basic created the wrong monkeysphere-authentication.confDaniel Kahn Gillmor