What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.

  • Profile Image

    Running into issues with private key for multiple encrypted forms

    Asked by cu_jot on April 11, 2017 at 01:34 PM

    Hello! I have multiple encrypted forms I am using, and I think there is confusion about which key to refer to when I attempt to view a submission. Any advice? Or is there a way to apply a single key to multiple forms?

  • Profile Image
    JotForm Support

    Answered by Mike on April 11, 2017 at 04:28 PM

    If you would like to use the same key on multiple forms, use the 'I will use my existing keys' option when you enable the form encryption on a particular form.

    However, that option might work differently for main and sub-accounts. Since each account can hold its own 'existing' key which is applied when you enable the form encryption.

    Also, if you re-enable the encryption on form and use a new key, the new key will not decrypt old data (encrypted with the old key).

    It is important to keep private key files in a safe and secure place. If you lose the private encryption key, your data is gone.

  • Profile Image

    Answered by cu_jot on April 11, 2017 at 05:44 PM
    Hey Mike,
    I don't quite understand your answer. I have two different forms, both
    encrypted. Each has it's own private key, saved in a different location.
    How does JF know which key to use? Can I save them both in a single folder
    and JF will check against both?
    Kind regards,
    KC Coburn
    Architect of Dreams
    Marketing Java
    (303) 900-3387
  • Profile Image
    JotForm Support

    Answered by Mike on April 11, 2017 at 08:46 PM

    I have checked your forms, and at this time both forms use the same public key. It means that the private key (downloaded by you) is the same for both forms too. If you can see decrypted submission data, it means that everything is working properly.

    Can I save them both in a single folder and JF will check against both?

    No, this is not possible. If you use different key pairs on forms, you will need to change the private key files to be able to see decrypted data. The private key file is stored in a browser local storage once it is uploaded. If you would like to change the key, you will need to use another browser (alternatively, incognito mode window) or clear the browser local storage. When there is no private key file in your local storage, the JotForm will ask you to upload your private key.

    The form encryption is an advanced feature, so it might be not as intuitive as the regular form usage.

    If you have any follow up questions, please let us know.