diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2025-07-21 00:27:59 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2025-07-21 00:27:59 +0300 |
commit | 9144dbd13f02215a424f7cdf8ec78c59463b5a19 (patch) | |
tree | 7d1d6dd852ec4067a2b9a1609d176a1edbc5d774 /bin/ak-ns | |
parent | 5b31cb2bbc5726d9c6268475cba7e981423f1e4b (diff) | |
download | arching-kaos-tools-9144dbd13f02215a424f7cdf8ec78c59463b5a19.tar.gz arching-kaos-tools-9144dbd13f02215a424f7cdf8ec78c59463b5a19.tar.bz2 arching-kaos-tools-9144dbd13f02215a424f7cdf8ec78c59463b5a19.zip |
[bin] [api] Supports and resolves base64 encoded fingerprints
Diffstat (limited to 'bin/ak-ns')
-rwxr-xr-x | bin/ak-ns | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -32,6 +32,8 @@ ## -pn, --publish2name <name> <value> Publishes value to name ## -pz, --publish-zchain Publishes zchain ## -pc, --publish-config Publishes config +## -ek, --encode-key <key> Encodes a key to Base64 +## -dk, --decode-key <base64 key> Decodes a key from Base64 ## fullprogrampath="$(realpath $0)" PROGRAM=$(basename $0) @@ -51,6 +53,8 @@ then -ll | --list-long) shift; _ak_ns_list_long; exit;; -rn | --resolve-name) shift; _ak_ns_resolve_from_name $1; exit;; -rk | --resolve-key) shift; _ak_ns_resolve_from_key $1; exit;; + -ek | --encode-key) shift; _ak_ns_encode_key $1; exit;; + -dk | --decode-key) shift; _ak_ns_decode_key $1; exit;; -p | --publish) shift; _ak_ns_publish $1 $2; exit;; -pn | --publish2name) shift; _ak_ns_publish2name $1 $2; exit;; -pz | --publish-zchain) _ak_ns_publish_zchain; exit;; |