Matt Goins [Fri, 20 Feb 2009 16:42:10 +0000 (11:42 -0500)]
Merge commit 'jrollins/master'
Daniel Kahn Gillmor [Fri, 20 Feb 2009 06:39:29 +0000 (01:39 -0500)]
trivial implementation of monkeysphere-host revoke-key: just prints ascii-armored revocation certificate to stdout, and admin is expected to know what to do with it.
Daniel Kahn Gillmor [Fri, 20 Feb 2009 06:02:06 +0000 (01:02 -0500)]
clarify revoke_hostname warning
Daniel Kahn Gillmor [Fri, 20 Feb 2009 05:50:46 +0000 (00:50 -0500)]
document why monkeysphere import-subkey is not yet working.
Jameson Graef Rollins [Fri, 20 Feb 2009 05:38:59 +0000 (00:38 -0500)]
explicitly set GNUPGHOME in su_monkeysphere_user calls to gpg in add_revoker, to avoid any confusion about having GNUPGHOME as a tempdir exported to the environment.
Jameson Graef Rollins [Fri, 20 Feb 2009 05:23:35 +0000 (00:23 -0500)]
stupid bug fix
Jameson Graef Rollins [Fri, 20 Feb 2009 05:09:20 +0000 (00:09 -0500)]
add_revoker fully working. also cleanup of add_certifier.
add_revoker and add_certifier to many similar procedures, so I'm
trying to keep them in sync as I figure out the right way to handle
things.
Daniel Kahn Gillmor [Fri, 20 Feb 2009 03:42:43 +0000 (22:42 -0500)]
Merge commit 'jrollins/master'
Daniel Kahn Gillmor [Fri, 20 Feb 2009 03:40:02 +0000 (22:40 -0500)]
correcting ssh_proxycommand output.
Jameson Graef Rollins [Fri, 20 Feb 2009 03:39:00 +0000 (22:39 -0500)]
remove import_subkey from monkeysphere usage and man page until we get
a chance to fully implement it.
Daniel Kahn Gillmor [Fri, 20 Feb 2009 03:06:43 +0000 (22:06 -0500)]
clean up the diagnostics functions, check for ID-Certifiers in m-a d
Daniel Kahn Gillmor [Fri, 20 Feb 2009 02:19:19 +0000 (21:19 -0500)]
cleaning up output of cruft report
Daniel Kahn Gillmor [Fri, 20 Feb 2009 02:04:47 +0000 (21:04 -0500)]
diagnostics should now check for cruft from old versions of the monkeysphere.
Jameson Graef Rollins [Fri, 20 Feb 2009 00:01:38 +0000 (19:01 -0500)]
fix arg parsing in add_certifier to allow of - for stdin read.
Jameson Graef Rollins [Thu, 19 Feb 2009 23:14:13 +0000 (18:14 -0500)]
Modify/cleanup add_certifier and add_revoker, so that their code base
is more similar, and so that they can read keys from stdin instead of
just from a file. Also fix the permissions on the tempdir in
publish_key.
Jameson Graef Rollins [Thu, 19 Feb 2009 20:46:48 +0000 (15:46 -0500)]
some updates to getting-started-*
Jameson Graef Rollins [Thu, 19 Feb 2009 20:46:23 +0000 (15:46 -0500)]
the import_subkey function was in fact not implement at all. MUST FIX!
Jameson Graef Rollins [Thu, 19 Feb 2009 20:31:17 +0000 (15:31 -0500)]
add a gpg_user function in monkeysphere to add some gpg quieting
option, and use it in all gpg invocations.
add a trap to subkey_to_ssh_agent.
Jameson Graef Rollins [Thu, 19 Feb 2009 20:19:02 +0000 (15:19 -0500)]
The monkeysphere {import,gen}_subkey functions were not up-to-date.
did a lot of work to bring them up-to-date, and better handle argument
checking. also updated man page, changelog, and tests/basic.
Jameson Graef Rollins [Thu, 19 Feb 2009 17:29:47 +0000 (12:29 -0500)]
modify import_key to take the key file to import as an argument. can be '-' to import from stdin. modify man page and test accordingly.
Jameson Graef Rollins [Thu, 19 Feb 2009 10:14:50 +0000 (05:14 -0500)]
more fix permissions and ownership on authentication directories.
Jameson Graef Rollins [Thu, 19 Feb 2009 10:08:57 +0000 (05:08 -0500)]
fix permissions and ownership on authentication directories.
Daniel Kahn Gillmor [Thu, 19 Feb 2009 10:03:05 +0000 (05:03 -0500)]
avoid chown -R, explicitly indicate the files we expect to be changed.
Daniel Kahn Gillmor [Thu, 19 Feb 2009 09:55:46 +0000 (04:55 -0500)]
do not show uid validity for gpg authentication core, since the core has no ultimate ownertrust
Daniel Kahn Gillmor [Thu, 19 Feb 2009 09:31:25 +0000 (04:31 -0500)]
Merge commit 'jrollins/master'
Daniel Kahn Gillmor [Thu, 19 Feb 2009 09:30:47 +0000 (04:30 -0500)]
added msmktempfile; got rid of /dev/stdin assumption in ssh_proxycommand for portability
Jameson Graef Rollins [Thu, 19 Feb 2009 09:30:40 +0000 (04:30 -0500)]
don't use /dev/stdin hack with ssh-keygen to get ssh fingerprint. just use a tmp file.
Daniel Kahn Gillmor [Thu, 19 Feb 2009 09:11:27 +0000 (04:11 -0500)]
clean up more gpg warnings during 0.23 transition
Jameson Graef Rollins [Thu, 19 Feb 2009 09:01:47 +0000 (04:01 -0500)]
Merge commit 'dkg/master'
Daniel Kahn Gillmor [Thu, 19 Feb 2009 09:00:48 +0000 (04:00 -0500)]
Merge commit 'jrollins/master'
Jameson Graef Rollins [Thu, 19 Feb 2009 08:59:52 +0000 (03:59 -0500)]
Merge commit 'dkg/master'
Jameson Graef Rollins [Thu, 19 Feb 2009 08:59:09 +0000 (03:59 -0500)]
make sure fingerprint is loaded for update_gpg_pub_file
Daniel Kahn Gillmor [Thu, 19 Feb 2009 08:53:41 +0000 (03:53 -0500)]
still more cleanup in transitions/0.23
Jameson Graef Rollins [Thu, 19 Feb 2009 08:49:23 +0000 (03:49 -0500)]
fix CHECK_KEYSERVER variable in monkeysphere, so the default is correct for proxycommand, and fix an errant bad line in proxycommand.
Daniel Kahn Gillmor [Thu, 19 Feb 2009 08:44:17 +0000 (03:44 -0500)]
more cleanup on 0.23 transition script
Daniel Kahn Gillmor [Thu, 19 Feb 2009 08:34:31 +0000 (03:34 -0500)]
remove a permission warning from the old gpg config during 0.23 transition.
Daniel Kahn Gillmor [Thu, 19 Feb 2009 08:32:18 +0000 (03:32 -0500)]
more think-os in the 0.23 transition script.
Daniel Kahn Gillmor [Thu, 19 Feb 2009 08:13:50 +0000 (03:13 -0500)]
fix think-o in 0.23 transition.
Daniel Kahn Gillmor [Thu, 19 Feb 2009 08:01:53 +0000 (03:01 -0500)]
Merge commit 'jrollins/master'
Jameson Graef Rollins [Thu, 19 Feb 2009 07:50:38 +0000 (02:50 -0500)]
fail if hostname can not be determined in import_key
Daniel Kahn Gillmor [Thu, 19 Feb 2009 07:38:39 +0000 (02:38 -0500)]
reverse the order of two of the SEE ALSO references in monkeysphere(7). For some reason, this avoids a bug in man that causes it to complain "<standard input>:57: warning [p 1, 8.3i]: cannot adjust line"
Jameson Graef Rollins [Thu, 19 Feb 2009 07:33:53 +0000 (02:33 -0500)]
fix call to transition script in postinst script, and fix lintian error about transitions README
Jameson Graef Rollins [Thu, 19 Feb 2009 07:24:40 +0000 (02:24 -0500)]
Merge commit 'dkg/master'
Daniel Kahn Gillmor [Thu, 19 Feb 2009 07:19:04 +0000 (02:19 -0500)]
install the transition scripts as executable by the superuser.
Daniel Kahn Gillmor [Thu, 19 Feb 2009 07:15:20 +0000 (02:15 -0500)]
added notes about transition to debian/changelog
Jameson Graef Rollins [Thu, 19 Feb 2009 07:14:15 +0000 (02:14 -0500)]
Merge commit 'dkg/master'
Daniel Kahn Gillmor [Thu, 19 Feb 2009 07:13:11 +0000 (02:13 -0500)]
adopting new transition script strategy
Jameson Graef Rollins [Thu, 19 Feb 2009 07:09:23 +0000 (02:09 -0500)]
Merge commit 'dkg/master'
Jameson Graef Rollins [Thu, 19 Feb 2009 07:06:06 +0000 (02:06 -0500)]
small usage changes
Jameson Graef Rollins [Thu, 19 Feb 2009 07:05:05 +0000 (02:05 -0500)]
add PROMPT respect in get_gpg_expiration
Jameson Graef Rollins [Thu, 19 Feb 2009 06:40:19 +0000 (01:40 -0500)]
add some log debug redirects
Daniel Kahn Gillmor [Thu, 19 Feb 2009 07:02:19 +0000 (02:02 -0500)]
making clearer comments in the transition script, invoking from postinst for debian.
Daniel Kahn Gillmor [Thu, 19 Feb 2009 06:49:30 +0000 (01:49 -0500)]
shipping transition script; requiring manual version synchronization between common and the changelog (until we come up with a more general templating build process)
Jameson Graef Rollins [Thu, 19 Feb 2009 06:20:44 +0000 (01:20 -0500)]
Merge commit 'dkg/master'
Jameson Graef Rollins [Thu, 19 Feb 2009 06:20:33 +0000 (01:20 -0500)]
tweak some of the prompting, to change defaults, and add PROMPT usage where missing
Daniel Kahn Gillmor [Thu, 19 Feb 2009 06:17:11 +0000 (01:17 -0500)]
made gpg_sphere use --quiet again, and now doing more explicit extraction of key fingerprint during add-certifier from file.
Jameson Graef Rollins [Thu, 19 Feb 2009 05:59:03 +0000 (00:59 -0500)]
Merge commit 'dkg/master'
Jameson Graef Rollins [Thu, 19 Feb 2009 03:37:12 +0000 (22:37 -0500)]
Cleanup how variables are specified and loaded:
- define more common variables in share/common
- cleanup how defaults are specified
- fix how CHECK_KEYSERVER was determined in monkeysphere
Fix calls to update_known_hosts and update_authorized_keys in
monkeysphere so that some of the checks are done within the functions
themselves, as opposed in the monkeysphere wrapper, so that other
functions can call them easier.
Fix ssh-proxycommand that had some left over cruft from the
transition.
Daniel Kahn Gillmor [Thu, 19 Feb 2009 05:37:10 +0000 (00:37 -0500)]
clean up failure message
Daniel Kahn Gillmor [Thu, 19 Feb 2009 05:35:50 +0000 (00:35 -0500)]
catch pipe failures more cleanly during key import
Daniel Kahn Gillmor [Thu, 19 Feb 2009 05:20:59 +0000 (00:20 -0500)]
removing --quiet from this invocation seems to avoid an add-id-certifier failure.
Daniel Kahn Gillmor [Thu, 19 Feb 2009 05:14:20 +0000 (00:14 -0500)]
moved directory for monkeysphere-generated authorized_keys files back to its old location at /var/lib/monkeysphere/authorized_keys
Daniel Kahn Gillmor [Thu, 19 Feb 2009 05:04:13 +0000 (00:04 -0500)]
(untested) overhaul of monkeysphere 0.22 to 0.23 release.
Daniel Kahn Gillmor [Thu, 19 Feb 2009 04:17:02 +0000 (23:17 -0500)]
normalizing MONKEYSPHERE_PROMPT description in monkeysphere.1
Daniel Kahn Gillmor [Thu, 19 Feb 2009 04:15:57 +0000 (23:15 -0500)]
added MONKEYSPHERE_PROMPT to man pages.
Daniel Kahn Gillmor [Thu, 19 Feb 2009 02:32:21 +0000 (21:32 -0500)]
Merge commit 'jrollins/master'
Daniel Kahn Gillmor [Thu, 19 Feb 2009 02:30:01 +0000 (21:30 -0500)]
added debian/NEWS file so that early adopters are appraised of the changes.
Jameson Graef Rollins [Thu, 19 Feb 2009 01:56:14 +0000 (20:56 -0500)]
new msmktempdir function, to simplify making temporary directories. remove MHTMPDIR, since it's not needed.
Jameson Graef Rollins [Thu, 19 Feb 2009 01:38:23 +0000 (20:38 -0500)]
add no-tty, quiet, and no-greeting to gpg wrapper invocations to supress as much gpg output as possible. then cleanup gpg invocations.
Matt Goins [Wed, 18 Feb 2009 20:19:17 +0000 (15:19 -0500)]
Merge commit 'jrollins/master'
Jameson Graef Rollins [Wed, 18 Feb 2009 05:29:25 +0000 (00:29 -0500)]
fix some log output
Daniel Kahn Gillmor [Wed, 18 Feb 2009 04:33:55 +0000 (23:33 -0500)]
Merge commit 'jrollins/master'
Daniel Kahn Gillmor [Wed, 18 Feb 2009 04:29:43 +0000 (23:29 -0500)]
make m-a list-certifiers more intelligible when multiple uids have ltsigs.
Jameson Graef Rollins [Wed, 18 Feb 2009 04:13:31 +0000 (23:13 -0500)]
fix ma so that the setup command is folded into the other commands, so
it's never needed to be run manually, and can therefore be supressed
in the usage/documentation. Also, add setup to the postinst script so
that it's setup on installation.
Also add pipefail to ma, and try to supress unnecessary gpg output,
and redirect other to log debug.
Matt Goins [Wed, 18 Feb 2009 03:36:15 +0000 (22:36 -0500)]
Merge commit 'jrollins/master'
Jameson Graef Rollins [Wed, 18 Feb 2009 03:35:29 +0000 (22:35 -0500)]
bring tests/basic uptodate with the new PROMPT env variable.
Matt Goins [Wed, 18 Feb 2009 03:31:49 +0000 (22:31 -0500)]
Merge commit 'dkg/master'
Matt Goins [Wed, 18 Feb 2009 03:31:17 +0000 (22:31 -0500)]
Merge commit 'jrollins/master'
Daniel Kahn Gillmor [Wed, 18 Feb 2009 01:37:47 +0000 (20:37 -0500)]
describe the motivation for our current su_monkeysphere_user implementation.
Daniel Kahn Gillmor [Wed, 18 Feb 2009 01:01:36 +0000 (20:01 -0500)]
fix typo
Jameson Graef Rollins [Wed, 18 Feb 2009 00:43:20 +0000 (19:43 -0500)]
remove setting of ultimate owner trust on imported host key, since we probably don't want the host keyring to be accepting any certifications for anything.
Jameson Graef Rollins [Wed, 18 Feb 2009 00:16:58 +0000 (19:16 -0500)]
add README to tests/ directory
Jameson Graef Rollins [Wed, 18 Feb 2009 00:09:44 +0000 (19:09 -0500)]
add ability to bypass prompting with a MONKEYSPHERE_PROMPT variable,
for functions that prompt for confirmation. Also fix publish_key
function (NOT TESTED).
Jameson Graef Rollins [Wed, 18 Feb 2009 00:07:24 +0000 (19:07 -0500)]
add test to su_monkeysphere_user to check that the user is
monkeysphere user or root, and fail otherwise. this is so that there
is no password prompt for unpriviledged users (see bug #519).
Jameson Graef Rollins [Tue, 17 Feb 2009 20:19:40 +0000 (15:19 -0500)]
add some checks about setup to authentication
Jameson Graef Rollins [Tue, 17 Feb 2009 07:23:17 +0000 (02:23 -0500)]
rename create_gpg_pub_file to be update_gpg_pub_file, and add it to
every function that alters the host keyring, so that all changes will
show up in exported pub key file, and in show-key.
Jameson Graef Rollins [Tue, 17 Feb 2009 07:03:22 +0000 (02:03 -0500)]
Merge commit 'dkg/master'
Jameson Graef Rollins [Tue, 17 Feb 2009 07:02:58 +0000 (02:02 -0500)]
tweak the show-key output, and fix some comments.
Jameson Graef Rollins [Tue, 17 Feb 2009 07:02:23 +0000 (02:02 -0500)]
set ultimate ownertrust on hostkey after import
Daniel Kahn Gillmor [Tue, 17 Feb 2009 05:56:34 +0000 (00:56 -0500)]
update m-a list-identity-certifiers: output is not yet human-readable, but it should be more accurate.
Jameson Graef Rollins [Tue, 17 Feb 2009 05:36:07 +0000 (00:36 -0500)]
fix a couple of left over references to expert
Jameson Graef Rollins [Tue, 17 Feb 2009 05:26:09 +0000 (00:26 -0500)]
check host for gpg pub key file instead of fingerprint, and modify show_key to be able to show full key info to all users.
Jameson Graef Rollins [Tue, 17 Feb 2009 04:57:55 +0000 (23:57 -0500)]
make host show_key use just the pgp pub key file to get the ssh fingerprint, as it should have been doing before
Jameson Graef Rollins [Tue, 17 Feb 2009 04:45:28 +0000 (23:45 -0500)]
add some minimal checks to import_key that the default hostname is legitimate.
Jameson Graef Rollins [Tue, 17 Feb 2009 02:39:17 +0000 (21:39 -0500)]
fix reference to HOST_FINGERPRINT in show-key, and fix some references
to "expert" in test.
Jameson Graef Rollins [Tue, 17 Feb 2009 02:28:32 +0000 (21:28 -0500)]
REMOVE GEN_KEY. The gen_key function is entirely removed. Decided
this was OK now that import_key works, and we can't really see a
reason to keep it around. We can resurect it down the line if need
be. Also, removed "expert" subcommand, after promting import_key,
since it may be need semi-regularly. The other "expert" commands are
now just not listed in the usage.
Jameson Graef Rollins [Tue, 17 Feb 2009 01:15:58 +0000 (20:15 -0500)]
Stop all creation of a ssh_host_rsa_key.pub. Use openpgp2ssh to get
the fingerprint from the host pgp public key. Prevents us from having
to maintain the ssh pub key file, and generally makes things simpler.
Also allows us to go back to having import_key take the key on stdin
(which dkg will like).
Jameson Graef Rollins [Mon, 16 Feb 2009 06:10:02 +0000 (01:10 -0500)]
start script to do a 0.22 -> 0.23 transition. still needs work (UNTESTED).
Jameson Graef Rollins [Mon, 16 Feb 2009 06:08:28 +0000 (01:08 -0500)]
make sure MHTMPDIR is defined and created
Jameson Graef Rollins [Mon, 16 Feb 2009 06:07:04 +0000 (01:07 -0500)]
fix a bad reference to MATMPDIR