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

verify event id instead of silently reassigning #105

Merged
merged 2 commits into from
Nov 29, 2023
Merged

verify event id instead of silently reassigning #105

merged 2 commits into from
Nov 29, 2023

Conversation

fiatjaf
Copy link
Owner

@fiatjaf fiatjaf commented Nov 19, 2023

before this code would just reassign the event id to the event and check the signature based on that. if the event id was wrong in the first place this could cause the event to be stored with the incorrect id and other incomprehensible issues.

handlers.go Outdated Show resolved Hide resolved
Co-authored-by: Isaque Veras <46972789+isaqueveras@users.noreply.github.com>
@fiatjaf fiatjaf merged commit deb4294 into master Nov 29, 2023
@fiatjaf fiatjaf deleted the verify-id branch November 29, 2023 01:41
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

Successfully merging this pull request may close these issues.

3 participants