diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-07-23 14:10:03 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-07-23 14:10:03 +0300 |
commit | a359611ed2bcc79bf440f05096cfbdc618869067 (patch) | |
tree | 7d4d5fb32a3ee842320474917ca95b09d8190400 /bin/ak-gpg | |
parent | 3dbf01ec2d879beab38c84f20cc8986b15d3cd18 (diff) | |
download | arching-kaos-tools-a359611ed2bcc79bf440f05096cfbdc618869067.tar.gz arching-kaos-tools-a359611ed2bcc79bf440f05096cfbdc618869067.tar.bz2 arching-kaos-tools-a359611ed2bcc79bf440f05096cfbdc618869067.zip |
use settings instead of file to store activated gpg key
Diffstat (limited to 'bin/ak-gpg')
-rwxr-xr-x | bin/ak-gpg | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -12,6 +12,8 @@ ## ## --get-key-fingerprint-from-ipfs Returns the fingerprint of a given key ## +## --export-key-self-to-file Exports self public key as 'self.pub' +## ## -l, --list-keys Returns a list of known GPG keys ## ## -lp, --list-keys-plain Returns a list of known GPG keys as @@ -53,6 +55,7 @@ if [ ! -z $1 ]; then --get-key-self-as-ipfs) _ak_gpg_key_self_get_fingerprint_from_config; exit;; --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;; --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;; |