Closed hrivks closed 5 years ago
The spec allows for even more character sets, but I had hoped the more obscure ones had died out in the wild.
Another case clause would work for 7-bit characters, but for 8-bit code points a mapping function would be needed. Have you seen teletexString elsewhere, in places where special (accented) characters might be important?
Unfortunately, it came up in production.
I've not seen teletexString
before and I think the importance of accented characters is subjective (to me personally, I couldn't care less).
Fixed in v0.7.0 (7-bit values only, at least for now). Thanks for the report!
thank you very much
This follows from https://github.com/voltone/x509/issues/26 (and thanks for fixing that so quickly)
Apparently, attributes could have encoding of type 'teletexString'. Refer: https://github.com/erlang/otp/blob/master/lib/public_key/src/public_key.erl#L1593
Currently, it fails to parse with error:
I guess this too has to be handled here: https://github.com/voltone/x509/blob/master/lib/x509/rdn_sequence.ex#L283
Thank you for your time.