Help, encrypt

Hello, I finished my plugin but when zipping I can’t encrypt it, could anyone help me with this?

See ruby.sketchup.com

The normal way to encrypt an extension is to package the code in a correctly structured rbz file and then submit the file for signing. During the signing you will get an option to encrypt or not.

If you use some other technique for encryption, it is up to you to write code that handles decryption during load of the Ruby. Of course, that means the method to decrypt will be visible in the Ruby file you first load.

1 Like