Closed babisRoutis closed 2 days ago
Issues:
birthdate_year
instead of age_birth_year
issuing_authority
, document_number
, administrative_number
, issuing_country
& issuing_jurisdiction
are not being included to the issued credentialgender
is being represented by an Int
(ISO/IEC 5218) instead of string. vct
is mssing the urn:
prefixA possible mapping for would be 0 = not known; 1 = male; 2 = female; 9 = not applicable.
A different approach would be to add to the PID model a string gender and let the caller define the value
@babisRoutis Concerning vct
:
The mso_mdoc doctype uses the notation eu.europa.ec.eudi.pid.1
, while the sd-jwt-vc vct uses the notation urn:eu.europa.ec.eudi:pid:1
. It's not just the urn:
prefix that is missing. The former uses .
for separation, while the later uses :
for separation.
@babisRoutis I think I spotted another issue.
nationality
in mso_mdoc is defined as Alpha-2 country code as specified in ISO 3166-1, representing the nationality of the PID User.
,
while the sd-jwt-vc iana claim nationalities
is defined as End-user's nationalities using ICAO 3-letter codes [[ICAO-Doc9303](https://openid.net/specs/openid-connect-4-ida-claims-1_0.html#ICAO-Doc9303)], 2-letter ICAO codes may be used in some circumstances for compatibility reasons.
What I haven't checked is whether 2-letter ICAO codes are compatible with ISO 3166-1 Alpha-2 country codes.
@babisRoutis I think I spotted another issue.
nationality
in mso_mdoc is defined asAlpha-2 country code as specified in ISO 3166-1, representing the nationality of the PID User.
, while the sd-jwt-vc iana claimnationalities
is defined asEnd-user's nationalities using ICAO 3-letter codes [[ICAO-Doc9303](https://openid.net/specs/openid-connect-4-ida-claims-1_0.html#ICAO-Doc9303)], 2-letter ICAO codes may be used in some circumstances for compatibility reasons.
What I haven't checked is whether 2-letter ICAO codes are compatible with ISO 3166-1 Alpha-2 country codes.
Thanks for this @dzarras I am aware of it. Let's proceed with rest of the alignments.
Make sure that the PID in
SD-JWT-VC
follows the ARF PR18
property name is a string.male
,female
and custom text values.*