You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
pre_seed: no way to require integrity verification; documented sha256s field is not implemented #1630
pre_seed integrity verification is optional, and the documented sha256s config field does not appear in the source.
Observed (release openab-0.10.1)
docs/hooks.md says: when an object has an S3-native SHA-256 checksum, OpenAB verifies it; sha256s in config adds an explicit check; "If neither is available, download proceeds without integrity verification".
A code search of the repository finds sha256s only in docs/hooks.md, not in the pre_seed config type. A config that sets sha256s is accepted and the field is dropped silently (serde ignores unknown fields), so the operator believes a check runs that does not.
Impact
An operator cannot make a missing checksum fail the seed. If an object is re-uploaded without --checksum-algorithm SHA256, the bot extracts it unverified and boots.
Request
Implement sha256s as documented, or remove it from docs/hooks.md.
Add an opt-in strict mode (for example require_checksum = true) that aborts pre_seed when neither an S3-native checksum nor a configured digest is present.
Optionally reject unknown keys in the hooks config (deny_unknown_fields) so that a typo or an unsupported field fails at load.
Our workaround
The publisher always uploads with --checksum-algorithm SHA256 (create-only), and a readback checks that each object carries the expected stored checksum.
Thanks for the report! A maintainer will triage this shortly and apply the appropriate label. Once a type label is added, the issue will be re-validated automatically.
Activity
github-actions commentedon Nov 25, 2026
Thanks for the report! A maintainer will triage this shortly and apply the appropriate label. Once a type label is added, the issue will be re-validated automatically.
thepagent commentedon Nov 25, 2026
Welcome PR!