IPNS pub key size concerns
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 15/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Ambito
- distributed-systems
Direzione di ricerca
Inizia esaminando la codifica protobuf di IPNS IpnsEntry e l’elenco collegato degli algoritmi supportati da Web Crypto. Confronta i due design proposti e definisci una modifica concreta alla specifica, i requisiti di compatibilità e i criteri di accettazione prima dell’implementazione.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Recently I was told ed25519 are preferable for IPNS over other keys due to their smaller size. However it is not in the list of supported algorithms in web platform requiring bundling crypto libraries etc...
This got me thinking about potential ways to address this problem, especially since is safe to assume that over time longer keys may proof necessary.
Idea 1.
Right now public keys are endoded IpnsEntry protobuf (which is presumably where we small size is desired). In practice chances are node receiving a record already has a public key because:
- IPFS default is to use
selfkey so it was used in handshake. - Recipient has some interest in a IPNS record so key was previously obtained.
If thees assumptions holds, we could make next version of IpnsEntry encode CID for the public key instead. Furthermore small keys and rare keys could use identity hash CIDs. It is also assumed that Sequence 0 record will use identity hash.
Idea 2.
What if instead of basing mutable namespace on the public key we based it on mutex block (genesis block) CID instead that use designated muticodec code. Mutex blocks could encode multiple public keys allowed to perform updates, and also be fairly open ended to allow new or domain specific metadata to be added e.g.
- peer ids of nodes that are likely to have latest record.
- DNS alias(es)
I think this would also neatly combine IPFS and IPNS namespaces where /ipfs/$cid represents content on creation and /ipns/$cid represents content now. For /ipns/$cid where cid is not for mutex it would be identical to /ipfs/$cid because it's not a mutex so it could never change.
Additional benefit of such mutexes would be that they could cleanly integrate into IPLD as they are addresses by CID.
- Lingua principale
- HTML
- Stelle
- 1.2k
- Fork
- 250
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
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
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ipfs/specs
-
Simplify Spec StatusesApertaneed/triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
need/triage
Difficoltà 5/5 Più di una settimana Idoneità per principianti 30/100
-
dnslink:// URIsApertaneed/triage
Difficoltà 5/5 Più di una settimana Idoneità per principianti 30/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
-
need/triage
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
volcano-sh/volcano#6323 ·
I maintainer di solito rispondono entro 1 giorno
-
area: facilitator bug complexity: trivial
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
accensa/x402-facilitator-stellar#709 ·
I maintainer di solito rispondono entro 1 giorno
-
resiliency: ParseRetryConditionMatch fails when HTTPStatusCodes or GRPCStatusCodes contain whitespaceForse già presa @patelshivani2283-lab l’ha presa 2 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
[Bug] maxConcurrent{Activity,Workflow,Nexus}TaskPolls are accepted but never appliedForse già presa @pcbeingused333 l’ha presa 1 giorno fa. Apertasdk-typescript
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
temporalio/sdk-typescript#2693 ·
I maintainer di solito rispondono entro 1 giorno