Commit f75fdc2
committed
feat(model): let clients prefer aes128 ciphers
this changes the default cipher suite to employ equal preference for
AES128-GCM and ChaCha20 ciphers, which allows clients to chooses which
of these ciphers they prefer while still using server provided cipher
preference overall. this is important, since it allows clients with AES
hardware accelaration like AES-NI use on most PCs to use the faster AES
GCM cipher, while mobile clients lacking hardware support can prefer
ChaCha-Poly. This configuration is similar to what can be achieved using
the OpenSSL PrioritizeChaCha option, but is cannot be controlled from
NGINX and has been dropped in our OpenSSL build in favor of the more
flexible equal preference ciphers ported from BoringSSL.1 parent a836ede commit f75fdc2
3 files changed
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
261 | 261 | | |
262 | 262 | | |
263 | 263 | | |
264 | | - | |
| 264 | + | |
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
| 232 | + | |
232 | 233 | | |
233 | 234 | | |
234 | | - | |
235 | | - | |
| 235 | + | |
| 236 | + | |
236 | 237 | | |
237 | 238 | | |
238 | 239 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
311 | | - | |
| 311 | + | |
312 | 312 | | |
313 | 313 | | |
314 | 314 | | |
| |||
0 commit comments