aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-07-24 16:33:00 +0300
committerkaotisk <kaotisk@arching-kaos.org>2024-07-24 16:33:00 +0300
commit72a43160c1054645339f653093534036fc73b2c8 (patch)
tree1af9635cc3c3f93d4337466df02115f3e7e2ae5b /bin
parent1e48fcc93012446b071c082d34682d70c726da64 (diff)
downloadarching-kaos-tools-72a43160c1054645339f653093534036fc73b2c8.tar.gz
arching-kaos-tools-72a43160c1054645339f653093534036fc73b2c8.tar.bz2
arching-kaos-tools-72a43160c1054645339f653093534036fc73b2c8.zip
ak-gpg: new flag --clear-sign <file> <output>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ak-gpg3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/ak-gpg b/bin/ak-gpg
index 3ab0045..23c3726 100755
--- a/bin/ak-gpg
+++ b/bin/ak-gpg
@@ -14,6 +14,8 @@
##
## --export-key-self-to-file Exports self public key as 'self.pub'
##
+## --clear-sign <file> <output> Sign a file clearly
+##
## -l, --list-keys Returns a list of known GPG keys
##
## -lp, --list-keys-plain Returns a list of known GPG keys as
@@ -59,6 +61,7 @@ if [ ! -z $1 ]; then
--get-key-self-as-fingerprint) _ak_gpg_key_self_get_fingerprint; exit;;
--get-key-fingerprint-from-ipfs) _ak_gpg_key_get_fingerprint_from_ipfs $1; exit;;
--export-key-self-to-file) _ak_gpg_key_self_export 'self.pub'; exit;;
+ --clear-sign) shift; _ak_gpg_sign_clear "$2" "$1"; exit;;
--list-keys | -l) _ak_gpg_list_keys; exit;;
--list-keys-long | -ll) _ak_gpg_list_keys_long; exit;;
--list-keys-plain | -lp) _ak_gpg_list_keys_plain; exit;;