Show More
@@ -808,9 +808,6 b' coreconfigitem(' | |||||
808 | b'hostsecurity', b'ciphers', default=None, |
|
808 | b'hostsecurity', b'ciphers', default=None, | |
809 | ) |
|
809 | ) | |
810 | coreconfigitem( |
|
810 | coreconfigitem( | |
811 | b'hostsecurity', b'disabletls10warning', default=False, |
|
|||
812 | ) |
|
|||
813 | coreconfigitem( |
|
|||
814 | b'hostsecurity', b'minimumprotocol', default=dynamicdefault, |
|
811 | b'hostsecurity', b'minimumprotocol', default=dynamicdefault, | |
815 | ) |
|
812 | ) | |
816 | coreconfigitem( |
|
813 | coreconfigitem( |
@@ -268,12 +268,6 b' Test server cert which no longer is vali' | |||||
268 | abort: error: *certificate verify failed* (glob) |
|
268 | abort: error: *certificate verify failed* (glob) | |
269 | [255] |
|
269 | [255] | |
270 |
|
270 | |||
271 | Disabling the TLS 1.0 warning works |
|
|||
272 | $ hg -R copy-pull id https://localhost:$HGPORT/ \ |
|
|||
273 | > --config hostsecurity.localhost:fingerprints=sha1:ecd87cd6b386d04fc1b8b41c9d8f5e168eef1c03 \ |
|
|||
274 | > --config hostsecurity.disabletls10warning=true |
|
|||
275 | 5fed3813f7f5 |
|
|||
276 |
|
||||
277 | Setting ciphers to an invalid value aborts |
|
271 | Setting ciphers to an invalid value aborts | |
278 | $ P="$CERTSDIR" hg --config hostsecurity.ciphers=invalid -R copy-pull id https://localhost:$HGPORT/ |
|
272 | $ P="$CERTSDIR" hg --config hostsecurity.ciphers=invalid -R copy-pull id https://localhost:$HGPORT/ | |
279 | abort: could not set ciphers: No cipher can be selected. |
|
273 | abort: could not set ciphers: No cipher can be selected. |
General Comments 0
You need to be logged in to leave comments.
Login now