Page MenuHomePhorge

Do not calculate transaction id from event content
ClosedPublic

Authored by tusooa on May 11 2024, 5:00 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jul 23, 12:08 PM
Unknown Object (File)
Tue, Jul 23, 12:08 PM
Unknown Object (File)
Tue, Jul 23, 12:02 PM
Unknown Object (File)
Tue, Jul 23, 3:48 AM
Unknown Object (File)
Tue, Jul 23, 3:48 AM
Unknown Object (File)
Tue, Jul 23, 3:48 AM
Unknown Object (File)
Tue, Jul 23, 12:59 AM
Unknown Object (File)
Mon, Jul 22, 3:05 PM
Subscribers

Details

Summary

This removes the hash(eventContent) part from the transaction id.

Type: security

BUG: https://iron.lily-is.land/T63

Test Plan

Build kazv against this commit. Verify that sending out two different messages at almost the same time should result in a very similar transaction id (only the last few digits are different).

Diff Detail

Repository
rL libkazv
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

tusooa created this object with visibility "the Kazv Project (Project)".
tusooa created this object with edit policy "the Kazv Project (Project)".
Harbormaster returned this revision to the author for changes because remote builds failed.May 11 2024, 5:00 PM
Harbormaster failed remote builds in B43: Diff 63!
tusooa added a subscriber: nannanko.

@nannanko This is not added to the staging area because this is a security fix that should not be visible to the generic public until we release and make a release note about it. Please download the diff and manually apply it locally to review it.

Please treat this as the highest priority, as it has very serious security implications.

This revision is now accepted and ready to land.May 11 2024, 6:52 PM
This revision was landed with ongoing or failed builds.May 11 2024, 7:00 PM
This revision was automatically updated to reflect the committed changes.
tusooa changed the visibility from "the Kazv Project (Project)" to "Public (No Login Required)".May 11 2024, 7:28 PM