lovele0107 / JAdES-Checker-beta

1 stars 0 forks source link

SigPId errors #4

Open ghost opened 2 years ago

ghost commented 2 years ago

I have a problem checking the signature for the JAdES Plugtests Test Scenario JAdES-B-B.SCOK/Signature-J-B-B-13.json. Two things yield an incorrect message. First of all, as discussed in our slack forum, the encoding of the digVal member shall be in Base64Url Encoding. Nevertheless, if I upload a signature where the digVal member is Base64Url encoded, I get one of the attached errors. If I encode it with "standard" Base64, it succeeds.

Also, for both signatures that participants created at the time of writing, the CC yields an error saying, "The component should have a non-empty content. The 'desc' member is present, but its value is empty", but for both signatures, the desc member in the OID object is not present Attached are the signatures and a screenshot of the error message

error.zip .

jccruellas commented 2 years ago

Good afternoon, I have taken a look to the JAdESCC, and indeed the results that you have pointed out were not correct.

Regards and thanks for using the JAdESCC Juan Carlos