More about the currently recommended key sizes: https://www.keylength.com/en/compare/
Signed-off-by: Alexander Schlarb <alexander@ninetailed.ninja>
Modified to maintain the old minimum of 1024 bits for low-end devices.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
o.datatype = "uinteger"
o = s:option(Value, "bits", translate("Length of key in bits"))
-o.default = 1024
+o.default = 2048
o.datatype = "min(1024)"
o = s:option(Value, "commonname", translate("Server Hostname"), translate("a.k.a CommonName"))
o.default = "Unknown"
o = s:option(Value, "location", translate("Location"))
-o.default = "Somewhere"
+o.default = "Unknown"
return m