aboutsummaryrefslogtreecommitdiff
path: root/lsign
diff options
context:
space:
mode:
Diffstat (limited to 'lsign')
-rwxr-xr-xlsign25
1 files changed, 0 insertions, 25 deletions
diff --git a/lsign b/lsign
deleted file mode 100755
index e1ceb3d..0000000
--- a/lsign
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/bash
-#
-# Locally sign an OpenPGP key.
-#
-
-# Parameters
-BASENAME="`basename $0`"
-NAME="$1"
-set -e
-
-# Syntax check
-if [ -z "$NAME" ]; then
- echo "usage: $BASENAME <key>"
- exit 1
-fi
-
-# Optional reason
-read -e -p 'Optional lsignreason notation: ' REASON
-
-# Local signature
-if [ ! -z "$REASON" ]; then
- gpg --lsign --ask-cert-expire "$NAME"
-else
- gpg --lsign --cert-notation "lsigreason@notations.openpgp.fifthhorseman.net=${REASON}" --ask-cert-expire "$NAME"
-fi