Overview
contract/src/hash_validator.rs validates submitted hash strings (feeding CT's SHA-256/SHA-512 support), but has no evident test for malformed binary or non-UTF8 byte sequences arriving in the hash field — worth confirming the Axum extractor/validator rejects this cleanly rather than panicking.
Tasks
Acceptance Criteria
Notes for Contributors
Comment below to be assigned.
Overview
contract/src/hash_validator.rsvalidates submitted hash strings (feeding CT's SHA-256/SHA-512 support), but has no evident test for malformed binary or non-UTF8 byte sequences arriving in the hash field — worth confirming the Axum extractor/validator rejects this cleanly rather than panicking.Tasks
Acceptance Criteria
Notes for Contributors
Comment below to be assigned.