Page MenuHome GnuPG

Setting language preference faulty
Closed, ResolvedPublic

Description

Description

The length of the field 'language preference' is fixed to 2 characters, while it should allow 3 characters to be able support all ISO 639 language names. Besides, multiple languages should maybe be allowed, e.g. "ger,eng" instead of only "de" or "en"

Fix

Either define the use of a single 2-letter-language/country code as only possiblity or change the range/field check to allow for the 8 bytes appearently reserved for this field.
(I had a look at http://www.sit.fraunhofer.de/german/SICA/sica_projects/smartcard-ws/WS_04/beitraege/download.php?fileindex=23 and stumbled while trying)

Event Timeline

werner added a subscriber: werner.

That is a standard field of ISO 7816-6 (1996), table 8 and
defined there as we implemented it.