luci-app-uhttpd: Bump default key size to 2048 bits for certificates
authorAlexander Schlarb <alexander255@users.noreply.github.com>
Sat, 19 Aug 2017 16:58:49 +0000 (18:58 +0200)
committerHannu Nyman <hannu.nyman@iki.fi>
Sun, 20 Aug 2017 05:51:33 +0000 (08:51 +0300)
commit079f65a628a4c4179578c043d2905efea93bb167
tree1cdd41b33a898bb44dc14b639dcd8e92724189fe
parent2bb1abd5ec654a6bdb02c3695953a81fa581dbd4
luci-app-uhttpd: Bump default key size to 2048 bits for certificates

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>
(cherry picked from commit ac8a957191e49b186fcebfa23a2b54e6f7a2f9db)
applications/luci-app-uhttpd/luasrc/model/cbi/uhttpd/uhttpd.lua