summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorstilez <stilez@users.noreply.github.com>2016-05-08 05:11:18 +0100
committerstilez <stilez@users.noreply.github.com>2016-05-08 05:11:18 +0100
commitd5018c6af182a0aeabdf1350975f1e855566e1fb (patch)
treeb13ff11e304754df40c096b8c00964e7158d7231 /src
parentc4b5c8bee551025cb55fd755b73b0a7275679c3e (diff)
downloadpfsense-d5018c6af182a0aeabdf1350975f1e855566e1fb.zip
pfsense-d5018c6af182a0aeabdf1350975f1e855566e1fb.tar.gz
Add missing recommended key lengths to user manager
Add key lengths to user manager options
Diffstat (limited to 'src')
-rw-r--r--src/usr/local/www/system_usermanager.php9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/usr/local/www/system_usermanager.php b/src/usr/local/www/system_usermanager.php
index 2df24be..83dbbf1 100644
--- a/src/usr/local/www/system_usermanager.php
+++ b/src/usr/local/www/system_usermanager.php
@@ -805,9 +805,14 @@ if ($act == "new" || $act == "edit" || $input_errors):
512 => '512 bits',
1024 => '1024 bits',
2048 => '2048 bits',
+ 3072 => '3072 bits',
4096 => '4096 bits',
+ 7680 => '7680 bits',
+ 8192 => '8192 bits',
+ 15360 => '15360 bits',
+ 16384 => '16384 bits'
)
- ));
+ ))->setHelp('The larger the key, the more security it offers, but larger keys take considerably more time to generate, and take slightly longer to validate leading to a slight slowdown in setting up new sessions (not always noticeable). As of 2016, 2048 bit is the minimum and most common selection and 4096 is the maximum in common use. For more information see &lt;a href="https://keylength.com"&gt;keylength.com&lt;/a&gt;.');
$section->addInput(new Form_Input(
'lifetime',
@@ -904,4 +909,4 @@ events.push(function() {
</script>
<?php
include('foot.inc');
-?> \ No newline at end of file
+?>
OpenPOWER on IntegriCloud