From 0f1c6ac9c3c18a46720a8b96854a6624f3a1b8df Mon Sep 17 00:00:00 2001 From: Jameson Graef Rollins Date: Mon, 23 Jun 2008 20:17:22 -0400 Subject: fix some authorized_keys updating bugs in ms-server, and update to use new ability of openpgp to handle 40 char fingerprints. --- src/common | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/common') diff --git a/src/common b/src/common index 5bb0b79..986cc33 100644 --- a/src/common +++ b/src/common @@ -115,9 +115,7 @@ translate_ssh_variables() { gpg2ssh() { local keyID - #keyID="$1" #TMP - # only use last 16 characters until openpgp2ssh can take all 40 #TMP - keyID=$(echo "$1" | cut -c 25-) #TMP + keyID="$1" gpg --export "$keyID" | openpgp2ssh "$keyID" 2> /dev/null } -- cgit v1.2.3