2026-03-12 21:01:38
This commit is contained in:
7
tiddlywiki/bash - use encrypted passwords in shell.txt
Executable file
7
tiddlywiki/bash - use encrypted passwords in shell.txt
Executable file
@@ -0,0 +1,7 @@
|
||||
export SECRET="*****"
|
||||
|
||||
export PASS_CLEAR="*****"
|
||||
echo ${PASS_CLEAR} | openssl enc -aes-256-cbc -md sha512 -a -pbkdf2 -iter 100000 -salt -pass pass:${SECRET}
|
||||
|
||||
export PASS_ENCRYPTED="*****"
|
||||
echo ${PASS_ENCRYPTED} | openssl enc -aes-256-cbc -md sha512 -a -d -pbkdf2 -iter 100000 -salt -pass pass:${SECRET}
|
||||
Reference in New Issue
Block a user