question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

'sigandcertify': True results in invalid signature

See original GitHub issue

Hi, I was having some problems with cms.sign. I tried running the example with my own cert file which resulted in an invalid signature due to changes to the document.

image

but if I set sigandcertify to False then the signature is perfectly fine:

image

Is there something I am doing wrong? Or I am not understainding the usage of sigandcertify ?

Thanks a lot

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
m32commented, Oct 3, 2020

My experience with acrobat reader shows that an invalid file after signing generates strange problems in this program.

Untitled1.pdf is not valid, error (s): 8.1: A Mandatory element is missing, Unable to process an element if it is null. 7.2: Error on MetaData, CreatorTool present in the document catalog dictionary can’t be found in XMP information (Property is not defined) 7.11: Error on MetaData, PDF / A identification schema http://www.aiim.org/pdfa/ns/id/ is missing

0reactions
m32commented, Oct 5, 2020

Both documents signed with the same program but with different certificates, and one is marked as a modified document, and the other only unknown signature value? For me it is definitely not an endesive problem.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to resolve Invalid Signature Detected on a Windows ...
Step 4: Set all keys under Key Management to Not Installed​​ The “Invalid signature detected” error might happen after UEFI/BIOS update. In this ......
Read more >
First signature breaks after signing second time · Issue #102
The signed document cannot be processed/modified after signing as this will break the signature and the ByteRange will have wrong values. For ...
Read more >
894950 – PXE boot fails with invalid signature
Boot Actual results: Fetching Netboot image Invalid signature Verification failed Expected results: Shim boots grub. Additional info: I opened an upstream ...
Read more >
vmlinuz-4.18.12-041812-generic has invalid signature
Thus you have three options to solve this problem: You sign the kernel yourself. You use a signed, generic kernel of your distro....
Read more >
Acronis: "Invalid signature detected. Check Secure boot ...
I am using Acronis 2013 to create an image of my HD. When I ran a test using the Acronis Boot disk, I...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found