Skip to content

Add random salt to the mission blob to prevent collisions (s256) #305

Backlog

Description

@adeinega

In Section 8.2, the mission blob relies on second-precision timestamps (approved_at, expires_at) and mission content to derive mission_s256. If the same agent has two identical missions approved within exactly the same second, their mission blobs and mission_s256 will collide.

The suggested solution is to require the PR to include a high-entropy random field (say salt), generated by the PS, in the mission blob prior to serialization and hashing.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions