Skip to content

Conversation

@embray
Copy link
Collaborator

@embray embray commented Jan 15, 2026

Very basic support for this for now; resolves #36 and resolves #106

For now I'm using the MD5 functions from libbsd which should be widely available; could add others later if need be.

@embray
Copy link
Collaborator Author

embray commented Jan 15, 2026

Very strange---some of the tests seem to be randomly hanging on osx. It doesn't seem like it should be related to this PR either, though the last builds on main passed.

The ctest runner has a default timeout, it turns out, of 240 seconds so it at least fails with a timeout.

@embray
Copy link
Collaborator Author

embray commented Jan 15, 2026

Looks like on the last successful build:

✔︎ Bottle libfyaml (0.9.2)

and now

✔︎ Bottle libfyaml (0.9.3)

So that's new, and a likely culprit. Should pin the dependency for now and investigate later.

Includes low-level emitter option to disable checksumming altogether.  A
bit of a hack but it's only passed through an internal API for now.

gh-106
this is because they expect the output to be binary exact with the
reference files, including the block checksum; for now just skip them in
this case

gh-106
or at least requires some extra fiddling to detect

ci: try installing libbsd through homebrew

gh-106
@embray embray merged commit a3c6876 into main Jan 15, 2026
12 checks passed
@embray embray deleted the issue-106 branch January 15, 2026 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Write block checksums in the header Block checksum verification

2 participants