Skip to content

Commit b53d6d0

Browse files
authored
Merge pull request #13 from devilbox/release-0.5
Fixes #10 explicitly sign with sha256
2 parents 172dd51 + 1cde441 commit b53d6d0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

bin/ca-gen

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ DEF_VERBOSE=
2323

2424

2525
print_version() {
26-
echo "${NAME} v0.4"
26+
echo "${NAME} v0.5"
2727
}
2828
print_help() {
2929
echo "USAGE: ${NAME} -n CN [-kdcslouev] <keyfile> <crtfile>"

bin/cert-gen

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ DEF_VERBOSE=
2727

2828

2929
print_version() {
30-
echo "${NAME} v0.4"
30+
echo "${NAME} v0.5"
3131
}
3232
print_help() {
3333
echo "USAGE: ${NAME} -n CN [-kdcsloueav] <ca-key> <ca-crt> <key> <csr> <crt>"
@@ -284,6 +284,7 @@ fi
284284
# shellcheck disable=SC1117
285285
cmd="openssl x509 \
286286
-req \
287+
-sha256 \
287288
-extensions v3_req \
288289
-extfile <(printf '[ req ]\nreq_extensions = v3_req\n[ v3_req ]\nsubjectAltName=${ALT_NAMES}\n') \
289290
-days ${DEF_DAYS} \

0 commit comments

Comments
 (0)