Skip to content
go-libfossil Check-in [c42a2b90c6]
Login

Check-in [c42a2b90c6]

Overview
Comment:fix(manifest,hash): verify the R card at commit; reject an unrecognized hash-policy (#396)

* fix(manifest,hash): verify the R card at commit; reject an unrecognized hash-policy

A check-in reads its manifest back and requires the R card to equal the digest recomputed over the resolved tree, byte for byte (artifact-format-01 6.3.4, AF-6.3-5). A hash-policy setting outside the ordinals 0 through 4 is now an error instead of a fall back to the default (7.1, AF-7.1-2).

Tracked in #387.

* fix(manifest,repo): drive the commit R check from conformance; refuse a bad hash-policy on write

Timelines: family | ancestors | descendants | both | main | trunk
Files: files | file ages | folders
SHA3-256: c42a2b90c68a400f4e628e9fbae5b57bd825874ce5c3edfc7c5169dfc3cbad45
User & Date: [email protected] on 2026-10-13 05:59:46.000
Other Links: branch diff | manifest | tags
Context
2026-10-13
06:14
fix(checkout): pick the no-target update target as fossil does; read untagged check-ins as the default branch (#399) check-in: 425dd36e13 user: [email protected] tags: main, trunk
05:59
fix(manifest,hash): verify the R card at commit; reject an unrecognized hash-policy (#396)

* fix(manifest,hash): verify the R card at commit; reject an unrecognized hash-policy

A check-in reads its manifest back and requires the R card to equal the digest recomputed over the resolved tree, byte for byte (artifact-format-01 6.3.4, AF-6.3-5). A hash-policy setting outside the ordinals 0 through 4 is now an error instead of a fall back to the default (7.1, AF-7.1-2).

Tracked in #387.

* fix(manifest,repo): drive the commit R check from conformance; refuse a bad hash-policy on write check-in: c42a2b90c6 user: [email protected] tags: main, trunk

05:32
test(conformance): cover the repo-state GAP and PARTIAL rows (#395) check-in: 3c3b12fdf2 user: [email protected] tags: main, trunk
Changes