projects
/
monkeysphere.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge commit 'dkg/master'
[monkeysphere.git]
/
src
/
subcommands
/
mh
/
add-hostname
diff --git
a/src/subcommands/mh/add-hostname
b/src/subcommands/mh/add-hostname
old mode 100755
(executable)
new mode 100644
(file)
index
7726a29
..
10d5f58
--- a/
src/subcommands/mh/add-hostname
+++ b/
src/subcommands/mh/add-hostname
@@
-1,14
+1,15
@@
-#!/usr/bin/env bash
+# -*-shell-script-*-
+# This should be sourced by bash (though we welcome changes to make it POSIX sh compliant)
# Monkeysphere host add-hostname subcommand
#
# The monkeysphere scripts are written by:
# Monkeysphere host add-hostname subcommand
#
# The monkeysphere scripts are written by:
-# Jameson Rollins <jrollins@fi
fthhorseman
.net>
+# Jameson Rollins <jrollins@fi
nestructure
.net>
# Jamie McClelland <jm@mayfirst.org>
# Daniel Kahn Gillmor <dkg@fifthhorseman.net>
#
# Jamie McClelland <jm@mayfirst.org>
# Daniel Kahn Gillmor <dkg@fifthhorseman.net>
#
-# They are Copyright 2008
, and are all released under the GPL, version 3
-# or later.
+# They are Copyright 2008
-2009, and are all released under the GPL,
+#
version 3
or later.
# add hostname user ID to server key
# add hostname user ID to server key
@@
-60,9
+61,6
@@
EOF
if echo "$adduidCommand" | \
gpg_host --quiet --command-fd 0 --edit-key "0x${fingerprint}!" ; then
if echo "$adduidCommand" | \
gpg_host --quiet --command-fd 0 --edit-key "0x${fingerprint}!" ; then
- # update the trustdb for the authentication keyring
- gpg_authentication "--check-trustdb"
-
show_key
echo
show_key
echo