summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
46e8086)
checkAgePubkey will generate stderr if the function is provided an
'age' incompatible string
checkAgePubkey() {
# Desc: Checks if string is an age-compatible pubkey
# Usage: checkAgePubkey [str pubkey]
checkAgePubkey() {
# Desc: Checks if string is an age-compatible pubkey
# Usage: checkAgePubkey [str pubkey]
# Input: arg1: string
# Output: return code 0: string is age-compatible pubkey
# return code 1: string is NOT an age-compatible pubkey
# Input: arg1: string
# Output: return code 0: string is age-compatible pubkey
# return code 1: string is NOT an age-compatible pubkey
+ # age stderr (ex: there is stderr if invalid string provided)
# Depends: age (v0.1.0-beta2; https://github.com/FiloSottile/age/releases/tag/v1.0.0-beta2 )
argPubkey="$1";
# Depends: age (v0.1.0-beta2; https://github.com/FiloSottile/age/releases/tag/v1.0.0-beta2 )
argPubkey="$1";