Skip to main content
Inspiring
April 19, 2021
Answered

File size tenfolds when user makes changes after inputting signature

  • April 19, 2021
  • 1 reply
  • 1157 views

Hey everyone,

 

I have a 15 page form with signature fields (and scripts andw hatnot) that is about 5 mb after it was filled.

 

However when the user sets 1-2 signatures (via the standard security pkcs#7) and then (sometimes by removing the signature and reapplying after the changes are done) the file size goes to 125 mb or higher (biggest one so far has been 257 mb).

 

Does anyone have any idea what is going on here? The larger files are problematic for storage/mailing and when the file is stored without changes after inputting the signature remains ~5 mb.

 

Thank you in advance for any trouble to be taken

This topic has been closed for replies.
Correct answer try67

Each time you apply a digital signature the file size will increase dramatically because a copy of the file is stored within the signature, so that it can be verified against the original in case of modifications. If you sign the file multiple times each version will contain the previous ones (including the earlier saved copies!), so the file size will balloon exponentially with each signature. When you clear a signature it might not get rid of this information automatically. Try using Save As and save the file under a new name to get rid of it.

1 reply

try67
Community Expert
try67Community ExpertCorrect answer
Community Expert
April 19, 2021

Each time you apply a digital signature the file size will increase dramatically because a copy of the file is stored within the signature, so that it can be verified against the original in case of modifications. If you sign the file multiple times each version will contain the previous ones (including the earlier saved copies!), so the file size will balloon exponentially with each signature. When you clear a signature it might not get rid of this information automatically. Try using Save As and save the file under a new name to get rid of it.

Inspiring
April 19, 2021

Hey Try67,

 

Let me start off by saying I very much your continuous contributions on this board, I really appreciate your presence. 

 

I understand your answer also, it explains the rapid increase in file size aswell.. although I'm surprised that the two signatures that are on this form don't seem to duplicate the file size as much as the removing and changing things in the form steps seem to contribute.

 

Also, a follow up question if I may - is there any way to disable this storing of a copy of the file? (i.e. just show a signature image) .. setting the signature locks the editable fields so I'm not too concerned about changes after setting the signature.

try67
Community Expert
Community Expert
April 19, 2021

No, you can't disable this feature. That's the entire point of a digital signature. If you just want to show an image then use an image field, not a signature field. But then you'll be losing all the advantages to the latter, ie. the option to verify the signature against a public key and making sure the file hasn't been modified since it was signed.