Clear/overwrite existing signature #284
-
Say I have PDF with already filled signature and I want to sign the same field again (or clear then sign) with updated background image for example. How do I do that ? Steps to reproduce:
Second attempt fails with |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
This is indeed expected, and not supported in any meaningful sense of the word because there is no universal way to "undo" a signature in a way that preserves the original file's structure, unless you have certain information about how the file was generated. Examples:
...which makes me wonder: what's the use case here? Are you sure "overwriting" a signature is really what you want? |
Beta Was this translation helpful? Give feedback.
-
I don't have "hard" use case for that, but people tend to make mistakes (applied signature using wrong key for example, or may not like how their hand signature look and want to redo it.) so it would be nice to be able to undo and start everything from the beginning. I just checked official Adobe Acrobat Reader allows you to clear the signature. |
Beta Was this translation helpful? Give feedback.
It might, but I guess that all it does is reverting to the previous revision or something (depending on whether there's a previous signature, maybe). In a CLI context, it's typically just a matter of rerunning the same signing command as before (assuming you kept the original input file around), so I don't feel a pressing need to implement this feature, especially because that minor UX gain comes at a relatively high development/maintenance cost.
I might accept a PR that does this if it's sufficiently robust & maintainable, but barring that I don't see this making it in in the short term. :)