PeculiarVentures / xadesjs

A pure Typescript/Javascript implementation of XAdES based on XMLDSIGjs. (Keywords: WebCrypto, XMLDSIG, XADES, eIDAS, Trust List, X.509, CRL, OCSP)
https://xadesjs.com
MIT License
141 stars 49 forks source link

Creating XADES-T signature from generated signature (hwcrypto) from eID cards #133

Open DigitalLeaves opened 1 year ago

DigitalLeaves commented 1 year ago

Hello!

This is a request for help or information more than a bug report.

I want to add timestamped signatures to an ASIC-E container. I am using eideasy-browser-js to create the containers, and I can create a successful signature (SHA-256 for example) using hwcrypto. I CANNOT access the private key because it is contained in an eID card, so all I can do is access the public certificate and get a signature from it.

What I want is to know how to convert these signature that I obtain into a valid xAdES signature to be inserted into the container. Is that possible at all using xadesjs?

Any insight or help greatly appreciated. Thanks

adam-rocska commented 3 months ago

@DigitalLeaves I assume you managed to tackle this s*t show? If so, could you update the ticket and perhaps share some intel how it's solved?

DigitalLeaves commented 3 months ago

@adam-rocska unfortunately not, we switched to Web eID. After a while it was obvious that this project is not really active or usable.

adam-rocska commented 3 months ago

AWESOME! Thanks! I can’t believe I didn’t stumble upon web-eid so far. Fml. Thank you! 🙏

For anyone else stumbling upon this ticket: