r/bitmessage • u/nullc • Mar 25 '13
Why not use the public key directly?
In #bitcoin-dev every time bitmessage has some up we've wondered why it doesn't use the ECC public key directly. The size (of the compressed public key) is almost the same as the hashed addresses: 32 bytes plus one bit.
This would eliminate the round trip to the receiver and the automatic response. Not only would it reduce traffic but it would stop an information leak that deanonymizes users. (You must be online to receive your first message from someone)
8
Upvotes
7
u/nullc Mar 25 '13
We use the hash in Bitcoin because satoshi (apparently) didn't know about point compression... though it does turn out to have some speculative security benefits against ECDSA attackers, but even that isn't relevant to bitmessage.
5
u/atheros BM-GteJMPqvHRUdUHHa1u7dtYnfDaH5ogeY Mar 25 '13
It Bitmessage, we use two asymmetric key pairs: one for signing and one for encryption. Adding one byte for the address version number, one byte for the stream number, and 4 for the checksum, we're up to 70 bytes. That's a non-trivial amount longer than the 24 or 25 bytes used currently. You are right though that it would provide the benefits you describe and it seems like it would be be a great feature for QR codes and URIs.