pyarmor icon indicating copy to clipboard operation
pyarmor copied to clipboard

encrypt string values in python

Open deeplearnerali opened this issue 3 years ago • 4 comments

Is your feature request related to a problem? Please describe. When decompyling with uncompyle or similar tools on string values and API strings can be seen in pyarmor

Describe the solution you'd like must be a way to encrypt anything between ' " ' and ' " ' and then decrypt during run time

deeplearnerali avatar Jun 26 '22 00:06 deeplearnerali

pyarmor will add the feature to obfuscate the string constant in the expression, this feature may be implemented in a few months.

But all the other string, for example, the function name, the variable name, will leave as it is. Obfuscating them may cause unexpected errors.

jondy avatar Jun 26 '22 11:06 jondy

Here it's a pre-release v7.6.0 for this feature, refer to https://pyarmor.readthedocs.io/en/latest/change-logs.html#dev

jondy avatar Jul 27 '22 06:07 jondy

Here it's a pre-release v7.6.0 for this feature, refer to https://pyarmor.readthedocs.io/en/latest/change-logs.html#dev

thanks for for quick update, also can be added rename classes, functions, variables ? i know this may break some scripts, but maybe it can be added as an optional in the future? i ask because python functions & variables readable on runtime memory

lolhesap avatar Jul 27 '22 16:07 lolhesap

I'll take this into account. Just as you said, it may break some scripts.

jondy avatar Jul 28 '22 04:07 jondy

Renaming function/class has been implemented in Pyarmor 8.0 by RFT mode.

jondy avatar Mar 26 '23 04:03 jondy