Publish capsules: anyone can run a marketplace, ElastOS-signed ones are trusted by default

Aperta
#525 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
rust

Direzione di ricerca

Start by reading related issues #500 and #281, then inspect the existing elastos publishing and model catalog flows mentioned in the issue. The issue leaves the capsule identity hash unresolved and describes changes across packaging, signing, catalogs, trust, hosting, updates, withdrawal, templates, and documentation. Done means completing the end-to-end acceptance scenarios listed in the issue, including publishing and installing a capsule from another Home.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

Problem

A developer can make and sign a capsule, but elastos publish only stores it on their own Home (#500), and Marketplace trusts only the ElastOS release. Nobody outside the release can offer a game, a document, media or an app to other Homes.

Direction (Anders, 3 Nov 2026)

Everyone can create their own marketplace. Marketplaces signed by ElastOS are trusted by default.

Model

  • Package: a capsule folder becomes one bundle named by its hash. Which hash form becomes the identity is settled here, after the reproducibility tests.
  • Sign: the publisher signs a record outside the bundle: "this hash is my capsule X, version Y", with their own DID key. Several publishers or reviewers can vouch for the same hash.
  • A marketplace is a signed catalog: a list of records with size, description and icon, signed by whoever runs that marketplace, carrying its name bound to its DID. It uses the same shape as the model catalog, so there is one catalog format.
  • Trust: every Home trusts the ElastOS catalogs by default. Any other marketplace is added only by the owner, with approval in Inbox that shows its name, DID and where the link came from. Marketplace labels each item with who signed it and whether that marketplace is trusted by ElastOS. The ElastOS catalog can list marketplaces it vouches for. The owner can remove any added marketplace.
  • Names belong to their publisher (publisher plus name), so two publishers can ship apps with the same name. A game names its player by hash or through a trusted catalog.
  • Hosting: bytes come over Carrier from any Home that holds them and announces it, as model packages do (#281). The catalog says whether an item is held only by its publisher or replicated.
  • Updates are new records from the same publisher with a higher version. The Home offers them, asks again in Inbox when permissions or the player change, and never replaces bytes silently.
  • Withdrawal: a publisher can withdraw a record, and an ElastOS block list stops a harmful hash in every marketplace. A Home refuses to launch a withdrawn or blocked hash and tells the owner.
  • Tools: the elastos command works without a repository checkout: pack, sign (DID record), catalog add|withdraw|publish, plus templates (a game for the GBA Emulator, a document or media item, a web app shown in Home) and a guide. These replace the current manifest signature, raw trusted_keys, the elastos.component/v1 scaffold and the old templates.

Done means

  • Someone outside the release packs, signs and publishes a free content capsule (a game for the GBA Emulator) into their own marketplace from a fresh install, following the guide.
  • Another Home adds that marketplace (Inbox approval shows name, DID and source), sees the item labelled as not trusted by ElastOS, gets it, opens it, and removes the marketplace again.
  • An item in the ElastOS catalog shows as trusted and installs with no extra approval step beyond Get.
  • Same name from two publishers: both install, neither replaces the other.
  • Update with changed permissions asks again; withdrawal and the ElastOS block list stop a launch with a clear message.
  • The item is fetched from a holder other than the publisher while the publisher's Home is offline.
  • Old signing paths and templates removed; docs updated.

Out of scope

Paid items (licences, protected media #388, paid services) and apps from other publishers that run code (they wait for confined workers, #471, #173).

Related

#333 (Get and Remove for release items, 2.1.0), #465, #274, #213, #281, #500, #285, #171, #192 (closed; its naming, update and revocation Done means are carried here).

Lingua principale
Rust
Stelle
6
Fork
2
Merge medio
1g 3h
PR unite (30g)
42

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di elastos/elastos-runtime

Tutte le issue di elastos/elastos-runtime

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.