From 8a22863a92cb1df4ed265aed442166c9f1a5387d Mon Sep 17 00:00:00 2001 From: Jameson Graef Rollins Date: Sat, 31 Jan 2009 20:43:23 -0500 Subject: change hyphens to underscores in function file names, for consistency with function definitions themselves --- src/subcommands/mh/add-hostname | 73 ----------------------------------------- 1 file changed, 73 deletions(-) delete mode 100644 src/subcommands/mh/add-hostname (limited to 'src/subcommands/mh/add-hostname') diff --git a/src/subcommands/mh/add-hostname b/src/subcommands/mh/add-hostname deleted file mode 100644 index 10d5f58..0000000 --- a/src/subcommands/mh/add-hostname +++ /dev/null @@ -1,73 +0,0 @@ -# -*-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: -# Jameson Rollins -# Jamie McClelland -# Daniel Kahn Gillmor -# -# 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() { - -local userID -local fingerprint -local tmpuidMatch -local line -local adduidCommand - -if [ -z "$1" ] ; then - failure "You must specify a hostname to add." -fi - -userID="ssh://${1}" - -fingerprint=$(fingerprint_server_key) - -# match to only ultimately trusted user IDs -tmpuidMatch="u:$(echo $userID | gpg_escape)" - -# find the index of the requsted user ID -# NOTE: this is based on circumstantial evidence that the order of -# this output is the appropriate index -if line=$(gpg_host --list-keys --with-colons --fixed-list-mode "0x${fingerprint}!" \ - | egrep '^(uid|uat):' | cut -f2,10 -d: | grep -n -x -F "$tmpuidMatch") ; then - failure "Host userID '$userID' already exists." -fi - -echo "The following user ID will be added to the host key:" -echo " $userID" -read -p "Are you sure you would like to add this user ID? (y/N) " OK; OK=${OK:=N} -if [ ${OK/y/Y} != 'Y' ] ; then - failure "User ID not added." -fi - -# edit-key script command to add user ID -adduidCommand=$(cat <5space:mode:
Diffstat (limited to 'tags/a6/1f')
-rw-r--r--tags/a6/1f/20090802023848.GA15688@antilopa-gnu/sugar0
-rw-r--r--tags/a6/1f/20160915102806.2939A7224C@puneworks.com.local/attachment0
-rw-r--r--tags/a6/1f/20160915102806.2939A7224C@puneworks.com.local/inbox0
-rw-r--r--tags/a6/1f/20160915102806.2939A7224C@puneworks.com.local/old0
-rw-r--r--tags/a6/1f/20180302120248.127A382BB@lxp5.free-owl.de/sys0
-rw-r--r--tags/a6/1f/20180302120248.127A382BB@lxp5.free-owl.de/unread0
-rw-r--r--tags/a6/1f/3ed005a2-29d8-5aa0-01c5-f5dc79e3e02c@users.sourceforge.net/inbox0
-rw-r--r--tags/a6/1f/3ed005a2-29d8-5aa0-01c5-f5dc79e3e02c@users.sourceforge.net/old0
-rw-r--r--tags/a6/1f/47229A51.80609@hiroshima-is.ac.jp/debian0
-rw-r--r--tags/a6/1f/59a5d4a3-5569-a757-9478-5d9fcfa15f17@aerusso.net/attachment0
-rw-r--r--tags/a6/1f/59a5d4a3-5569-a757-9478-5d9fcfa15f17@aerusso.net/debian0
-rw-r--r--tags/a6/1f/59a5d4a3-5569-a757-9478-5d9fcfa15f17@aerusso.net/replied0
-rw-r--r--tags/a6/1f/59a5d4a3-5569-a757-9478-5d9fcfa15f17@aerusso.net/signed0
-rw-r--r--tags/a6/1f/59a5d4a3-5569-a757-9478-5d9fcfa15f17@aerusso.net/unread0
-rw-r--r--tags/a6/1f/5b40219bf24f0d582202c34f8a13c362@localhost.localdomain/killed0
-rw-r--r--tags/a6/1f/5b40219bf24f0d582202c34f8a13c362@localhost.localdomain/unread0
-rw-r--r--tags/a6/1f/878vmkq8x8.fsf@gismo.pca.it/debconf0
-rw-r--r--tags/a6/1f/878vmkq8x8.fsf@gismo.pca.it/debian0
-rw-r--r--tags/a6/1f/878vmkq8x8.fsf@gismo.pca.it/signed0
-rw-r--r--tags/a6/1f/CAE2SPAYbNO3DEDBYmRRn+WD4Duki7Zjg-LYr03J7Xk+YL1JsAA@mail.gmail.com/debian0
-rw-r--r--tags/a6/1f/CAE2SPAYbNO3DEDBYmRRn+WD4Duki7Zjg-LYr03J7Xk+YL1JsAA@mail.gmail.com/unread0
-rw-r--r--tags/a6/1f/CAOFm3uGvPm_GT7bdsmzCrvpJYqftaOi7EWyR=BGTyV2dK7waPw@mail.gmail.com/inbox0
-rw-r--r--tags/a6/1f/CAOFm3uGvPm_GT7bdsmzCrvpJYqftaOi7EWyR=BGTyV2dK7waPw@mail.gmail.com/old0
-rw-r--r--tags/a6/1f/D73D31FF-E6B7-49DD-889F-CC7C391461B7@kaospilot.dk/hb0
-rw-r--r--tags/a6/1f/D73D31FF-E6B7-49DD-889F-CC7C391461B7@kaospilot.dk/unread0
-rw-r--r--tags/a6/1f/Pine.LNX.4.44.0211261925550.31681-100000@auryn.jones.dk/debian0
-rw-r--r--tags/a6/1f/Pine.LNX.4.44.0211261925550.31681-100000@auryn.jones.dk/sent0
-rw-r--r--tags/a6/1f/handler.962789.D962789.159211915028685.notifdone@bugs.debian.org/debian0
-rw-r--r--tags/a6/1f/handler.962789.D962789.159211915028685.notifdone@bugs.debian.org/inbox0
-rw-r--r--tags/a6/1f/handler.962789.D962789.159211915028685.notifdone@bugs.debian.org/killed0
-rw-r--r--tags/a6/1f/handler.962789.D962789.159211915028685.notifdone@bugs.debian.org/unread0
-rw-r--r--tags/a6/1f/handler.s.C.160238081930285.transcript@bugs.debian.org/debian0
-rw-r--r--tags/a6/1f/handler.s.C.160238081930285.transcript@bugs.debian.org/unread0
-rw-r--r--tags/a6/1f/mailman.38.1590044401.27298.pkg-sass-devel@alioth-lists.debian.net/inbox0
-rw-r--r--tags/a6/1f/mailman.38.1590044401.27298.pkg-sass-devel@alioth-lists.debian.net/killed0
-rw-r--r--tags/a6/1f/mailman.38.1590044401.27298.pkg-sass-devel@alioth-lists.debian.net/unread0
36 files changed, 0 insertions, 0 deletions