cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar

Encrypt scripts programmatically

What inspired this wish list request? 

Encrypted scripts with only a "Decrypt Password" can be used to hide passwords or algorithm which needs to be hidden from experienced users.

Our usage would be to create a build task for a JMP add-in which adds a password from an external source into a JSL script and encrypts the script file.

What we need is a method to programmatically encrypt the script file but JSL scripts can only be created using the menu interface "Edit/Encrypt Script...".

 

What is the improvement you would like to see? 

- Either there should be a JSL command that allows to encrypt a script with a decrypt password.

- Or a documentation is provided how the encryption can be achieved externally e.g. using Powershell, C++ or other languages.

 

The encrypted code looks like

//-e12.1
0,
<length>,<encrypted>
,0,

It should be documented with which methods <encrypted> can be created and what the other parameters are.

 

Why is this idea important? 

The automatic encryption of scripts allows to separate the code from the passwords during the build process.

The passwords can be stored separately, then our automated build process would insert the password in the script code and creates the encrypted code file for the add-in.

 

@martindemel 

4 Comments
guillaumebugnon
Level V
carole
Level III
Status changed to: Not Planned For Now

Hello all. I posted this response on a related thread but will add it here as well. After carefully researching this request, we have decided not to provide this in JMP for the foreseeable future. In order to ensure compliance with US export law and various import laws worldwide we do not plan to change or enhance the current encryption capability. We appreciate the interest here but it is not something we can take on in the current regulatory environment.

guillaumebugnon
Level V

Hello,

 

So, do you have recommandations to implement CI/CD with jmp?

 

Thanks