Support the Kubo RPC API authentication in the client

Aperta
#3,656 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
54/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
rust
Ambito
backend, cli, security

Direzione di ricerca

Start by locating ClientBuilder, IpfsFileDownloader, and the cardano-db download command, then trace how the client sends Kubo RPC requests and how command secrets are handled. The issue also calls for end-to-end coverage, potentially requiring IPFS devnet changes, and documentation updates. Done means optional credentials authenticate each downloader request and the CLI exposes them as a secret, with tests and documentation updated.

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

Descrizione

feature :rocket:

Why

Exposing an unprotected Kubo RPC API to a LAN or to the public internet is strongly discouraged, which forces the Kubo node and the client to run on the same machine.

What

Support the authentication of the Kubo RPC API in the client library and CLI.

How

  • Add optional credentials to the ClientBuilder and send them with each request of the IpfsFileDownloader
  • Add the option to the cardano-db download command, handled as a secret
  • Cover the authenticated download in the end to end tests? (would need modifications in IPFS devnet)
  • Update the documentation
Lingua principale
Rust
Stelle
155
Fork
52
Merge medio
2g 10h
PR unite (30g)
35

Preparare l'ambiente

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 IntersectMBO/mithril

Tutte le issue di IntersectMBO/mithril

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.