lovele0107 / JAdES-Checker-beta

1 stars 0 forks source link

Validation Problems with x509AttrCert member of srAts #2

Open ghost opened 2 years ago

ghost commented 2 years ago

I have problems validating the following two signatures. They were generated for the JAdES Plugtest scenario JAdES-B-B.SCOK/Signature-J-B-B-8.

Both incorporate certificates in the srAts.x509AttrCert. The validator yields the attached errror srAtzIssue.zip .

jccruellas commented 2 years ago

Good morning, I have been working also on this issue and have fixed the problem reported. My local copy does not throw this error anymore. I plan to deploy the new version of the JAdESCC tomorrow morning.

I attach the reports got for the two signatures attached in the previous comment, namely: GRAZ_Signature-J-B-B-8.json and NOW_Signature-J-B-B-8.json.

One additional comment: in the signature NOW_Signature-J-B-B-8.json the JAdESCC fails when trying to decode the attribute certificate purportedly placed within the "x509AttrCert" member, and therefore it raises an error saying that it has not found a X509 attribute certificate there. I will let Nowina know so that we can investigate what is going on.

Juan Carlos. GRAZ_Signature-J-B-B-8.zip NOW_Signature-J-B-B-8.zip