add keys-for-user subcommand to monkeysphere-authentication
authorJameson Rollins <jrollins@finestructure.net>
Sun, 4 Jul 2010 04:06:35 +0000 (00:06 -0400)
committerJameson Rollins <jrollins@finestructure.net>
Sun, 4 Jul 2010 04:13:02 +0000 (00:13 -0400)
commitca88f1bccc252571c1f40ed84c40ea7ed4d7db20
tree0d0e152c770715d49d5fc9d297f7672dc275485a
parentc74075ae34bf6dd035f42ce044046e6f273ae73d
add keys-for-user subcommand to monkeysphere-authentication

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.
Makefile
man/man8/monkeysphere-authentication.8
src/monkeysphere-authentication
src/monkeysphere-authentication-keys-for-user [new file with mode: 0755]
src/share/ma/keys_for_user [new file with mode: 0644]