Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-5647

Showing signature verified for tampered document

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Not A Bug
    • None
    • None
    • Signing
    • None

    Description

      A 2 page document was signed. The signature of document was verified by ShowSignature sample and it prints "Signature Verified". 
      Then a corrupted signed PDF was created by deleting the second page of the same signed PDF and the signature of the corrupted PDF was also verified using ShowSignature sample. Ideally the verification should fail because hash of the document is changed (as second page is deleted). But instead of printing "Signature verification failed", it still prints "Signature Verified". 

      How the signature of corrupted pdf is still getting verified successfully?

      Both signed pdf and corrupted signed pdf is added in the attachments.

      Attachments

        1. Doc1_signed.pdf
          49 kB
          Tanmay Sharma
        2. Doc1_signed_corrupted.pdf
          53 kB
          Tanmay Sharma

        Activity

          People

            Unassigned Unassigned
            tanmay.sharma97 Tanmay Sharma
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: