Skip to content

Conversation

@achingbrain
Copy link
Member

@achingbrain achingbrain commented Nov 14, 2025

Use the incoming hash length in bitswap and the passed digest length in block brokers to test the validtity of incoming blocks.

Refs: ipfs/service-worker-gateway#894

Change checklist

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation if necessary (this includes comments as well)
  • I have added tests that prove my fix is effective or that my feature works

Use the incoming hash length in bitswap and the passed digest
length in block brokers to test the validtity of incoming blocks.
@achingbrain achingbrain requested a review from a team as a code owner November 14, 2025 07:20
@achingbrain achingbrain merged commit c3d41c1 into main Nov 14, 2025
19 checks passed
@achingbrain achingbrain deleted the fix/allow-truncated-hashes branch November 14, 2025 07:29
@achingbrain achingbrain mentioned this pull request Nov 14, 2025
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.

2 participants