)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":1000038,"name":"mattock","display_name":"Samuli Seppänen","email":"sasepp@proton.me","username":"mattock","status":"Community member"},"change_message_id":"050873f8bc9fb3881181a123c8c731ade95d06bb","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"b19a5f57_d3dcd846","updated":"2025-03-26 12:24:10.000000000","message":"I believe this works as intended. I added a comment about the inconsistency in order of the ciphers (see below), but I think that does not cause any problems in practice","commit_id":"dbf3b31e2be875ead3b0a72f992a920a4bb949ef"}],"tests/t_server_null_default.rc":[{"author":{"_account_id":1000038,"name":"mattock","display_name":"Samuli Seppänen","email":"sasepp@proton.me","username":"mattock","status":"Community member"},"change_message_id":"050873f8bc9fb3881181a123c8c731ade95d06bb","unresolved":false,"context_lines":[{"line_number":106,"context_line":"TEST_NAME_4a\u003d\"t_server_null_client.sh-openvpn_current_udp_dc1\""},{"line_number":107,"context_line":"SHOULD_PASS_4a\u003d\"yes\""},{"line_number":108,"context_line":"CLIENT_EXEC_4a\u003d\"${CLIENT_EXEC}\""},{"line_number":109,"context_line":"CLIENT_CONF_4a\u003d\"${CLIENT_CONF_BASE} --remote 127.0.0.1 1194 udp --proto udp --cipher AES-128-CBC --data-ciphers AES-192-CBC:DEFAULT\""},{"line_number":110,"context_line":""},{"line_number":111,"context_line":"# specific --data-cipher against server that supports that cipher"},{"line_number":112,"context_line":"# --cipher ignored"}],"source_content_type":"application/octet-stream","patch_set":2,"id":"fd61574c_bf9c83bc","line":109,"updated":"2025-03-26 12:24:10.000000000","message":"The inconsistency in --data-ciphers between server (DEFAULT:AES-192-CBC) and this client (AES-192-CBC:DEFAULT) looked off, so I checked the implications just in case.\n\nThe --data-ciphers setting is expanded as AES-256-GCM:AES-128-GCM:AES-192-CBC (server) and AES-192-CBC:AES-256-GCM:AES-128-GCM (client).\n\nThe man page tells this:\n\n\"For servers, the first cipher from cipher-list that is also supported by the client will be pushed to clients that support cipher negotiation.\"\n\nAlso, in OpenVPN 2.6.0 and later (as in here), the --cipher setting is ignored in TLS mode. As --cipher is different for the server and this client, this seems to test the \"does --cipher get ignored\" part. If I\u0027m reading this right, the server tries to push AES-256-GCM first and as the client also has AES-256-GCM, that cipher is chosen. AES-192-CBC, despite being in both lists, is not chosen.","commit_id":"dbf3b31e2be875ead3b0a72f992a920a4bb949ef"},{"author":{"_account_id":1000038,"name":"mattock","display_name":"Samuli Seppänen","email":"sasepp@proton.me","username":"mattock","status":"Community member"},"change_message_id":"050873f8bc9fb3881181a123c8c731ade95d06bb","unresolved":false,"context_lines":[{"line_number":120,"context_line":"TEST_NAME_4c\u003d\"t_server_null_client.sh-openvpn_current_udp_dc3_fail\""},{"line_number":121,"context_line":"SHOULD_PASS_4c\u003d\"no\""},{"line_number":122,"context_line":"CLIENT_EXEC_4c\u003d\"${CLIENT_EXEC}\""},{"line_number":123,"context_line":"CLIENT_CONF_4c\u003d\"${CLIENT_CONF_BASE} --remote 127.0.0.1 1196 udp --proto udp --cipher AES-192-CBC --data-ciphers AES-128-CBC\""}],"source_content_type":"application/octet-stream","patch_set":2,"id":"346e5108_279f06cb","line":123,"updated":"2025-03-26 12:24:10.000000000","message":"This seems to fail correctly, as server does not have AES-128-CBC enabled.","commit_id":"dbf3b31e2be875ead3b0a72f992a920a4bb949ef"}]}
