projects
/
monkeysphere.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix man pages to reflect recent path changes.
[monkeysphere.git]
/
src
/
common
diff --git
a/src/common
b/src/common
index 5bb0b79fac779d08348721f2d3e5d6df0f29ed5a..ead3736d7241ae1709dceff82494fc66b17e6dfb 100644
(file)
--- a/
src/common
+++ b/
src/common
@@
-16,8
+16,6
@@
# managed directories
ETC="/etc/monkeysphere"
export ETC
# managed directories
ETC="/etc/monkeysphere"
export ETC
-CACHE="/var/cache/monkeysphere"
-export CACHE
########################################################################
### UTILITY FUNCTIONS
########################################################################
### UTILITY FUNCTIONS
@@
-115,9
+113,7
@@
translate_ssh_variables() {
gpg2ssh() {
local keyID
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
}
gpg --export "$keyID" | openpgp2ssh "$keyID" 2> /dev/null
}