From 9144dbd13f02215a424f7cdf8ec78c59463b5a19 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Mon, 21 Jul 2025 00:27:59 +0300 Subject: [bin] [api] Supports and resolves base64 encoded fingerprints --- bin/ak-ns | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bin') diff --git a/bin/ak-ns b/bin/ak-ns index f638e07..080538c 100755 --- a/bin/ak-ns +++ b/bin/ak-ns @@ -32,6 +32,8 @@ ## -pn, --publish2name Publishes value to name ## -pz, --publish-zchain Publishes zchain ## -pc, --publish-config Publishes config +## -ek, --encode-key Encodes a key to Base64 +## -dk, --decode-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;; -- cgit v1.2.3