HelloZeroNet / HelloZeroNet/ZeroNet

Switch to Ed25519 for keys

Aperta
#2,784 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
18.8k
Fork
2.3k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Currently, ZeroNet uses ECDSA for its signatures. It would probably be a good idea to switch to Ed25519 long-term, for the following reasons:
- Ed25519 public keys are slightly shorter than ECDSA keys (33 vs 32 bytes, no 64-byte "uncompressed" public key format)
- Ed25519 is slightly easier to implement securely, because side channel attacks are harder to pull off, and because there is no need for a secure RNG to make signatures
- Ed25519 is what BitTorrent uses, so it would be beneficial for interoperability if that ever happens
- Using ECDSA in the Base58 encoding encourages unsafe kinds of key reuse

In principle, this is not an urgent change, and it would be breaking, so it's probably reasonable to do this at the same time as #2781.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.