Skip to content

Commit

Permalink
luci-app-openvpn: change Value to DynamicList for ciphers
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Donald <[email protected]>
  • Loading branch information
systemcrash committed Apr 17, 2024
1 parent 995d3a1 commit f630156
Showing 1 changed file with 12 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -801,13 +801,21 @@ local knownParams = {
"ncp_disable",
0,
translate("This completely disables cipher negotiation") },
{ Value,
{ DynamicList,
"ncp_ciphers",
"AES-256-GCM:AES-128-GCM",
{
"AES-256-GCM",
"AES-128-GCM"
},
translate("Restrict the allowed ciphers to be negotiated") },
{ Value,
{ DynamicList,
"data_ciphers",
"CHACHA20-POLY1305:AES-256-GCM:AES-128-GCM:AES-256-CBC",
{
"CHACHA20-POLY1305",
"AES-256-GCM",
"AES-128-GCM",
"AES-256-CBC"
},
translate("Restrict the allowed ciphers to be negotiated") },
} }
}
Expand Down

0 comments on commit f630156

Please sign in to comment.