pwcalc - add terminal version for non-x environment
This commit is contained in:
parent
8e79b90080
commit
135226b7ad
10
local/bin/twpcalc.sh
Executable file
10
local/bin/twpcalc.sh
Executable file
@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Reading input {{{
|
||||
|
||||
# Terminal
|
||||
read -p "Alias: " alias_
|
||||
read -s -p "Secret: " secret
|
||||
|
||||
echo -n "$secret$alias_" | shasum | xxd -r -p | base64 | colrm 17
|
||||
|
Loading…
Reference in New Issue
Block a user