Daniel Kahn Gillmor [Sat, 21 Feb 2009 22:06:47 +0000 (17:06 -0500)]
correct return codes for monkeysphere subkey-to-ssh-agent
Jameson Graef Rollins [Sat, 21 Feb 2009 21:48:43 +0000 (16:48 -0500)]
Merge commit 'dkg/master'
Jameson Graef Rollins [Sat, 21 Feb 2009 21:48:30 +0000 (16:48 -0500)]
make sure all prompt messages are going to stderr
Daniel Kahn Gillmor [Sat, 21 Feb 2009 21:31:21 +0000 (16:31 -0500)]
making entry into subshell after failed test run more explicit (thanks for the suggestion, Ross!)
Jameson Graef Rollins [Sat, 21 Feb 2009 21:30:50 +0000 (16:30 -0500)]
Merge commit 'dkg/master'
Jameson Graef Rollins [Sat, 21 Feb 2009 21:30:15 +0000 (16:30 -0500)]
cleanup of how ssh_test return code is captured in tests/basic
Jameson Graef Rollins [Sat, 21 Feb 2009 21:29:35 +0000 (16:29 -0500)]
fix output formatting for cases where multiple fingerprints are found, in functions that are doing that sort of thing
Daniel Kahn Gillmor [Sat, 21 Feb 2009 21:17:46 +0000 (16:17 -0500)]
added new explicit checks for relevant perl modules in tests/basic.
Jameson Graef Rollins [Sat, 21 Feb 2009 21:17:20 +0000 (16:17 -0500)]
Merge commit 'dkg/master'
Jameson Graef Rollins [Sat, 21 Feb 2009 21:16:58 +0000 (16:16 -0500)]
add tests to add_revoker and add_certifier that more than one key was not found when adding by using key ID.
Daniel Kahn Gillmor [Sat, 21 Feb 2009 21:14:38 +0000 (16:14 -0500)]
un-fix non-typo in ssh_proxycommand. (my mistake!)
Daniel Kahn Gillmor [Sat, 21 Feb 2009 21:11:07 +0000 (16:11 -0500)]
fixing typo in ssh_proxycommand.
Daniel Kahn Gillmor [Sat, 21 Feb 2009 21:09:08 +0000 (16:09 -0500)]
merged jrollins/master
Jameson Graef Rollins [Sat, 21 Feb 2009 20:39:44 +0000 (15:39 -0500)]
fix return in subkey_to_ssh_agent, so that it returns, instead of exits
Jameson Graef Rollins [Sat, 21 Feb 2009 20:37:30 +0000 (15:37 -0500)]
import-key now requires a hostname be specified, and no longer does
any hostname guessing. this is so that we don't have to worry about
prompting the user when guessing the hostname. also updated
documentation.
Jameson Graef Rollins [Sat, 21 Feb 2009 20:10:57 +0000 (15:10 -0500)]
remove 'return' line from monkeysphere that was errantly not removed in the previous commit.
Jameson Graef Rollins [Sat, 21 Feb 2009 19:57:41 +0000 (14:57 -0500)]
make sure we're explicitly capturing return codes in places where they are tested, in case things are being run set -e
Jameson Graef Rollins [Sat, 21 Feb 2009 19:52:53 +0000 (14:52 -0500)]
update TODO
Daniel Kahn Gillmor [Sat, 21 Feb 2009 19:50:18 +0000 (14:50 -0500)]
Merge commit 'jrollins/master'
Daniel Kahn Gillmor [Sat, 21 Feb 2009 19:49:54 +0000 (14:49 -0500)]
tweaking m-h getting started docs.
Jameson Graef Rollins [Sat, 21 Feb 2009 19:45:14 +0000 (14:45 -0500)]
fix failure message in import_key
Jameson Graef Rollins [Sat, 21 Feb 2009 18:08:55 +0000 (13:08 -0500)]
added note about specifying a hostname for import-key in the admin
getting started page.
Jameson Graef Rollins [Sat, 21 Feb 2009 18:07:31 +0000 (13:07 -0500)]
some small tweaks to the test:
- 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.
Jameson Graef Rollins [Fri, 20 Feb 2009 23:09:37 +0000 (18:09 -0500)]
Add "true" to prerm script so that lintian will stop complaining that
the script is empty.
also small doc tweaks.
Jameson Graef Rollins [Fri, 20 Feb 2009 20:39:07 +0000 (15:39 -0500)]
Merge commit 'dkg/master'
Daniel Kahn Gillmor [Fri, 20 Feb 2009 20:29:34 +0000 (15:29 -0500)]
more wordsmithing.
Daniel Kahn Gillmor [Fri, 20 Feb 2009 20:25:14 +0000 (15:25 -0500)]
documentation tuning.
Daniel Kahn Gillmor [Fri, 20 Feb 2009 20:23:38 +0000 (15:23 -0500)]
documentation overhaul for users just getting started.
Jameson Graef Rollins [Fri, 20 Feb 2009 19:26:15 +0000 (14:26 -0500)]
tweak/cleanup some of the prompts.
Daniel Kahn Gillmor [Fri, 20 Feb 2009 18:22:09 +0000 (13:22 -0500)]
readability revision for getting-started-admin.mdwn
Daniel Kahn Gillmor [Fri, 20 Feb 2009 18:19:46 +0000 (13:19 -0500)]
tuning some diagnostic text.
Daniel Kahn Gillmor [Fri, 20 Feb 2009 17:42:24 +0000 (12:42 -0500)]
clean up 0.23 changelog entry
Daniel Kahn Gillmor [Fri, 20 Feb 2009 17:33:14 +0000 (12:33 -0500)]
tune automated revocation certificate description; add FIXME to allow it to be set explicitly.
Daniel Kahn Gillmor [Fri, 20 Feb 2009 17:27:01 +0000 (12:27 -0500)]
monkeysphere-host revoke-key should now be capable of publishing the
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.
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.