~seirdy/moac

moac/completions/zsh/_moac -rw-r--r-- 820 bytes
97035daeRohan Kumar Chore(deps): bump deps 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#compdef moac

# compdef _gnu_generic moac

_arguments \
	"-h[display this help message]" \
	"-q[account for quantum computers using Grover's algorithm]" \
	"-r[interactively enter a password in the terminal; overrides -p]" \
	"-e[maximum energy used by attacker (J)]" \
	"-s[password entropy]" \
	"-m[mass at attacker's disposal (kg)]" \
	"-g[energy used per guess (J)]" \
	"-P[power available to the computer (W)]" \
	"-T[temperature of the system (K)]" \
	"-t[time limit for brute-force attack (s)]" \
	"-p[password to analyze]" \

local -a subcommands
subcommands=(
	"strength:calculate the likelihood of a successful guess"
	"entropy:calculate the entropy of the given password"
	"entropy-limit:calculate the minimum entropy for a brute-force attack failure."
)
_describe -t commands 'moac' subcommands

#vi:ft=zsh