From b165eece8b85b2532d53fed27fb6ca2573a79e70 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Tue, 23 Jul 2024 18:27:15 +0300 Subject: ak-gpg: new --delete-secret-key flag --- bin/ak-gpg | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bin/ak-gpg') diff --git a/bin/ak-gpg b/bin/ak-gpg index fa48a18..3ab0045 100755 --- a/bin/ak-gpg +++ b/bin/ak-gpg @@ -36,6 +36,9 @@ ## ## -d, --delete-key Delete GPG keys from your keyring ## +## -ds, --delete-secret-key +## Delete GPG keys from your keyring +## fullprogrampath="$(realpath $0)" PROGRAM=$(basename $0) descriptionString="GPG cli tool" @@ -65,6 +68,7 @@ if [ ! -z $1 ]; then --create-key | -c) shift; _ak_gpg_create_key $1; exit;; --select-key | -s) _ak_gpg_select_key; exit;; --delete-key | -d) _ak_gpg_delete_key; exit;; + --delete-secret-key | -ds) shift; _ak_gpg_delete_secret_key $1; exit;; * ) _ak_usage;; esac else _ak_usage -- cgit v1.2.3