Show More
@@ -333,20 +333,9 Disabling the TLS 1.0 warning works | |||||
333 | > --config hostsecurity.disabletls10warning=true |
|
333 | > --config hostsecurity.disabletls10warning=true | |
334 | 5fed3813f7f5 |
|
334 | 5fed3813f7f5 | |
335 |
|
335 | |||
336 | #if no-sslcontext no-py27+ |
|
336 | Error message for setting ciphers is different depending on SSLContext support | |
337 | Setting ciphers doesn't work in Python 2.6 |
|
|||
338 | $ P="$CERTSDIR" hg --config hostsecurity.ciphers=HIGH -R copy-pull id https://localhost:$HGPORT/ |
|
|||
339 | warning: connecting to localhost using legacy security technology (TLS 1.0); see https://mercurial-scm.org/wiki/SecureConnections for more info |
|
|||
340 | abort: setting ciphers in [hostsecurity] is not supported by this version of Python |
|
|||
341 | (remove the config option or run Mercurial with a modern Python version (preferred)) |
|
|||
342 | [255] |
|
|||
343 | #endif |
|
|||
344 |
|
|
337 | ||
345 | Setting ciphers works in Python 2.7+ but the error message is different on |
|
338 | #if no-sslcontext | |
346 | legacy ssl. We test legacy once and do more feature checking on modern |
|
|||
347 | configs. |
|
|||
348 |
|
||||
349 | #if py27+ no-sslcontext |
|
|||
350 | $ P="$CERTSDIR" hg --config hostsecurity.ciphers=invalid -R copy-pull id https://localhost:$HGPORT/ |
|
339 | $ P="$CERTSDIR" hg --config hostsecurity.ciphers=invalid -R copy-pull id https://localhost:$HGPORT/ | |
351 | warning: connecting to localhost using legacy security technology (TLS 1.0); see https://mercurial-scm.org/wiki/SecureConnections for more info |
|
340 | warning: connecting to localhost using legacy security technology (TLS 1.0); see https://mercurial-scm.org/wiki/SecureConnections for more info | |
352 | abort: *No cipher can be selected. (glob) |
|
341 | abort: *No cipher can be selected. (glob) |
General Comments 0
You need to be logged in to leave comments.
Login now