lovele0107 / signatures-conformance-checker

7 stars 0 forks source link

ECDSA/DSA signatures are not supported #9

Closed bsanchezb closed 7 months ago

bsanchezb commented 3 years ago

Hello,

XAdES CC fails with the following error on a validation of a signature signed with ECDSA or DSA algorithm.

Location-{CodeTest}:KeyInfo-{CheckIfSignerCertIsInKeyInfo}

While the signing certificate is inside the ds:KeyInfo and the signature itself is perfectly valid. From this we conclude that ECDSA and DSA are not supported in CC.

The signature samples are in the attachment.

P.S. The similar problem can occur for other formats (not checked).

Best regards, Aleksandr.

attachment.zip

jccruellas commented 3 years ago

Hi Alexandr, I have updated my local copy for taking into account also ECDSA/DSA algorithms.

I confirm that I have run this local copy with your two files and that the XAdESCC does not raise any error. I plan to update the XAdESCC on the ETSI portal during this week

Regards Juan Carlos

Lonzak commented 7 months ago

Has this been fixed? Then this issue should be closed here...

jccruellas commented 7 months ago

Good afternoon. This will be settled down tomorrow. Apologies for the delay Juan Carlos Cruellas.

jccruellas commented 7 months ago

Good afternoon,

The XAdESCC is able to deal with ECDSA/DSA algorithms. I have checked with several DSA/ECDSA signatures that have been handed to me and it seems to work.

Therefore, I will close this issue.

Should you experiment more problems of this type, open a new issue, please