sftcd / wkesni

A well-known URI for publishing ESNIKeys
7 stars 2 forks source link

i18n stuff #33

Open sftcd opened 1 month ago

sftcd commented 1 month ago

This is just a holding issue to check we have no i18n issues with e.g. names as we transit between JSON and DNS RR values.

bemasc commented 1 month ago

I think the SvcParams are covered by the reference to isomorphic decode: https://github.com/sftcd/wkesni/blob/c2850b02f2a1079debaa9d96480cd4736a7f1591/draft-ietf-tls-wkech.xml#L421

The TargetName currently doesn't have this text though, which leaves some ambiguity about what to do with TargetNames like "asdf.☃.example.com".

davidben commented 1 month ago

For asdf.☃.example.com, is it not sufficient to just say that the target names are A-labels. (Or U-labels, whichever is easier for the zone factory. I'm guessing A-labels will be easier?)

bemasc commented 1 month ago

Yep, something like that would be fine.

EDIT: Note that A-label names are a subset of all DNS names, because DNS labels are formally 8-bit-clean octet sequences. So either we restrict TargetName to be an ASCII-compatible subset of DNS names, or we need to apply something like isomorphic decode.