Skip to content

fix(urn): converge DIG URN parsing onto the cross-repo grammar - #16

Draft
MichaelTaylor3d wants to merge 2 commits into
mainfrom
fix/2725-urn-parse-conformance
Draft

fix(urn): converge DIG URN parsing onto the cross-repo grammar#16
MichaelTaylor3d wants to merge 2 commits into
mainfrom
fix/2725-urn-parse-conformance

Conversation

@MichaelTaylor3d

Copy link
Copy Markdown
Contributor

DO NOT MERGE — gate round in progress

WIP. Converges this repo's DIG URN parsing onto the normative rule in the superproject
SYSTEM.md § "DIG URN grammar (normative, cross-repo)", verified against the shared conformance
table shipped in @dignetwork/dig-sdk/conformance/urn-parse.json (read as a devDependency — never
copied into this repo).

refs DIG-Network/dig_ecosystem#2725

Both assets/dig-embed.js parseDigRef and assets/sw.js parseDigUrn derived resource
keys and salts that disagreed with the ecosystem's other DIG URN parsers, so the same
URN produced a different retrieval key or a different content-decryption key here than
in dig-sdk, the extension or the hub — content that does not resolve.

Verified against the shared conformance table shipped in @dignetwork/dig-sdk, read as a
devDependency rather than copied (a copied table drifts). Rule: SYSTEM.md § "DIG URN
grammar (normative, cross-repo)".

refs DIG-Network/dig_ecosystem#2725
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.

1 participant