Digital Signature PdfSignature.IsLocked produces invalid signature

Hello, i have an issue that appeared (was working fine before in previous releases)

when i add a second signature and set the PdfSignature.IsLocked=true , the second signature becomes invalid.

can you please check the reason and fix it and even in validation process there is no detection for the signature issue

check attached file


Image_4393_1719842211376


Attachment: pdfv1.3_invalid_112dd2dc.zip

22 Replies

JT Jeyalakshmi Thangamarippandian Syncfusion Team July 2, 2024 01:14 PM UTC

Hi Jacobs,

We were able to reproduce the reported issue with the provided details on our end, and currently, we are analyzing it. We will provide further details on July 4, 2024.


Regards,

Jeyalakshmi T



JT Jeyalakshmi Thangamarippandian Syncfusion Team July 4, 2024 12:31 PM UTC

We have confirmed the issue “Signature is invalid after lock the signature in the document” as a defect in our product and we will include the fix in weekly release on 16th July 2024.

 

Please use the below feedback link to track the status of the reported bug.

https://www.syncfusion.com/feedback/59248/signature-is-invalid-after-lock-the-signature-in-the-document

 

Note: If you require a patch for the reported issue in any of our Essential Studio Main or SP release version, then kindly let us know the version, so that we can provide a patch in that version based on our SLA policy.

 

Disclaimer: “Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.”



JA Jacobs replied to Jeyalakshmi Thangamarippandian July 7, 2024 07:42 AM UTC

Thanks, that's great ... if possible to include the fix in this weekly release 9th July 2024



RS RaashithAhamed SahulHameed Syncfusion Team July 8, 2024 10:24 AM UTC

Hi jacobs,

We will deliver the custom patch for the issue "Signature is invalid after lock the signature in the document"

tomorrow on 9th July 2024 and the fix will be included in our upcoming weekly release on 16th July 2024


Regards,

Raashith Ahamed S



JT Jeyalakshmi Thangamarippandian Syncfusion Team July 10, 2024 11:55 AM UTC

Hi Jacobs,

We have created the custom NuGet for the issue "Signature is invalid after lock the signature in the document" in the latest version(26.1.41). Kindly download the NuGet from the below link

 

NuGet Link:

https://www.syncfusion.com/downloads/support/directtrac/general/ze/syncfusion.pdf.winforms.26.1.41-505899751


Regards,

Jeyalakshmi T



JT Jeyalakshmi Thangamarippandian Syncfusion Team July 16, 2024 12:48 PM UTC

We have included the fix for this issue "Signature is invalid after lock the signature in the document" in our latest weekly release (26.1.42).Please download the Nuget from the below link

Nuget Link: NuGet Gallery | Syncfusion.Pdf.WinForms 26.1.42


Root Cause: The digital signature is used to ensure the identity of the signer. Also, we enable the lock permission for the signature, so no other changes are allowed to be made to the signed document. We have encountered a problem with adding digest information when locking the signature, which causes the signature to become invalid after locking the signature field.



JA Jacobs July 18, 2024 08:12 AM UTC

i confirm that latest version fixed the issue ... thanks

but how can i detect the invalid signature produced by the previous version while validating with new version?



RS RaashithAhamed SahulHameed Syncfusion Team July 19, 2024 01:49 PM UTC

Thank you for the update.

We have an option to detect whether the signature is valid or not using Digital Signature Validation. Currently, we are facing an issue with this API for a particular document. We are working on validating this and will provide further updates on July 23, 2024.




SG Sivaram Gunabalan Syncfusion Team July 23, 2024 03:42 PM UTC

We have confirmed the issue “Signature is valid for invalid signature after validating the signature in pdf” as a defect in our product and we will include the fix in weekly release on 30th July 2024

 

Please use the below feedback link to track the status of the reported bug.

Signature is valid for invalid signature after validating the signature in pdf in WinForms | Feedback Portal (syncfusion.com)

 

Note: If you require a patch for the reported issue in any of our Essential Studio Main or SP release version, then kindly let us know the version, so that we can provide a patch in that version based on our SLA policy.

 

 

Disclaimer: “Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.”




JT Jeyalakshmi Thangamarippandian Syncfusion Team July 30, 2024 03:04 PM UTC

We were unable to include the fix for the issue "Signature is valid for invalid signature after validating the signature in pdf" as promised in this weekly release. This fix will be included in the next weekly release (6th August 2024).

If you would like to verify the fix before the next release, we can provide you with a custom patch. Please let us know if you are interested.

We apologize for any inconvenience this may have caused and appreciate your understanding.

Regards,

Jeyalakshmi T



