Opened at 2022-12-26T21:17:16Z
Closed at 2023-01-21T13:26:34Z
#3961 closed defect (fixed)
The test suite should include a set of well-known CHK, SDMF, and MDMF capabilities for use as compatibility test vectors
Reported by: | exarkun | Owned by: | GitHub <noreply@…> |
---|---|---|---|
Priority: | normal | Milestone: | undecided |
Component: | unknown | Version: | n/a |
Keywords: | Cc: | ||
Launchpad Bug: |
Description
The test suite has a lot of capabilities in it. However, these are mostly hard-coded without associated inputs so they cannot be reproduced or they are computed from intermediate values rather than original inputs (for example, one is computed from a synthetic URI extension block hash - the original URI extension block is nowhere to be seen).
Thus, these values are not useful for verifying that Tahoe-LAFS continues to produce the same capabilities given the same inputs over time (ie, from release to release). Also, they are not useful for verifying interoperability of another implementation of the cryptography protocol.
Tahoe-LAFS should include a set of capability strings as test vectors, alongside the inputs necessary to compute those capabilities. These should be in a format where it's easy to add more in the future (and so also a format that's versioned so we can talk about specific revisions of the test vectors easily) and a format that can easily be loaded from another implementation.
Change History (2)
comment:1 Changed at 2022-12-27T13:48:21Z by exarkun
comment:2 Changed at 2023-01-21T13:26:34Z by GitHub <noreply@…>
- Owner set to GitHub <noreply@…>
- Resolution set to fixed
- Status changed from new to closed
In 8735845/trunk:
https://github.com/tahoe-lafs/tahoe-lafs/pull/1243