Skip to content

fix: tighten ISCC code input validation#56

Merged
titusz merged 1 commit into
iscc:v0.3.1from
ash-0x00:fix/issue-54-iscc-code-validation
Jun 14, 2026
Merged

fix: tighten ISCC code input validation#56
titusz merged 1 commit into
iscc:v0.3.1from
ash-0x00:fix/issue-54-iscc-code-validation

Conversation

@ash-0x00

Copy link
Copy Markdown
Contributor

Summary

  • validate ISCC code input against canonical prefix, header, and payload-length constraints before enabling decode
  • cap canonical input length to match iscc-core validation
  • change the positive input hint to neutral “ready to decode”

Test Plan

  • corepack pnpm build
  • corepack pnpm test

Fixes #54

@titusz titusz changed the base branch from main to v0.3.1 June 14, 2026 05:25
@titusz titusz merged commit 8676cf1 into iscc:v0.3.1 Jun 14, 2026
6 checks passed
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.

ISCC code tab marks invalid codes as valid before decode

2 participants