summaryrefslogtreecommitdiff
path: root/rapid-tunneling
diff options
context:
space:
mode:
authorAlex Landau <alex.landau@xorcom.com>2009-02-01 18:09:40 +0000
committerAlex Landau <alex.landau@xorcom.com>2009-02-01 18:09:40 +0000
commit8e13d7e1fddc0e7faaae5ac640a5e05b114eea33 (patch)
tree83a3dc0bacf985de73f732db9d06530e2b57f40a /rapid-tunneling
parent743a1a366401973b9d5d823b2addeb61d2e698ab (diff)
rapid-tunneling:
- Added GUI password protection. - Backed out GPG. git-svn-id: svn+ssh://xorcom/home/svn/debs/components/rapid-tunneling@6682 283159da-0705-0410-b60c-f2062b4bb6ad
Diffstat (limited to 'rapid-tunneling')
-rwxr-xr-xrapid-tunneling12
1 files changed, 0 insertions, 12 deletions
diff --git a/rapid-tunneling b/rapid-tunneling
index 3c1f843..acc9552 100755
--- a/rapid-tunneling
+++ b/rapid-tunneling
@@ -7,24 +7,12 @@ if [ -z "$1" ]; then
exit 1
fi
-REQUIRE_PGP=yes
-
if [ -r /etc/rapid-tunneling/client ]; then . /etc/rapid-tunneling/client; fi
tmpdir=`mktemp -d`
mkdir $tmpdir/recv $tmpdir/send
tar xzf "$1" -C $tmpdir/recv
-# The signed data is everything except the signature itself:
-(cd $tmpdir/recv; grep -- . * | grep -v ^sig.asc:) >$tmpdir/recv_data
-if [ "$REQUIRE_PGP" = 'yes' ] &&
- ! gpg --quiet --verify $tmpdir/recv/sig.asc $tmpdir/recv_data
-then
- echo >&2 "$0: gpg signature verification failed."
- echo >&2 "$0: Maybe someone's playing dirty tricks? Aborting."
- exit 7
-fi
-
user=`cat $tmpdir/recv/user`
host=`cat $tmpdir/recv/host`
port=`cat $tmpdir/recv/port`