summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorJameson Graef Rollins <jrollins@phys.columbia.edu>2008-06-23 20:17:22 -0400
committerJameson Graef Rollins <jrollins@phys.columbia.edu>2008-06-23 20:17:22 -0400
commit0f1c6ac9c3c18a46720a8b96854a6624f3a1b8df (patch)
treec9542e921d9d01396d06c96223ccdd2bd5081f99 /src/common
parent9f64c356556520185325d20a8293ffa839c712bf (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/common4
1 files changed, 1 insertions, 3 deletions
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
}