JA Jacobs replied to Jeyalakshmi Thangamarippandian August 1, 2024 11:36 AM UTC

thanks for the update ... if you can provide a custom patch on the last released nuget ... that would be great in order to test the fix.




RS RaashithAhamed SahulHameed Syncfusion Team August 2, 2024 02:55 PM UTC

Hi Jacobs,

We have created the custom NuGet for the issue "Signature is valid for invalid signature after validating the signature in pdf" in the latest version (26.2.7). Kindly download the NuGet from the below link

 

NuGet Link:https://www.syncfusion.com/downloads/support/directtrac/general/ze/syncfusion.pdf.winforms.26.2.7178884014.zip



Regards,

Raashith Ahamed 



JT Jeyalakshmi Thangamarippandian Syncfusion Team August 6, 2024 12:48 PM UTC

We have included the fix for this issue "Signature is valid for invalid signature after validating the signature in pdf" in our latest weekly release (26.2.8).Please download the Nuget from the below link

Nuget Link: NuGet Gallery | Syncfusion.Pdf.WinForms 26.2.8

Root Cause: When validating the signature, we retrieve properties such as Certified, DocumentModified, SignatureValidity, etc. In this document,isSignatureValid returns true because signature lock is not considered while validating the signature.This issue causes the signature to be marked as valid when it is actually invalid.



JA Jacobs August 29, 2024 02:09 PM UTC

i have noticed that you modified the IsDocumentModified to return true in this case , 

but unfortunately now any valid locked document by adobe the IsDocumentModified returns true which is incorrect.

i hope you fix this issue in next weekly release . see attached

Note that this was working properly in version 26.2.7


Attachment: adobelock_c02575fc.zip



AG Anantha Gokula Raman Jeyaraman Syncfusion Team August 30, 2024 02:23 PM UTC

Hi Jacob

Thank you for the update.

We have reproduced the reported issue and are currently in the process of validating it. We will provide further details by September 3, 2024.

Regards,

Anantha Gokula Raman J



JT Jeyalakshmi Thangamarippandian Syncfusion Team September 3, 2024 03:45 PM UTC

Due to complexity, The reported issue still need a lot more in-depth research; thus we are looking into them. On 5th September 2024, further information will be updated.



RS RaashithAhamed SahulHameed Syncfusion Team September 5, 2024 02:28 PM UTC

Hi Jacobs,

We have confirmed the issue “IsDocumentModified returns an incorrect result after validating the existing PDF signature.” as a defect in our product and we will include the fix in upcoming Volume 3 main release


Please use the below feedback link to track the status of the reported bug.

https://www.syncfusion.com/feedback/61048/isdocumentmodified-returns-an-incorrect-result-after-validating-the-existing-pdf


Note: If you require a patch for the reported issue in any of our Essential Studio Main or SP release version, then kindly let us know the version, so that we can provide a patch in that version based on our SLA policy.


Disclaimer: “Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.”


Regards,

Raashith Ahamed



JA Jacobs replied to RaashithAhamed SahulHameed September 5, 2024 02:49 PM UTC

Thanks ... can you please provide a patch for current latest version 26.2.13 .net framework 

And when will volume 3 be released?



KS Karmegam Seerangan Syncfusion Team September 6, 2024 02:37 PM UTC

We have planned to provide the custom patch for the mentioned version on September 10th, 2024. The 2024 Volume 3 release is expected in the 3rd week of September. We will let you know once the release has been rolled out.



JA Jacobs replied to Karmegam Seerangan September 10, 2024 10:55 AM UTC

any update 



JT Jeyalakshmi Thangamarippandian Syncfusion Team September 10, 2024 10:58 AM UTC

We have created the custom NuGet for the issue “IsDocumentModified returns an incorrect result after validating the existing PDF signature.” in mentioned version 26.2.13.

Kindly download the NuGet from the below link

NuGet Link:

https://www.syncfusion.com/downloads/support/directtrac/general/ze/syncfusion.pdf.winforms.26.2.13-1798637635



JT Jeyalakshmi Thangamarippandian Syncfusion Team September 19, 2024 12:39 PM UTC

We are glad to announce that our Essential Studio 2024 Volume 3 Main Release v27.1.48 is rolled out. We have included the fix "IsDocumentModified returns an incorrect result after validating the existing PDF signature." in our Volume 3 release and is available for download under the following link.

Essential Studio 2024 Volume 3 Main Release v27.1.48 is available for download | Announcements Forums | Syncfusion

Please use the below feedback link to track the status of the reported bug. 

 https://www.syncfusion.com/feedback/61048/isdocumentmodified-returns-an-incorrect-result-after-validating-the-existing-pdf

We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.


Loader.
Up arrow icon