I got a red cross on the message that the signature is invalid when running my bot that protect and send docusign PDF files. And before I run the bot I have the correct message in green “Signed and all signatures are valid”
First message: I have a Green round before the message => “Signed and all signatures are valid”
After running the bot, I have a red cross before the message=> “At least one signature is invalid”
hi, it is likely due to the bot performing an operation on the PDF that alters its content or structure. Digital signatures on PDFs are sensitive to any changes, even minor ones, and such modifications can invalidate the signature.
Ensure that the bot does not modify the PDF in any way after it has been signed. This includes avoiding actions like re-saving the PDF or converting it to another format.
If your bot needs to handle the PDF post-signature, ensure that it uses operations that do not modify the file. For example, when sending the PDF, use activities that directly send the file without reopening or reprocessing it.
Use activities like “Send Email” or “Move File” that do not interact with the PDF content itself. If you need to confirm that the file hasn’t been altered, use hash comparison techniques before and after bot processing.
Use the “Move File” activity rather than re-saving or manually copying the file. This method preserves the integrity of the file and its signatures.
If the bot must interact with the document viewer, ensure that it only reads or closes the document without saving any changes.
Focus on using file-handling activities that preserve the file’s integrity, and avoid any actions that involve re-saving or reprocessing the document.