summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-10-18fix process_keys_for_file so that it can accept '-' as a file, and send ↵Jameson Rollins
output to stdout.
2010-10-18update changelogJameson Rollins
2010-10-18Simplification/refactoring of key/file processingJameson Rollins
This is a fairly major overhaul to greatly reduce the number of redundant code paths. We here created a new process_keys_for_file function that processes key from a userid for a given key file. All the main top elevel functions now call this one function. The main top level monkeysphere functions for updating the user's authorized_keys and known_hosts files are now moved to their own sourced files, which greatly reduces the amount of code sourced with common. monkeysphere now updates authorized_keys and known_hosts in temporary files that are then atomically moved into place upon completion. Finally, removed the confusing return codes in the key/file processing functions that were based on number of valid/invalid keys processed. It was confusing in the presence of actual errors that stopped processing.
2010-10-18fix test for keys-for-userJameson Rollins
2010-10-18add check for argument in keys-for-userJameson Rollins
2010-10-17fixed bug in remove_monkeysphere_lines functionJameson Rollins
it was matching MonkeySphere strings as full lines and therefore not actually removing monkeysphere lines. I'm not sure exactly why, upon further consideration, why we actually need to be removing all monkeysphere lines in update_authorized_keys.
2010-10-17fix changelogJameson Rollins
2010-10-17remove unneccessary export of TMP_AUTHORIZED_USER_IDSJameson Rollins
2010-10-17fix keys-for-userJameson Rollins
This function now properly outputs to stdout exactly what would have been written to the monkeysphere-controlled authorized_keys file, but without actually touching it.
2010-10-17add missing CHECK_KEYSERVER config in skeleton monkeysphere-authentication.confJameson Rollins
2010-10-17add 'k' as shortcut for keys-for-userJameson Rollins
2010-10-17fix typo in monkeysphere usageJameson Rollins
2010-10-15update changelog for 0.33 releaseJameson Rollins
2010-10-15make sure authorized_keys options lines are skipped in keys-for-userJameson Rollins
2010-10-15attempt to fix apostroproblem in ma/keys-for-userJameson Rollins
This is an attempt to fix #600304 by properly passing the string litteral in to be processed, instead of escaping problematic characters.
2010-10-15avoid keytrans test suite breakage on fast processors (addresses ↵Daniel Kahn Gillmor
http://bugs.debian.org/591118)
2010-10-08default HASH_KNOWN_HOSTS to false (closes MS #2483)Daniel Kahn Gillmor
2010-10-07removed releasenote details, as they are now in monkeysphere-docsDaniel Kahn Gillmor
2010-10-06Fix more calls to gpg_shere, finishing what was started in ↵Jameson Rollins
90166e0bb8e4ebc1c1174d9bc2021c604b7a1bd7 There were another calls to gpg_sphere that were packing everything into a single argument. Since we fixed the need to do that, we fix all these other calls that were fixed in the first round.
2010-10-04update changelog for 0.32 releaseJameson Rollins
2010-10-04use LC_ALL=C for all gpg callsJameson Rollins
This should help with internationalization differences in gpg that could cause problems. Works in tests as is, but haven't tested with odd locales.
2010-10-04Merge remote branch 'greg/2459'Jameson Rollins
2010-10-04fix need for only single argument to gpg_sphereJameson Rollins
The use of $* instead of $@ in the call to su_monkeysphere_user is what we want to not split the input to the bash subcalls into separate words.
2010-10-04Test coverage for monkeysphere-authentication keys-for-userGreg Lyle
2010-10-03update ChangelogDaniel Kahn Gillmor
2010-10-03Merge remote branch 'jrollins/master'Daniel Kahn Gillmor
2010-10-02fix formatting of b3f0bbedbf242d2640d3bc56cce62ae726081400 to conform to ↵Jameson Rollins
standard
2010-10-02add debugging to monkeysphere-host publish-key, closes: #2289Micah Anderson
2010-10-02ssh authorized_keys options testClint Adams
2010-10-02Make remote execution command a parameter to ssh_testClint Adams
2010-10-02Minimal documentation of ssh authorized_keys options specification.Clint Adams
2010-10-02Assume that space- or tab-prefixed lines contain ssh authorized_keys options ↵Clint Adams
applicable to the preceding user ID.
2010-10-01added changelog note of fix for monkeysphere-host from micahDaniel Kahn Gillmor
2010-10-01fix revoke_key typo in creating temporary directoryMicah Anderson
fix variable specifying which key to revoke monkeysphere-host revoke-key <key-id> would produce the following errors, this commit fixes that: Really publish this cert to zimmermann.mayfirst.org ? (Y/n) y /usr/share/monkeysphere/mh/revoke_key: line 96: mkmstempdir: command not found gpg: new configuration file `/root/.gnupg/gpg.conf' created gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run gpg: "0x!" not a key ID: skipping
2010-09-21Merge remote branch 'jamie/master'Daniel Kahn Gillmor
2010-09-21change log level for outputting message: "! primary key could not beJamie McClelland
translated (not RSA?)." from "error" to "verbose"
2010-09-14force link making when installing, for idempotenceJameson Rollins
2010-09-14fix *all* install paths, including in man pages and transition scriptsJameson Rollins
2010-09-14fix install target to not add DESTDIR to installed prefixJameson Rollins
2010-09-14fix specification of install directories in top level scripts.Jameson Rollins
Various install paths were hard coded in the top level scripts. This was causing problems for non-standard install locations. Also added use of LOCALSTATEDIR variable to specify /var/lib path.
2010-09-13removing freebsd packaging since it is on its own branchDaniel Kahn Gillmor
2010-08-10fix up notes about how to prepare a releaseDaniel Kahn Gillmor
2010-07-15preparing for 0.31 releaseDaniel Kahn Gillmor
2010-07-15added some examples for system integrationDaniel Kahn Gillmor
2010-07-04update changelog about new keys-for-user monkeysphere-authentication subcommandJameson Rollins
2010-07-04Merge remote branch 'dkg/master'Jameson Rollins
2010-07-04fix debug message in checkpermsJameson Rollins
2010-07-04small tweak to monkeysphere man pageJameson Rollins
2010-07-04add keys-for-user subcommand to monkeysphere-authenticationJameson Rollins
This subcommand will output all valid key for a given user. The user's authorized_user_ids file will be read for OpenPGP user IDs, one per line. The ssh-formated RSA keys will be output to stdout. Also included is a simple script that takes the user as it's one argument and exec's this command. This is something that would be suitable for the proposed sshd AuthorizedKeysCommand.
2010-05-06reporting new expiration date when key expiry is updated (closes MS #2291)Daniel Kahn Gillmor