We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d06b29f commit 232bc25Copy full SHA for 232bc25
devops/environment/base/setup.sh
@@ -46,8 +46,7 @@ if [ ! -f jwt-private.pem ] || [ ! -f jwt-public.pem ]; then
46
[ -z "${pass}" ] && pass="$(${openssl} rand -hex 16)" && ${json} -f bucket.json "{\"JWT_PASSPHRASE\": \"${pass}\"}"
47
rm -f jwt-private.pem jwt-public.pem && \
48
${openssl} genpkey -out jwt-private.pem -aes256 -algorithm rsa -pkeyopt rsa_keygen_bits:4096 -pass "pass:${pass}" && \
49
- ${openssl} pkey -in jwt-private.pem -out jwt-public.pem -pubout -passin "pass:${pass}" && \
50
- chmod +r jwt-private.pem
+ ${openssl} pkey -in jwt-private.pem -out jwt-public.pem -pubout -passin "pass:${pass}"
51
[ $? -ne 0 ] && cd - && exit 1
52
fi
53
0 commit comments