Can i use encryption on my API integration?

  • akapteyn
    Asked on March 26, 2018 at 12:12 PM

    Hi,

    If I turn encryption on, my results are encrypted when I request them through the api.  Are there any plans to allow me to pass my encryption string to the api, so it returns the plain Json?

  • TREVON
    Replied on March 26, 2018 at 1:39 PM

    Kindly note that this may be possible if you have a way of decrypting the data with your private key but kindly note that we do not cover this. Kindly see the guide below on the same.

    https://www.jotform.com/help/344-Encrypted-Forms-and-How-to-Use-Them#Can-I-Use-Any-Integration-on-Encrypted-Forms

    Kindly note that our forms are secure, so all of our links load over a secure URL (HTTPS) it means that they are being transferred using this security protocol even when you are using our integration.

  • akapteyn
    Replied on March 26, 2018 at 1:42 PM

    I understand that you currently do not cover this.  My question is:  Are you going to add this functionality in the future?  I need my data encrypted at rest, I do not need it encrypted during transport, because the https covers this.

  • Adrian
    Replied on March 26, 2018 at 2:42 PM

    Unfortunately, it is not possible to get the decrypted data through the API and I cannot say if this will be implemented in the near future.

    Please see the following gist which might help you decrypt the data after you fetch them through the API.

    https://gist.github.com/eeertekin/f256665d6ef8b463d8e662477fbe5581

    For more details, you can check the openssl_private_decrypt function in PHP Manual.
    http://us.php.net/manual/en/function.openssl-private-decrypt.php