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

Add current time check against to messages received #533

Open
thehenrytsai opened this issue Oct 3, 2023 · 0 comments
Open

Add current time check against to messages received #533

thehenrytsai opened this issue Oct 3, 2023 · 0 comments
Labels
feature New feature or request

Comments

@thehenrytsai
Copy link
Contributor

Currently we don't check the messageTimestamp against the current server time when authorizing a message. We should do this to prevent blatant backdated "new" message to be accepted.

There will be times when a DWN needs to bringing in messages with an older time stamp, but those fall into the category of "synchronization", which in my mind has a different authorization context.

@thehenrytsai thehenrytsai added the feature New feature or request label Oct 3, 2023
@thehenrytsai thehenrytsai added duplicate This issue or pull request already exists and removed duplicate This issue or pull request already exists labels Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant