aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-07-26 01:44:31 +0300
committerkaotisk <kaotisk@arching-kaos.org>2024-07-26 01:44:31 +0300
commitb9f350ee20251746c540ff352e7082e66b9c5ac8 (patch)
tree7a828b33eec8efa8cde06792ea7c92ba075e254a /bin
parent00f3e970c39adb28e24a6ac0cdbfffc8bac8ac67 (diff)
downloadarching-kaos-tools-b9f350ee20251746c540ff352e7082e66b9c5ac8.tar.gz
arching-kaos-tools-b9f350ee20251746c540ff352e7082e66b9c5ac8.tar.bz2
arching-kaos-tools-b9f350ee20251746c540ff352e7082e66b9c5ac8.zip
ak-gpg: new flag --verify-file <file>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ak-cjdns4
-rwxr-xr-xbin/ak-clean1
-rwxr-xr-xbin/ak-config4
-rwxr-xr-xbin/ak-gpg17
-rwxr-xr-xbin/ak-log4
-rwxr-xr-xbin/ak-network4
-rwxr-xr-xbin/ak-node-info2
-rwxr-xr-xbin/ak-profile5
-rwxr-xr-xbin/ak-sblock1
-rwxr-xr-xbin/ak-schain2
-rwxr-xr-xbin/ak-settings2
-rwxr-xr-xbin/ak-zchain11
12 files changed, 2 insertions, 55 deletions
diff --git a/bin/ak-cjdns b/bin/ak-cjdns
index cff1589..3abc254 100755
--- a/bin/ak-cjdns
+++ b/bin/ak-cjdns
@@ -5,13 +5,9 @@
## Usage:
##
## -h, --help Prints this help message
-##
## --check Check for binaries
-##
## --install Install cjdns
-##
## --connect Connect to ak cjdns nodes
-##
## --ip Returns your cjdns IPv6
##
fullprogrampath="$(realpath $0)"
diff --git a/bin/ak-clean b/bin/ak-clean
index 2411190..8d28d74 100755
--- a/bin/ak-clean
+++ b/bin/ak-clean
@@ -10,7 +10,6 @@
## Usage:
##
## -h, --help Prints this help message
-##
## -c, --clean Removes all /tmp/aktmp* directories
##
diff --git a/bin/ak-config b/bin/ak-config
index 49eec45..4418ba3 100755
--- a/bin/ak-config
+++ b/bin/ak-config
@@ -3,13 +3,9 @@
## Usage: ak-config [ -h | --help | --show | --publish | --get-published ]
##
## -h, --help Show this help screen
-##
## --show Show current configuration (from FileSystem)
-##
## --publish Publish current configuration
-##
## --get-published Get published ak-config (from IPFS)
-##
## --get-ipns-key Get the ak-config IPNS key
##
fullprogrampath="$(realpath $0)"
diff --git a/bin/ak-gpg b/bin/ak-gpg
index 23c3726..2c8bbdc 100755
--- a/bin/ak-gpg
+++ b/bin/ak-gpg
@@ -5,39 +5,25 @@
## Usage:
##
## -h, --help Prints this help message
-##
## --get-key-self-as-ipfs Returns your key as an IPFS hash
-##
## --get-key-self-as-fingerprint Returns the fingerprint of your key
-##
## --get-key-fingerprint-from-ipfs Returns the fingerprint of a given key
-##
## --export-key-self-to-file Exports self public key as 'self.pub'
-##
## --clear-sign <file> <output> Sign a file clearly
-##
+## --verify-file <file> Verify a clear signed file
## -l, --list-keys Returns a list of known GPG keys
-##
## -lp, --list-keys-plain Returns a list of known GPG keys as
## plain GPG output
-##
## -ll, --list-keys-long Returns a list of known GPG keys with
## their 1st uid
-##
## -ls, --list-secret-keys Returns a list of secret GPG keys
-##
## -lsp, --list-secret-keys-plain Returns a list of secret GPG keys as
## plain GPG output
-##
## -lsl, --list-secret-keys-long Returns a list of secret GPG keys with
## their 1st uid
-##
## -c, --create-key <email> Creates a GPG key with a label <email>
-##
## -s, --select-key Selects the GPG key you want to use
-##
## -d, --delete-key Delete GPG keys from your keyring
-##
## -ds, --delete-secret-key <fingerprint>
## Delete GPG keys from your keyring
##
@@ -62,6 +48,7 @@ if [ ! -z $1 ]; then
--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;;
+ --verify-file) shift; _ak_gpg_verify_clear_signature "$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;;
diff --git a/bin/ak-log b/bin/ak-log
index d22da70..3e7f8b6 100755
--- a/bin/ak-log
+++ b/bin/ak-log
@@ -5,15 +5,11 @@
## Usage:
##
## -h, --help Prints this help message
-##
## -f, --follow Follows the log file as its appended with new
## messages
-##
## -m, --message <program> <type> <message>
## Adds a log message to the log
-##
## -r, --rotate Cleans up log files after archiving them
-##
## -g, --grep Select a script to view only logs from that
##
fullprogrampath="$(realpath $0)"
diff --git a/bin/ak-network b/bin/ak-network
index 02bee20..5cafd86 100755
--- a/bin/ak-network
+++ b/bin/ak-network
@@ -5,17 +5,13 @@
## Usage:
##
## -h, --help Prints this help message
-##
## -c, --connect [ipfs|cjdns] Connect to network(s)
-##
## -p, --peers [ipfs|cjdns|stellar] Outputs peers found
-##
## -s, --scan [ipfs|cjdns|stellar] Scan network(s) for peers
##
## Bonus: CJDNS network scanning modes
##
## -s, --scan cjdns [-w|--whole] Scan using HIA's knowledge
-##
## -s, --scan cjdns [-d|--dump] Scan using CJDNS' dumpLinks (default)
##
fullprogrampath="$(realpath $0)"
diff --git a/bin/ak-node-info b/bin/ak-node-info
index 42f6822..b3933c1 100755
--- a/bin/ak-node-info
+++ b/bin/ak-node-info
@@ -5,9 +5,7 @@
## Usage:
##
## -h, --help Prints this help message
-##
## --ipfs
-##
## --ipns
##
fullprogrampath="$(realpath $0)"
diff --git a/bin/ak-profile b/bin/ak-profile
index 67b67d1..a595080 100755
--- a/bin/ak-profile
+++ b/bin/ak-profile
@@ -6,14 +6,10 @@
## Usage:
##
## -h, --help Prints this help message
-##
## -l, --local-index Show current status
-##
## --show <data IPFS CIDv0> Show profile entry from specified DATA
## IPFS CIDv0
-##
## -s, --set <property> <value> Sets a profile value
-##
## -g, --get <property> Gets a profile value from the on-disk
## file.
##
@@ -22,7 +18,6 @@
## -a, --add <file> Creates a data file from the profile file
## you point (file should already be in
## ZPROFILEDIR).
-##
## -i, --import <folder> Import a folder to zchain #TODO
##
fullprogrampath="$(realpath $0)"
diff --git a/bin/ak-sblock b/bin/ak-sblock
index 68e6870..3766b96 100755
--- a/bin/ak-sblock
+++ b/bin/ak-sblock
@@ -5,7 +5,6 @@
## Usage:
##
## -h, --help Prints this help message
-##
## -s, --show <sblock-hash> Show a particular SBLOCK
##
fullprogrampath="$(realpath $0)"
diff --git a/bin/ak-schain b/bin/ak-schain
index 5d4a442..3164eeb 100755
--- a/bin/ak-schain
+++ b/bin/ak-schain
@@ -5,9 +5,7 @@
## Usage:
##
## -h, --help Prints this help message
-##
## -c, --crawl Crawl an schain or latest known
-##
## -l, --get-latest Returns latest sblock from saved sblocks. The
## latest sblock would belong to the longest
## schain if more than one schains found.
diff --git a/bin/ak-settings b/bin/ak-settings
index 45fca1e..d2c87fb 100755
--- a/bin/ak-settings
+++ b/bin/ak-settings
@@ -5,10 +5,8 @@
## Usage:
##
## -h, --help Prints this help message
-##
## -g, --get [key] Gets all the settings or, in case key is set,
## returns only the key-value specified
-##
## -s, --set <key> <value> Sets the settings.key to value
##
fullprogrampath="$(realpath $0)"
diff --git a/bin/ak-zchain b/bin/ak-zchain
index 73d38ba..eabd9a4 100755
--- a/bin/ak-zchain
+++ b/bin/ak-zchain
@@ -5,7 +5,6 @@
## Usage:
##
## -h, --help Prints this help message
-##
## -r, --reset Reset zchain
## Backs up your latest block into IPFS
## filesystem, replaces it with an empty file
@@ -15,7 +14,6 @@
## This program, does NOT delete anything from
## your IPFS repository, neither denies access to
## previously created blocks.
-##
## --rebase <zblock> Rebase zchain to a zblock
## Backs up your latest block into IPFS
## filesystem, replaces it with a zblock and
@@ -25,24 +23,15 @@
## This program, does NOT delete anything from
## your IPFS repository, neither denies access to
## previously created blocks.
-##
## --rebase-back-one Rebase zchain one zblock back
-##
## --extract-cids Extracts IPFS CIDv0 links of a zchain
-##
## --extract-data-cids Extracts data IPFS CIDv0 links from a zchain
-##
## --calculate-size Calculates the size of a zchain
-##
## --crawl Crawls zchains ( --crawl --help for more
## options)
-##
## --crawl-self Crawls the local zchain
-##
## --crawl-remote-ipfs Crawls a remote zchain
-##
## --crawl-remote-ipns Crawls a remote zchain from ipns key
-##
## --get-latest Returns the latest zblock from your zchain
##
fullprogrampath="$(realpath $0)"