diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-07-23 18:27:15 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-07-23 18:27:15 +0300 |
commit | b165eece8b85b2532d53fed27fb6ca2573a79e70 (patch) | |
tree | fa3c7d92d88ccf81ee6f437a5e3ec8d29ef63233 /bin/ak-gpg | |
parent | 47f8aaf1a7ef90ba597e681792e95b667a7da111 (diff) | |
download | arching-kaos-tools-b165eece8b85b2532d53fed27fb6ca2573a79e70.tar.gz arching-kaos-tools-b165eece8b85b2532d53fed27fb6ca2573a79e70.tar.bz2 arching-kaos-tools-b165eece8b85b2532d53fed27fb6ca2573a79e70.zip |
ak-gpg: new --delete-secret-key flag
Diffstat (limited to 'bin/ak-gpg')
-rwxr-xr-x | bin/ak-gpg | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -36,6 +36,9 @@ ## ## -d, --delete-key Delete GPG keys from your keyring ## +## -ds, --delete-secret-key <fingerprint> +## 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 |