You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It doesn't seem to be explicitly documented, but apparently we use the 64 byte uncompressed format for sending ephemeral public keys (according to the wire test vectors). In ENRs we use the 33 byte compressed format. I think this is discrepancy is unnecessarily confusing.
ENRs are already EIPed, but would it be too late already to change the wire protocol to use the compressed format?
The text was updated successfully, but these errors were encountered:
No, it's not too late to change the wire protocol. I can create a PR to change it, but we need to notify all implementers. Would be good to have a list of implementations :)
fjl
changed the title
DiscV5: Public Key Format
discv5: use compressed ephemeral key in handshake
Jan 17, 2020
It doesn't seem to be explicitly documented, but apparently we use the 64 byte uncompressed format for sending ephemeral public keys (according to the wire test vectors). In ENRs we use the 33 byte compressed format. I think this is discrepancy is unnecessarily confusing.
ENRs are already EIPed, but would it be too late already to change the wire protocol to use the compressed format?
The text was updated successfully, but these errors were encountered: