pyarmor v6.2.0 Release Notes
Release Date: 2020-05-18 // almost 4 years ago-
In this version, super mode is introduced to improve the security. In this mode the structure of PyCode_Type is changed, and byte code or word code is mapped, it's the highest security level in PyArmor. There is only one runtime file required, that is extension module
pytransform
, and the form of obfuscated scripts is unique, no so calledbootstrap code
which may make some users confused. All the obfuscated scripts would be like thisfrom pytransform import pyarmorpyarmor(\_\_name\_\_, \_\_file\_\_, b'\x0a\x02...', 1)
โ It's recommended to enable this mode in suitable cases. Now only the latest Python versions are supported:
- Python 2.7
- Python 3.7
- Python 3.8
๐ It may support Python 3.5, 3.6 later, but Python 3.0~3.4 is out of plan.
- โ Add new option
--obf-mode
,--obf-code
,--wrap-mode
to commandobfuscate
- โ Add new value 2 for option
--advanced
to enable super mode, refer to using super mode - Fix multiprocessing issue:
ValueError: __mp_main__. __spec__ is None
(#232) - 0๏ธโฃ The command
runtime
will generate default protection scriptpytransform_protection.py
- โ Add new option
--cross-protection
to commandobfuscate
to specify customized protection script - 0๏ธโฃ The default cross protection code will not be injected the entry script if
--no-runtime
is specified as obfuscating the scripts. In this case, use option--cross-protection
to specify one protection script - Change the default capsule location from
~/.pyarmor_capsule.zip
to~/.pyarmor/.pyarmor_capsule.zip
- ๐ Add new functions
get_user_data
,assert_armored
in runtime modulepytransform
- โ Document how to store runtime file license.lic to any location
- โ Remove the trailing dot from harddisk serial number, it may impact the license verified