Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Bytes upload with pre-defined key

Aperta
#5,202 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

@nugaon ci sta già lavorando.

Dal 1/9/2025.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

Summary

Add support for pre-defined encryption keys at /bytes endpoint uploads. Currently, encryption keys are randomly generated internally, but users should be able to specify their own keys for deterministic encryption.

Motivation

Enable efficient encrypted streaming where all stream segments are encrypted by a pre-defined key derived from the same seed.

The seed could be shared in an ACT among participants instead of creating ACT for each stream segment (or even for unrelated content since this seed should change only in case of participant list change).

Implementation
  • Add optional header to /bytes endpoint: Swarm-Encryption-Key
    • Swarm-Encrypt: true header should be passed with it to keep the correctness of its definition.
  • Modify encryption pipeline and hashtrie components
Drawbacks
  • User responsibility for secure key generation
Lingua principale
Go
Stelle
1.5k
Fork
390
Merge medio
2g 12h
PR unite (30g)
19

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 ethersphere/bee

Tutte le issue di ethersphere/bee

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.