katzenpost / mixnet_uprising

repository for tracking open tasks
18 stars 1 forks source link

spec: Come up with a better sender public key header. #20

Closed Yawning closed 6 years ago

Yawning commented 6 years ago

The spec(s) currently specify variations of X-Panoramix-Sender-Identity-Key as the sender public key header.

This needs to be formalized sooner rather than later, and as far as I can tell needs the following adjustments:

meskio commented 6 years ago

X-Katzenpost-Identity-Key?

We might want in the future to be able to gossip keys of other recipients in a multiparty conversation. If we don't add addresses to this header might get confusing.

X-Katzenpost-Sender-Key?

In the context of a header I think is obvious that the key is an identity key.

Yawning commented 6 years ago

I think X-Katzenpost-Sender-Key is reasonable.

I would say that X-Katzenpost-Sender-Identity-Key is also ok, but it annoys me that the last 3 characters of the Base64 encoded public key end up on a new line.

moba commented 6 years ago

Why not without the -Key? It is obvious from the context that it is a key, representing a sender (identity), so it is kind of redundant.

Yawning commented 6 years ago

X-Katzenpost-Sender is the most concise and to the point (and is certainly going to be the most common). Anything that wants to add more headers with keys will need to disambiguate themselves somehow anyway, so those can be the things with the longer headers.

Yawning commented 6 years ago

By fiat, this now will be X-Katzenpost-Sender.