mirror of
https://github.com/lldap/lldap.git
synced 2024-11-25 09:06:03 +00:00
13 lines
237 B
Bash
13 lines
237 B
Bash
|
#! /bin/sh
|
||
|
|
||
|
function print_random () {
|
||
|
LC_ALL=C tr -dc 'A-Za-z0-9!#%&()*+,-./:;<=>?@[\]^_{|}~' </dev/urandom | head -c 32
|
||
|
}
|
||
|
|
||
|
/bin/echo -n "LLDAP_JWT_SECRET='"
|
||
|
print_random
|
||
|
echo "'"
|
||
|
/bin/echo -n "LLDAP_KEY_SEED='"
|
||
|
print_random
|
||
|
echo "'"
|