Open sgwilym opened 1 month ago
The current Cinn25519 encoding appends 0x0 to an encoded shortname only if shortname.length < max_length. This is wrong.
0x0
shortname.length < max_length
The encoded shortname should append 0x0 whenever min_length < max_length, regardless of shortname length.
min_length < max_length
What's the problem you want solved?
The current Cinn25519 encoding appends
0x0
to an encoded shortname only ifshortname.length < max_length
. This is wrong.Is there a solution you'd like to recommend?
The encoded shortname should append
0x0
whenevermin_length < max_length
, regardless of shortname length.