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. --- src/monkeysphere-authentication-keys-for-user | 2 ++ 1 file changed, 2 insertions(+) create mode 100755 src/monkeysphere-authentication-keys-for-user (limited to 'src/monkeysphere-authentication-keys-for-user') diff --git a/src/monkeysphere-authentication-keys-for-user b/src/monkeysphere-authentication-keys-for-user new file mode 100755 index 0000000..fb589ea --- /dev/null +++ b/src/monkeysphere-authentication-keys-for-user @@ -0,0 +1,2 @@ +#!/usr/bin/env sh +exec monkeysphere-authentication keys-for-user "$@" -- cgit v1.2.3