Bug#1034778: batch mode
Package: easy-rsa
Version: 3.1.0-0.2
Severity: minor
Script always runs in batch mode, regardless of "--batch" command line
option and inlined help. It's impossible to switch to non-batch mode.
Following path fixes it.
--- easyrsa 2023-03-21 21:46:48.000000000 +0300
+++ easyrsa.p1 2023-04-21 23:40:19.000000000 +0300
@@ -1422,10 +1422,10 @@
# create request
EASYRSA_REQ_CN="$name"
- gen_req "$name" batch ${nopass+ nopass}
+ gen_req "$name" ${ssl_batch+ batch} ${nopass+ nopass}
# Sign it
- ( sign_req "$crt_type" "$name" batch ) || {
+ ( sign_req "$crt_type" "$name" ${ssl_batch+ batch} ) || {
rm -f "$req_out" "$key_out"
die "Failed to sign '$name' - See error messages above for details."
}
--
Eugene Berdnikov
Reply to: