Support of authentication using MariaDB Parsec plugin#409
Open
lawrinn wants to merge 3 commits intoblackbeam:masterfrom
Open
Support of authentication using MariaDB Parsec plugin#409lawrinn wants to merge 3 commits intoblackbeam:masterfrom
lawrinn wants to merge 3 commits intoblackbeam:masterfrom
Conversation
Actual support is enbaled by `client_parsec` feature. Introduced new test 'parsec_connect' that is also enabled by beforementioned feature. To the test 'should_change_user' added covering of the user authenticated via parsec plugin. Most of the logic of the work with the plugin is in the method continue_parsec_auth perform_auth_switch sends additional empty packet to request ext-salt packet. After that continue_parsec_auth calls AuthPlugin methods to read that packet info and to generate response.
and to start server with server plugin loaded
Contributor
Author
|
One more thing. Looking at ed25519 I've made it as a feature. It can stay so if you want. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Actual support is enabled by
client_parsecfeature.Introduced new test 'parsec_connect' that is also enabled by before-mentioned feature. To the test 'should_change_user' added covering of the case when user authenticated via parsec plugin.
Most of the logic of the work with the plugin is in the method continue_parsec_auth
perform_auth_switch sends additional empty packet to request ext-salt packet. After that continue_parsec_auth calls AuthPlugin methods to read that packet info and to generate response.