)]}'
{"doc/management-notes.txt":[{"author":{"_account_id":1000001,"name":"Frank Lichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."},"change_message_id":"2e6c24c68c42b6b2a832628e3697cfc404ec74a6","unresolved":true,"context_lines":[{"line_number":400,"context_line":"    \u003ePASSWORD:Need \u0027Auth\u0027 username/password UN:\u003cuser-base64\u003e SC:1,Please enter token PIN"},{"line_number":401,"context_line":""},{"line_number":402,"context_line":"  These work exactly as Examples 3 and 8, resepctively, with the following"},{"line_number":403,"context_line":"  difference. The prompt has an addiitonal word \"UN:\u003cuser-base64\u003e\" where"},{"line_number":404,"context_line":"  \u003cuser-base64\u003e is the base64 encoded form a pre-defined username. This"},{"line_number":405,"context_line":"  may be a username inlined in the config file or read from an external"},{"line_number":406,"context_line":"  user-pass file."}],"source_content_type":"text/plain","patch_set":1,"id":"8d688de3_b5683a9d","line":403,"updated":"2026-10-29 13:09:49.000000000","message":"Typo \"additional\"","commit_id":"ad26ba310eb387d5558d527898bda4e17a0c2783"},{"author":{"_account_id":1000009,"name":"Selva Nair","display_name":"Selva Nair","email":"selva.nair@gmail.com","username":"selvanair"},"change_message_id":"54a9f19b1f93055b9282c026045ecb519e06b8f0","unresolved":false,"context_lines":[{"line_number":400,"context_line":"    \u003ePASSWORD:Need \u0027Auth\u0027 username/password UN:\u003cuser-base64\u003e SC:1,Please enter token PIN"},{"line_number":401,"context_line":""},{"line_number":402,"context_line":"  These work exactly as Examples 3 and 8, resepctively, with the following"},{"line_number":403,"context_line":"  difference. The prompt has an addiitonal word \"UN:\u003cuser-base64\u003e\" where"},{"line_number":404,"context_line":"  \u003cuser-base64\u003e is the base64 encoded form a pre-defined username. This"},{"line_number":405,"context_line":"  may be a username inlined in the config file or read from an external"},{"line_number":406,"context_line":"  user-pass file."}],"source_content_type":"text/plain","patch_set":1,"id":"aa70a5ed_3cdc944c","line":403,"in_reply_to":"8d688de3_b5683a9d","updated":"2026-10-30 02:46:40.000000000","message":"Acknowledged","commit_id":"ad26ba310eb387d5558d527898bda4e17a0c2783"},{"author":{"_account_id":1000001,"name":"Frank Lichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."},"change_message_id":"2e6c24c68c42b6b2a832628e3697cfc404ec74a6","unresolved":true,"context_lines":[{"line_number":401,"context_line":""},{"line_number":402,"context_line":"  These work exactly as Examples 3 and 8, resepctively, with the following"},{"line_number":403,"context_line":"  difference. The prompt has an addiitonal word \"UN:\u003cuser-base64\u003e\" where"},{"line_number":404,"context_line":"  \u003cuser-base64\u003e is the base64 encoded form a pre-defined username. This"},{"line_number":405,"context_line":"  may be a username inlined in the config file or read from an external"},{"line_number":406,"context_line":"  user-pass file."},{"line_number":407,"context_line":""}],"source_content_type":"text/plain","patch_set":1,"id":"53779abb_03ffae33","line":404,"updated":"2026-10-29 13:09:49.000000000","message":"This sentence is weird. Maybe \"of a pre-defined username\"?","commit_id":"ad26ba310eb387d5558d527898bda4e17a0c2783"},{"author":{"_account_id":1000009,"name":"Selva Nair","display_name":"Selva Nair","email":"selva.nair@gmail.com","username":"selvanair"},"change_message_id":"54a9f19b1f93055b9282c026045ecb519e06b8f0","unresolved":false,"context_lines":[{"line_number":401,"context_line":""},{"line_number":402,"context_line":"  These work exactly as Examples 3 and 8, resepctively, with the following"},{"line_number":403,"context_line":"  difference. The prompt has an addiitonal word \"UN:\u003cuser-base64\u003e\" where"},{"line_number":404,"context_line":"  \u003cuser-base64\u003e is the base64 encoded form a pre-defined username. This"},{"line_number":405,"context_line":"  may be a username inlined in the config file or read from an external"},{"line_number":406,"context_line":"  user-pass file."},{"line_number":407,"context_line":""}],"source_content_type":"text/plain","patch_set":1,"id":"be4cb581_d57baf58","line":404,"in_reply_to":"53779abb_03ffae33","updated":"2026-10-30 02:46:40.000000000","message":"Done","commit_id":"ad26ba310eb387d5558d527898bda4e17a0c2783"},{"author":{"_account_id":1000053,"name":"Răzvan Cojocaru","display_name":"Razvan Cojocaru","email":"razvanc@mailbox.org","username":"razvanc"},"change_message_id":"ad4f6c72861d327a4bdee4a0846f71b383d2e951","unresolved":true,"context_lines":[{"line_number":399,"context_line":"    \u003ePASSWORD:Need \u0027Auth\u0027 username/password UN:\u003cuser-base64\u003e"},{"line_number":400,"context_line":"    \u003ePASSWORD:Need \u0027Auth\u0027 username/password UN:\u003cuser-base64\u003e SC:1,Please enter token PIN"},{"line_number":401,"context_line":""},{"line_number":402,"context_line":"  These work exactly as Examples 3 and 8, respectively, with the following"},{"line_number":403,"context_line":"  difference. The prompt has an additional word \"UN:\u003cuser-base64\u003e\" where"},{"line_number":404,"context_line":"  \u003cuser-base64\u003e is the base64 encoded form of a pre-defined username. This"},{"line_number":405,"context_line":"  may be a username inlined in the config file or read from an external"}],"source_content_type":"text/plain","patch_set":2,"id":"564f4843_7455126f","line":402,"updated":"2026-10-29 15:00:41.000000000","message":"Example 2?","commit_id":"08b058611ff00638cee31f0eb2da092826e34c5f"},{"author":{"_account_id":1000009,"name":"Selva Nair","display_name":"Selva Nair","email":"selva.nair@gmail.com","username":"selvanair"},"change_message_id":"54a9f19b1f93055b9282c026045ecb519e06b8f0","unresolved":false,"context_lines":[{"line_number":399,"context_line":"    \u003ePASSWORD:Need \u0027Auth\u0027 username/password UN:\u003cuser-base64\u003e"},{"line_number":400,"context_line":"    \u003ePASSWORD:Need \u0027Auth\u0027 username/password UN:\u003cuser-base64\u003e SC:1,Please enter token PIN"},{"line_number":401,"context_line":""},{"line_number":402,"context_line":"  These work exactly as Examples 3 and 8, respectively, with the following"},{"line_number":403,"context_line":"  difference. The prompt has an additional word \"UN:\u003cuser-base64\u003e\" where"},{"line_number":404,"context_line":"  \u003cuser-base64\u003e is the base64 encoded form of a pre-defined username. This"},{"line_number":405,"context_line":"  may be a username inlined in the config file or read from an external"}],"source_content_type":"text/plain","patch_set":2,"id":"a3a29cb1_a4559d99","line":402,"in_reply_to":"564f4843_7455126f","updated":"2026-10-30 02:46:40.000000000","message":"Acknowledged","commit_id":"08b058611ff00638cee31f0eb2da092826e34c5f"},{"author":{"_account_id":1000053,"name":"Răzvan Cojocaru","display_name":"Razvan Cojocaru","email":"razvanc@mailbox.org","username":"razvanc"},"change_message_id":"ad4f6c72861d327a4bdee4a0846f71b383d2e951","unresolved":true,"context_lines":[{"line_number":410,"context_line":"  the client implementation."},{"line_number":411,"context_line":""},{"line_number":412,"context_line":"  The response from the management client should follow the same format"},{"line_number":413,"context_line":"  as in example 3 or example 8, as applicable."},{"line_number":414,"context_line":""},{"line_number":415,"context_line":"  This prompt is shown only if the management-client announces a"},{"line_number":416,"context_line":"  version \u003e\u003d 6. Older clients will see the prompt shown in Example 3"}],"source_content_type":"text/plain","patch_set":2,"id":"e0e44b38_cc0f41bd","line":413,"updated":"2026-10-29 15:00:41.000000000","message":"Example 2?","commit_id":"08b058611ff00638cee31f0eb2da092826e34c5f"},{"author":{"_account_id":1000009,"name":"Selva Nair","display_name":"Selva Nair","email":"selva.nair@gmail.com","username":"selvanair"},"change_message_id":"4b7515ac50548b535634205cc8c4e83fe8a4a48d","unresolved":false,"context_lines":[{"line_number":410,"context_line":"  the client implementation."},{"line_number":411,"context_line":""},{"line_number":412,"context_line":"  The response from the management client should follow the same format"},{"line_number":413,"context_line":"  as in example 3 or example 8, as applicable."},{"line_number":414,"context_line":""},{"line_number":415,"context_line":"  This prompt is shown only if the management-client announces a"},{"line_number":416,"context_line":"  version \u003e\u003d 6. Older clients will see the prompt shown in Example 3"}],"source_content_type":"text/plain","patch_set":2,"id":"da904184_1ff4832c","line":413,"in_reply_to":"e0e44b38_cc0f41bd","updated":"2026-10-30 19:39:45.000000000","message":"Done","commit_id":"08b058611ff00638cee31f0eb2da092826e34c5f"}],"src/openvpn/manage.c":[{"author":{"_account_id":1000053,"name":"Răzvan Cojocaru","display_name":"Razvan Cojocaru","email":"razvanc@mailbox.org","username":"razvanc"},"change_message_id":"ad4f6c72861d327a4bdee4a0846f71b383d2e951","unresolved":true,"context_lines":[{"line_number":3672,"context_line":"        }"},{"line_number":3673,"context_line":""},{"line_number":3674,"context_line":"        if (up_query_mode \u003d\u003d UP_QUERY_USER_PASS"},{"line_number":3675,"context_line":"            \u0026\u0026 (man-\u003econnection.client_version \u003e\u003d MCV_PREFERRED_USERNAME)"},{"line_number":3676,"context_line":"            \u0026\u0026 up-\u003eusername[0])"},{"line_number":3677,"context_line":"        {"},{"line_number":3678,"context_line":"            /*"}],"source_content_type":"text/x-csrc","patch_set":2,"id":"26d06886_1972b437","line":3675,"updated":"2026-10-29 15:00:41.000000000","message":"Should this check `type` as well?","commit_id":"08b058611ff00638cee31f0eb2da092826e34c5f"},{"author":{"_account_id":1000009,"name":"Selva Nair","display_name":"Selva Nair","email":"selva.nair@gmail.com","username":"selvanair"},"change_message_id":"54a9f19b1f93055b9282c026045ecb519e06b8f0","unresolved":true,"context_lines":[{"line_number":3672,"context_line":"        }"},{"line_number":3673,"context_line":""},{"line_number":3674,"context_line":"        if (up_query_mode \u003d\u003d UP_QUERY_USER_PASS"},{"line_number":3675,"context_line":"            \u0026\u0026 (man-\u003econnection.client_version \u003e\u003d MCV_PREFERRED_USERNAME)"},{"line_number":3676,"context_line":"            \u0026\u0026 up-\u003eusername[0])"},{"line_number":3677,"context_line":"        {"},{"line_number":3678,"context_line":"            /*"}],"source_content_type":"text/x-csrc","patch_set":2,"id":"db2745db_b73fbb2e","line":3675,"in_reply_to":"26d06886_1972b437","updated":"2026-10-30 02:46:40.000000000","message":"We use mode\u003dUP_QUERY_USER_PASS only for username/password prompt with or without static-challenge. So okay as is?","commit_id":"08b058611ff00638cee31f0eb2da092826e34c5f"},{"author":{"_account_id":1000009,"name":"Selva Nair","display_name":"Selva Nair","email":"selva.nair@gmail.com","username":"selvanair"},"change_message_id":"4b7515ac50548b535634205cc8c4e83fe8a4a48d","unresolved":true,"context_lines":[{"line_number":3672,"context_line":"        }"},{"line_number":3673,"context_line":""},{"line_number":3674,"context_line":"        if (up_query_mode \u003d\u003d UP_QUERY_USER_PASS"},{"line_number":3675,"context_line":"            \u0026\u0026 (man-\u003econnection.client_version \u003e\u003d MCV_PREFERRED_USERNAME)"},{"line_number":3676,"context_line":"            \u0026\u0026 up-\u003eusername[0])"},{"line_number":3677,"context_line":"        {"},{"line_number":3678,"context_line":"            /*"}],"source_content_type":"text/x-csrc","patch_set":2,"id":"16d162bd_8d3baccc","line":3675,"in_reply_to":"547a8ef0_f663b340","updated":"2026-10-30 19:39:45.000000000","message":"Both \u0027SOCKS Proxy\u0027 and \u0027HTTP Proxy\u0027 username/password request will get handled the same way as \u0027Auth\u0027. This looks desirable. \n\nBut these addiitonal types are currently not documented anywhere in management_notes.txt -- I will add them to example 2 and make Example 10 \u0026 commit message more generic.","commit_id":"08b058611ff00638cee31f0eb2da092826e34c5f"},{"author":{"_account_id":1000053,"name":"Răzvan Cojocaru","display_name":"Razvan Cojocaru","email":"razvanc@mailbox.org","username":"razvanc"},"change_message_id":"4772990d2935c0a9d60c46e9d2638542d5108c6b","unresolved":true,"context_lines":[{"line_number":3672,"context_line":"        }"},{"line_number":3673,"context_line":""},{"line_number":3674,"context_line":"        if (up_query_mode \u003d\u003d UP_QUERY_USER_PASS"},{"line_number":3675,"context_line":"            \u0026\u0026 (man-\u003econnection.client_version \u003e\u003d MCV_PREFERRED_USERNAME)"},{"line_number":3676,"context_line":"            \u0026\u0026 up-\u003eusername[0])"},{"line_number":3677,"context_line":"        {"},{"line_number":3678,"context_line":"            /*"}],"source_content_type":"text/x-csrc","patch_set":2,"id":"547a8ef0_f663b340","line":3675,"in_reply_to":"db2745db_b73fbb2e","updated":"2026-10-30 06:18:34.000000000","message":"The HTTP proxy passes `GET_USER_PASS_MANAGEMENT` from `get_user_pass_http()` in proxy.c, and SOCKS does the same in socks.c. The commit message and Example 10 only describe `Auth`.\n\nThat could be useful and intended, in which case updating the docs to say so explicitly removes the confusion.","commit_id":"08b058611ff00638cee31f0eb2da092826e34c5f"},{"author":{"_account_id":1000053,"name":"Răzvan Cojocaru","display_name":"Razvan Cojocaru","email":"razvanc@mailbox.org","username":"razvanc"},"change_message_id":"ad4f6c72861d327a4bdee4a0846f71b383d2e951","unresolved":true,"context_lines":[{"line_number":3682,"context_line":"            char *user64 \u003d NULL;"},{"line_number":3683,"context_line":"            if (openvpn_base64_encode(up-\u003eusername, (int)strlen(up-\u003eusername), \u0026user64) !\u003d -1)"},{"line_number":3684,"context_line":"            {"},{"line_number":3685,"context_line":"                buf_printf(\u0026alert_msg, \" UN:%s\", user64);"},{"line_number":3686,"context_line":"            }"},{"line_number":3687,"context_line":"            else"},{"line_number":3688,"context_line":"            {"}],"source_content_type":"text/x-csrc","patch_set":2,"id":"d94a2e88_e6dc99d7","line":3685,"updated":"2026-10-29 15:00:41.000000000","message":"Are we sure `alert_msg` can hold everything it\u0027s supposed to legitimately contain? I see it\u0027s allocated as 128 bytes.","commit_id":"08b058611ff00638cee31f0eb2da092826e34c5f"},{"author":{"_account_id":1000009,"name":"Selva Nair","display_name":"Selva Nair","email":"selva.nair@gmail.com","username":"selvanair"},"change_message_id":"54a9f19b1f93055b9282c026045ecb519e06b8f0","unresolved":true,"context_lines":[{"line_number":3682,"context_line":"            char *user64 \u003d NULL;"},{"line_number":3683,"context_line":"            if (openvpn_base64_encode(up-\u003eusername, (int)strlen(up-\u003eusername), \u0026user64) !\u003d -1)"},{"line_number":3684,"context_line":"            {"},{"line_number":3685,"context_line":"                buf_printf(\u0026alert_msg, \" UN:%s\", user64);"},{"line_number":3686,"context_line":"            }"},{"line_number":3687,"context_line":"            else"},{"line_number":3688,"context_line":"            {"}],"source_content_type":"text/x-csrc","patch_set":2,"id":"0c88e5c7_f0d49f8a","line":3685,"in_reply_to":"d94a2e88_e6dc99d7","updated":"2026-10-30 02:46:40.000000000","message":"Rigt, this looks like an existing defect made worse by this patch: we allow even static-chalenge messages longer than what can fit in 128 bytes. \nI can post a  follow up patch to increase it to 256 bytes and log a warning on overflow.","commit_id":"08b058611ff00638cee31f0eb2da092826e34c5f"}]}
