Re: [I] [Bug] PD REST auth checks only the service name, never the password, and returns HTTP 200 on refusal; fix both in 1.8.0 [hugegraph]
bitflicker64 commented on issue #3188: URL: https://github.com/apache/hugegraph/issues/3188#issuecomment-5521101965 hey!! thanks for the interest, but i'm already preparing a patch for this one, it's kinda important and it has to land together with the client side wiring (server, store, hubble, compose) for 1.8.0, so i'd rather keep it in one set with #3185 and #3187 if you want something in the same area, #3090 is open and unassigned (hstore core-test exclusions, good first issue) and #2764 lists the newcomer ones!! on the security part, the gap is already written in the code as a todo on master, so tracking it here is fine -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
Re: [I] [Bug] PD REST auth checks only the service name, never the password, and returns HTTP 200 on refusal; fix both in 1.8.0 [hugegraph]
Adarsh-Me commented on issue #3188: URL: https://github.com/apache/hugegraph/issues/3188#issuecomment-5521076249 Hi! I'd like to take this one. Could a maintainer assign it to me? My plan is to reproduce both defects against the PD REST interceptor, fix the credential check so it verifies the password (not just the service name) per the configured auth settings, return a proper 401 instead of HTTP 200 on failure, and add tests covering both the too-permissive and wrong-status paths. Thanks! PS: since this touches authentication, happy to coordinate through the project's security process instead if you'd prefer. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
