Skip to content
This repository was archived by the owner on Jun 19, 2020. It is now read-only.

Disable warning about multiple Given names and Surnames#69

Open
AEtherC0r3 wants to merge 1 commit intoamazon-archives:masterfrom
AEtherC0r3:multiple_gn_sn_warning
Open

Disable warning about multiple Given names and Surnames#69
AEtherC0r3 wants to merge 1 commit intoamazon-archives:masterfrom
AEtherC0r3:multiple_gn_sn_warning

Conversation

@AEtherC0r3
Copy link

Issue #, if available: X

Description of changes: At least in Greece, it is common for people to have 2 given names and in rare occasions 2 surnames.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@Santhanraj
Copy link
Contributor

Hi,

Shouldn't they still be in a single attribute? E.g., surname of "Jon Doe" should be 2.5.4.4 = "Jon Doe" instead 2.5.4.4 = "Jon" 2.5.4.4 = "Doe"?

@AEtherC0r3
Copy link
Author

Hi, in your example I would prefer using a single attribute instead of two, but this isn't always possible.

RFC5280 imposes an upper bound on the length of the given name and surname attributes, which is 16 and 40 characters, respectively.
E.g. If I had 2 given names e.g. "Antonios" and "Efstathios" then the length of 2.5.4.42="Antonios-Efstathios" is 19 and violates RFC5280, therefore, a reasonable solution to the issue is to use two attributes 2.5.4.42="Antonios" and 2.5.4.42="Efstathios".

The same applies to surnames, although I can't think of an appropriate example atm.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants