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

Disable warning about multiple Given names and Surnames #69

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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