Skip to content

Commit 232bc25

Browse files
committed
cleanup
1 parent d06b29f commit 232bc25

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

devops/environment/base/setup.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@ if [ ! -f jwt-private.pem ] || [ ! -f jwt-public.pem ]; then
4646
[ -z "${pass}" ] && pass="$(${openssl} rand -hex 16)" && ${json} -f bucket.json "{\"JWT_PASSPHRASE\": \"${pass}\"}"
4747
rm -f jwt-private.pem jwt-public.pem && \
4848
${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
49+
${openssl} pkey -in jwt-private.pem -out jwt-public.pem -pubout -passin "pass:${pass}"
5150
[ $? -ne 0 ] && cd - && exit 1
5251
fi
5352

0 commit comments

Comments
 (0)