Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XAdES : IndividualDataObjectsTimeStamp message-imprint computation problem #14

Open
bsanchezb opened this issue Apr 26, 2021 · 0 comments

Comments

@bsanchezb
Copy link

bsanchezb commented Apr 26, 2021

Dear Juan Carlos,

Not sure if it is a single problem and not caused by something else, but it seems like the XAdESCC does not take into account the order of xades:Include elements within a xades:IndividualDataObjectsTimeStamp element.

The order is essential here, because it defines the order in which the ds:Reference elements are processed for message-imprint computation, in opposite to xades:AllDataObjectsTimeStamp, where references are taken in their order of appearance within a ds:SignedInfo element.

See 5.1.4.4.2 Include mechanism of ETSI EN 319 132-1:

Include elements shall explicitly reference data objects that contribute to the input of the electronic time-stamp's
message imprint computation, and consequently are time-stamped by the electronic time-stamp.
The order of appearance of the Include elements shall indicate the order in which the referenced data objects
contribute to the input of the electronic time-stamp's message imprint computation.

We have also discussed this moment within our email exchange and you agreed to clarify the message-imprint computation within the clause "5.2.8.2 The IndividualDataObjectsTimeStamp qualifying property".

I attach two files causing a validation error in Conformance Checker, one with the same signed references order as in ds:SignedInfo, and the second one with a changed order. Both of them fail currently, but I believe it can be caused by the issue #2 , which fix has not been included yet in production. But nevertheless, the CC computes the same message-imprint in both cases, when it is clearly must be different due to a different order of xades:Include elements.

Best regards,
Aleksandr.

IndividualDataObjectsTimeStamp.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant