diff options
author | Jameson Graef Rollins <jrollins@phys.columbia.edu> | 2008-06-23 20:17:22 -0400 |
---|---|---|
committer | Jameson Graef Rollins <jrollins@phys.columbia.edu> | 2008-06-23 20:17:22 -0400 |
commit | 0f1c6ac9c3c18a46720a8b96854a6624f3a1b8df (patch) | |
tree | c9542e921d9d01396d06c96223ccdd2bd5081f99 /src/common | |
parent | 9f64c356556520185325d20a8293ffa839c712bf (diff) |
fix some authorized_keys updating bugs in ms-server, and update to use
new ability of openpgp to handle 40 char fingerprints.
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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 } |