summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-15Major rework of monkeysphere-host to handle multiple host keys.Jameson Rollins
This rework removes any assumption that monkeysphere-host is just managing a single host key, or that the keys are used specifically for ssh. The UI is exactly backwards compatible except that hostnames ('example.com') must be replaced by full service names ('ssh://example.com'). This incarnation passes the old tests with those changes only. There are a couple of things that still need to be done: - need to see if a transition script is needed (some local file names have changed) - need to fill in check_service_name function to verify that a specified service name fits the expected format. - update diagnostics appropriately
2010-01-15add trap to remove temp dir in list_primary_fingerprints functionJameson Rollins
2010-01-12touching up the switch to keys-for-useridDaniel Kahn Gillmor
2010-01-11rename keys-from-userid command to more accurate keys-for-useridJameson Rollins
leave the old command for now, but warn as deprecated.
2010-01-11normalize output for monkeysphere when no subcommand is issued or when an ↵Daniel Kahn Gillmor
unknown subcommand is issued
2010-01-11fix invocation without subcommands to call usage function and exit 1 explicitllyJameson Rollins
2010-01-11add standard --version option for version outputJameson Rollins
2010-01-10Merge remote branch 'mjgoins/master'Jameson Rollins
2010-01-10Merge branch 'master' of git://labs.riseup.net/~micah/monkeysphereMatthew James Goins
2010-01-10Fix patch for gen_key to test gpg version.Jameson Rollins
This patch checks the version of gpg (for v1 and v2) and sets the key type command for the gen_subkey gpg edit-key script appropriately.
2010-01-10added notes about what version needs what keyTypeDaniel Kahn Gillmor
2010-01-10Add new keys-from-userid subcommand to monkeysphere UI.Jameson Rollins
This new subcommand calls a new function, keys_from_userid, that outputs to stdout all acceptable keys for a given user ID literal.
2010-01-10Clean up REQUIRED_KEY_CAPABILITY option passing to process_user_id.Jameson Rollins
Get rid of 'MODE' stuff, since it was not very clear and wasn't really being used.
2010-01-04Its more useful and standard to actually output the 'help' output whenMicah Anderson
an improper number of arguments is passed, rather output a line telling the user how to get the help output.
2009-12-20fix ms Issue #1536 for gpg edit/addkey UI changeJameson Graef Rollins
gnupg apparently changed their edit-key/addkey function ordering such that the monkeysphere gen-subkey subcommand was creating DSA authentication subkeys instead of RSA subkeys. DSA subkeys are not supported by the ms key translation utilities, so this is a big problem. This patch fixes the problem, but it means that we have require gnupg >=1.4.10 from now on, or at least until gnupg changes their UI again for no good reason.
2009-12-12hush up m-a setup because the dd was making noiseDaniel Kahn Gillmor
2009-09-24avoid noisy warning message when ssh-askpass not availableDaniel Kahn Gillmor
2009-08-01cleaning up log function in checkperms for future expandability.Daniel Kahn Gillmor
2009-08-01swap order of bitwise and to avoid confusion in perl < 5.10Daniel Kahn Gillmor
2009-08-01removing duplicate check that snuck in somehowDaniel Kahn Gillmor
2009-08-01attempting to resolve MS #675Daniel Kahn Gillmor
2009-08-01switch to using new checkperms script.Daniel Kahn Gillmor
2009-08-01whitespace fixing and using environment variables exported from monkeysphere ↵Daniel Kahn Gillmor
for checkperms.
2009-08-01export LOG_PREFIX in monkeysphereJameson Graef Rollins
2009-08-01added new perl script to check permissions.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-26added MONKEYSPHERE_STRICT_MODES environment option to disable permissions ↵Daniel Kahn Gillmor
checking.
2009-07-24small bug fix, and readbility improvementsJameson Graef Rollins
2009-07-24Revert "proposed fix for #1147 by checking for known_hosts file"Jameson Graef Rollins
This reverts commit 189781e00c89227612942ff7dc30eaa756cb78ae. This is reverted because we're going with dkg's better solution.
2009-07-24Merge commit 'dkg/master'Jameson Graef Rollins
2009-07-24shoring up known_hosts creation with proper umask and with multi-level ↵Daniel Kahn Gillmor
directory creation.
2009-07-24make sure we check for the host key existence in the correct known_hosts file.Daniel Kahn Gillmor
do not look for a host key in a non-existant file. (should close MS 1147)
2009-07-24make failures with unwritable known_hosts slightly less cryptic.Daniel Kahn Gillmor
2009-07-24Merge commit 'dkg/master'Jameson Graef Rollins
2009-07-24only touch the known_hosts file if it does not exist, and create the parent ↵Daniel Kahn Gillmor
directory if it does not exist. if more than one level of enclosing directory does not exist, this will fail cryptically.
2009-07-24improve the marginal ui a bit. note number of invalid keys. closes ms #1141Jameson Graef Rollins
2009-07-24proposed fix for #1147 by checking for known_hosts fileJameson Graef Rollins
2009-07-23proposed fix to marginal ui in case where host key not retrieved (should fix ↵Jameson Graef Rollins
1141)
2009-07-18add refresh-keys subcommand to monkeysphere-authenticationJameson Graef Rollins
2009-07-14improvements monkeysphere-host diagnosticsJameson Graef Rollins
I made a couple of improvements to the mh diagnostics script, including rearranging some of the test, to try to better handle some of the possible low-level failures that one might run into. Hopefully this will be a little more informative. closes MS #624.
2009-07-14make sure that revokehostname sees the pieces it needs to see in order to ↵Daniel Kahn Gillmor
create a useful revocation certificate.
2009-07-14ensure proper usage flags on new hostname selfsigsDaniel Kahn Gillmor
2009-07-14simplifying find_host_user_id function.Daniel Kahn Gillmor
2009-07-14fixing find_host_userid -- did this ever work?Daniel Kahn Gillmor
2009-07-14tests/basic now tests for adding and revoking hostnames.Daniel Kahn Gillmor
2009-07-14fixing typo and thinko in keytransDaniel Kahn Gillmor
2009-07-14monkeysphere-host add-hostname now uses perl backend.Daniel Kahn Gillmor
2009-07-14added tests to keytrans add and revoke user ID functionalityDaniel Kahn Gillmor
2009-07-13implemented adding user IDs as well.Daniel Kahn Gillmor