-
Notifications
You must be signed in to change notification settings - Fork 8
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
ArchiveTimestamp error after upgrade to v1.0.9 #12
Comments
Thanks for the alert. The cause of your issue is that since version 1.0 a function called generateDomDocument has been created from code to open an XML resource so the code can be re-used. This function has been put into InputResourceInfo.php. I can see now this is an error because SignedDocumentResourceInfo does not inherit from InputResourceInfo. Instead it inherits from BaseInputResourceInfo and this is where the new function generateDomDocument should be placed. I'll look at this issue later and verify that moving the function is the best change to make. |
The code has been updated to move the function generateDomDocument into BaseInputResourceInfo so all input classes are able to call it. My testing shows this change allows an Archive Timestamp to be created. However, this is not a function I use so it is possible it may not work for you. If so, let me know. At the moment there is no new release package. If you need one, let me know. |
Thanks @bseddon , I will try soon! |
Hi @bseddon !!! Sorry for the delay in answering. Can you release a new package for add this changes to production? Thanks! |
Hi, new releases have been created. The dependent repository requester has also been updated and a release created. Composer should handle this update automatically. Please note that since the modification to address the issue you reported, other changes have been made. I don't think any changes will affect you adversely. The changes are because ETSI has been running a 'plug test' event over the last 10 or so weeks in which XAdES tools can create signatures then validate others to see if validations are consistent. As a result, it became clear the signer would not work with certificates created using an elliptic curve algorithm. If you find further problems let me know and I'll get on as soon as possible. |
Hi @bseddon !!!
I hope your are fine!!
Thanks for this package again!
Today, I updated from v1.0.0 to v1.0.9 and I get the following error:
Did you changed the way to sign with LTA on XAdES::archiveTimestamp() method??
My code is the following:
Thanks Bill!
The text was updated successfully, but these errors were encountered: