Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server verifies first #2

Open
Sc00bz opened this issue Jan 30, 2019 · 0 comments
Open

Server verifies first #2

Sc00bz opened this issue Jan 30, 2019 · 0 comments

Comments

@Sc00bz
Copy link

Sc00bz commented Jan 30, 2019

I noticed that the server verifies first instead of the client verifying first. Also when the client verifies they can also send encrypted data, saving an RTT.

Current:

C->S: client id
C<-S: version, algo, opslimit, memlimit, salt
C->S: X
C<-S: Y, server verifier
C->S: client verifier

Should be:

C->S: client id
C<-S: version, algo, opslimit, memlimit, salt, Y
C->S: X, client verifier
C<-S: server verifier

With blind salt it will look like this:

C->S: client id, blind salt
C<-S: version, algo, opslimit, memlimit, blind salt', Y
C->S: X, client verifier
C<-S: server verifier
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant