• Natanael@slrpnk.net
    link
    fedilink
    arrow-up
    2
    ·
    5 months ago

    You can but you need to define what part of the data the signature covers (a signature can’t sign itself, so it must be excluded from the data bundle). Signed PDF files has the signature appended after the document data

    • shoki@lemmy.worldOP
      link
      fedilink
      arrow-up
      4
      ·
      5 months ago

      Exactly. And even though there are message start and end markers it’s not quite clear at which pixel the signed image starts and ends. Also the image format that is signed is not defined.