Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

feat(security): server_negotiation handle challenge response #618

Merged
merged 3 commits into from
Sep 9, 2020

Conversation

levy5307
Copy link
Contributor

@levy5307 levy5307 commented Sep 8, 2020

server_negotiation handle challenge response from client_negotiation

 negotiation process:

                                                  client                             server
                                                     |---   SASL_LIST_MECHANISMS    -->|
                                                     |<-- SASL_LIST_MECHANISMS_RESP ---|
                                                     |---  SASL_SELECT_MECHANISMS  --->|
                                                     |<-- SASL_SELECT_MECHANISMS_OK ---|
                                                     |                                 |
                                                     |------    SASL_INITIATE   ------>|
                                                     |                                 |
                                                     |<----     SASL_CHALLENGE    -----|
                                                     |-----      SASL_RESPONSE    ---->|
                                                     |                                 |
                                                     |              .....              |
                                                     |                                 |
                                                     |<----     SASL_CHALLENGE    -----|
                                                     |-----      SASL_RESPONSE    ---->|
                                                     |                                 |        (authentication will succeed
                                                     |                                 |        if all chanllenges passed)
                                                     | <---        SASL_SUCC      -----|
    (client won't response                           |                                 |
     if servers says ok)                             |                                 |
                                                     | ----         RPC_CALL      ---> |
                                                     | <---         RPC_RESP       ----|

@levy5307 levy5307 merged commit 4425703 into XiaoMi:master Sep 9, 2020
@levy5307 levy5307 deleted the server-on-challenge-resp branch September 9, 2020 05:53
levy5307 added a commit to levy5307/rdsn that referenced this pull request Dec 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants