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 salt manager #72

Closed
3 tasks done
Zapix opened this issue Apr 23, 2021 · 0 comments · Fixed by #76
Closed
3 tasks done

Server salt manager #72

Zapix opened this issue Apr 23, 2021 · 0 comments · Fixed by #76
Assignees
Labels
enhancement New feature or request

Comments

@Zapix
Copy link
Owner

Zapix commented Apr 23, 2021

MTProto uses server salt to prevent replay attacks.
ServerSalt manager stores server salts, Validates has they been expired or not.
Generate new server salts if previous has been expired.

  • Declare server salt manager protocol
  • Implement server salt in memory manager
  • Use server salt manager in message exchange
@Zapix Zapix added the enhancement New feature or request label Apr 23, 2021
@Zapix Zapix self-assigned this Apr 23, 2021
@Zapix Zapix closed this as completed in #76 Apr 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant