Skip to content

Document a deterministic packet-encoding test vector #3

Description

@rufatixx

Goal

Create one deterministic, human-reviewable test vector for the authenticated packet encoding used by RelayPacketCodec.

Deliverables

  • fixed values for every authenticated metadata field
  • the exact encoded byte sequence in hexadecimal
  • a field-by-field explanation of byte ordering and string encoding
  • a test that fails if the encoding changes unintentionally
  • a note explaining that encryption nonces and ephemeral keys remain random

Why

A stable vector makes compatibility review easier before another implementation or physical transport is attempted.

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

    area: protocolPacket format, compatibility, and protocol designdocumentationImprovements or additions to documentationhelp wantedExtra attention is needed

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions