| .. | ||
| LXMF | ||
| make_test_vectors.pl | ||
| README.md | ||
| verify_examples.pl | ||
LXMessage Test-Vector Tooling
The scripts in this directory verify the implementation-derived LXMessage
packing behavior described in Code_Response_1.md.
They use only Perl core modules. The local LXMF::MessagePack module implements
the MessagePack subset needed to generate the vectors and parse their complete
payloads.
Generate deterministic vectors:
perl tools/make_test_vectors.pl
Verify the vectors:
perl tools/verify_examples.pl
The vectors confirm:
- the 16-byte destination hash, 16-byte source hash, and 64-byte signature positions;
- payload order
[timestamp, title, content, fields, optional_stamp]; - float64 timestamp and binary title/content/stamp encodings;
- the message ID calculation;
- exclusion of the optional stamp from the message ID and signature input.
The signature bytes are deterministic placeholders. These vectors do not claim to verify Ed25519 signing or signature validation.