AwalaApp / specs

Awala Protocol Suite Specifications
https://specs.awala.network
Creative Commons Attribution Share Alike 4.0 International
5 stars 1 forks source link

Include public address in public endpoint certificates #83

Closed gnarea closed 2 years ago

gnarea commented 3 years ago

Executive summary

This would save the app developer having to specify the address separately, and make endpoint libraries (like the one for Android) simpler.

The solution you'd like

We could add this address to the Distinguished Name of the Subject (with a new, Relaynet-specific OID) or it could be added as a X.509 extension.

Privacy/security considerations

Private or public gateways won't be able to identify the service by looking at the parcel, because public endpoint certificates are never visible to gateways. When public gateways send parcels, they use their PDA, which won't include the public address.

Alternatives considered

Basically the workarounds considered in https://github.com/relaycorp/relaynet-endpoint-android/issues/47

gnarea commented 2 years ago

This is no longer an issue with the work done on https://github.com/relaycorp/relayverse/issues/19, since parcel recipients now include the Internet address (when the parcel is bound for the Internet).