From b4e2708c6f8cc2191c581aef404803478e65e678 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 18 Sep 2014 16:47:55 -0300 Subject: Moved scripts to custom repos --- lsign | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100755 lsign (limited to 'lsign') 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 " - 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 -- cgit v1.2.3