Skip to content

publish: pin publisher into every catalogue entry (root-cause fix)#34

Open
Alexgodoroja wants to merge 1 commit into
mainfrom
pin-publisher-in-catalogue-entry
Open

publish: pin publisher into every catalogue entry (root-cause fix)#34
Alexgodoroja wants to merge 1 commit into
mainfrom
pin-publisher-in-catalogue-entry

Conversation

@Alexgodoroja

Copy link
Copy Markdown
Collaborator

Why. v1.12.3's catalogue anchor fail-closes any entry without a publisher pin. publish-submission.sh never emitted one, so every app published through the automation is born unpinned and would be refused on v1.12.3+ hosts. io.telepat.ideon-free was the first to hit this (fixed live in pilot-protocol/pilotprotocol#327; this prevents recurrence).

Change. Extract store.publisher from the bundle's signed manifest (authoritative — metadata.json's publisher_pubkey can be a placeholder/stale, as seen on cosift/sixtyfour) and add publisher to the catalogue entry in both the rich and basic jq branches. Emits a WARNING if a bundle lacks store.publisher instead of silently shipping an unpinned entry.

Verified: extraction on the live ideon bundle yields ed25519:5cqj+… and the patched jq emits the field. bash -n clean.

v1.12.3's catalogue anchor fail-closes any entry without a publisher pin.
publish-submission.sh never emitted one, so every newly-published app is born
unpinned (io.telepat.ideon-free was the first to hit this).

Extract store.publisher from the bundle's signed manifest (authoritative — not
metadata.json, whose publisher_pubkey can be a placeholder) and add it to the
catalogue entry in both the rich and basic branches. Warns if a bundle has no
store.publisher rather than silently shipping an unpinned entry.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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