ibs/sql_app/gen_secret.sh
HeshamTB f1cbd6d265 jwt auth
Signed-off-by: HeshamTB <hishaminv@gmail.com>
2022-04-13 05:24:06 +03:00

14 lines
200 B
Bash
Executable File

#!/bin/env bash
# TODO: set a user only umask for proper premissions
# Mar 23, 2022 - H.B.
if [ -z $(command -v openssl) ]
then
echo "openssl not installed"
exit 1
fi
openssl rand -hex 32