Skip to content

tlock: add cross-implementation test vectors for sealBid #151

Description

@karagozemin

Summary

Add golden test vectors for sealBid / auditor blob encoding in packages/tlock so seals produced by the SDK can be verified against a known-good fixture.

Motivation

tlock sealing is security-critical. Deterministic vectors protect against silent regressions in encoding, nonce handling, or the H = sha256(value‖nonce) binding.

Acceptance criteria

  • Committed fixture with input (value, nonce, round, identity) and expected sealed output digest.
  • Test that re-seals and compares against the fixture.
  • Test asserting a modified nonce changes the binding hash.
  • Documented how to regenerate vectors.

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial Campaign | FWC26Campaign: Official Campaign | FWC26Stellar WaveIssue proposed for the Drips Stellar Wave programarea: tlockDrand tlock sealing and auditor blobcomplexity: mediumExpected medium implementation complexityenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions