open-eid / eudi-qeaa-as-mock

MIT License
0 stars 2 forks source link

Incorrect DeviceAuthentication's sessionTranscript format #8

Closed ydanneg closed 3 months ago

ydanneg commented 3 months ago

According to ISO/IEC 18013-5:2021 and your own documentation sessionTranscript structure is an array type containing following elements:

Element Description Encoding
DeviceEngagementBytes It MUST be set to null. array
EReaderKeyBytes It MUST be set to null. null
Handover It MUST be set to OpenID4VPHandover structure. array

But current implementation have the wrong structure that contains only Handover element: https://github.com/open-eid/eudi-qeaa-as-mock/blob/9ca403d2b38662cd703d900f2640c5e5246de981/src/main/java/ee/ria/eudi/qeaa/as/util/MDocUtil.java#L88-L89

aarmam commented 3 months ago

Related issue open-eid/eudi-qeaa-wallet-mock#5