From ca88f1bccc252571c1f40ed84c40ea7ed4d7db20 Mon Sep 17 00:00:00 2001 From: Jameson Rollins Date: Sun, 4 Jul 2010 00:06:35 -0400 Subject: 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. --- man/man8/monkeysphere-authentication.8 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'man') diff --git a/man/man8/monkeysphere-authentication.8 b/man/man8/monkeysphere-authentication.8 index 7c12673..e9e24b0 100644 --- a/man/man8/monkeysphere-authentication.8 +++ b/man/man8/monkeysphere-authentication.8 @@ -1,4 +1,4 @@ -.TH MONKEYSPHERE-AUTHENTICATION "8" "January 2010" "monkeysphere" "System Commands" +.TH MONKEYSPHERE-AUTHENTICATION "8" "July 3, 2010" "monkeysphere" "System Commands" .SH NAME @@ -42,6 +42,11 @@ Refresh all keys in the monkeysphere-authentication keyring. If no accounts are specified, then all accounts on the system are processed. `r' may be used in place of `refresh\-keys'. .TP +.B keys\-for\-user USER +Output to stdout all acceptable keys for a given user. User IDs are +read from the user's authorized_user_ids file (see +MONKEYSPHERE_AUTHORIZED_USER_IDS below). +.TP .B add\-id\-certifier KEYID|FILE Instruct system to trust user identity certifications made by KEYID. The key ID will be loaded from the keyserver. A file may be loaded -- cgit v1.2.3