Pyarmor

Latest version: v9.0.5

Safety actively analyzes 682244 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 23 of 45

5.7.3

Not secure
* Refine `pytransform` to handle error message of core library
* Refine command online help message
* Sort the scripts being to obfuscated to fix some random errors (143)
* Raise exception other than call `sys.exit` if `pyarmor` is called from another Python script directly
* In the function `get_license_info` of module `pytransform`
- Change the value to `None` if there is no corresponding information
- Change the key name `expired` to upper case `EXPIRED`

5.7.2

Not secure
* Fix plugin codec issue (138): 'gbk' codec can't decode byte 0x82 in position 590: illegal multibyte sequence
* Project src may be relative path based on project path
* Refine plugin and document it in details: https://pyarmor.readthedocs.io/en/v5.7.2/how-to-do.html#how-to-deal-with-plugins
* Add common option `--debug` for `pyarmor` to show more information in the console
* Project commands, for examples `build`, `cofig`, the last argument supports any valid project configuration file

5.7.1

Not secure
* Add command `runtime` to generate runtime package separately
* Add the first character as alias for command `obfuscate, licenses, pack, init, config, build`
* Fix cross platform obfuscating scripts don't work issue (136).
This bug should be exists from v5.6.0 to v5.7.0
Related target platforms `armv5, android.aarch64, ppc64le, ios.arm64, freebsd, alpine, alpine.arm, poky-i586`

5.7.0

Not secure
There are 2 major changes in this version:

1. The runtime files are saved in the separated folder `pytransform` as package:

dist/
obf_foo.py

pytransform/
__init__.py
license.lic
pytransform.key
...

Upgrade notes:

* If you have generated new runtime file `license.lic`, it should be copied to
`dist/pytransform` other than `dist/`

* If you'd like to save the runtime files in the same folder with obfuscated
scripts as before, obfuscating the scripts with option `package-runtime` like
this:

pyarmor obfuscate --package-runtime=0 foo.py
pyarmor build --package-runtime=0

2. The bootstrap code must be in the obfuscated scripts, and it must be entry
script as obfuscating.

Upgrade notes:

* If you have inserted bootstrap code into the obfuscated script `dist/foo.py`
which is obfuscated but not as entry script manually. Do it by this command
after v5.7.0:

pyarmor obfuscate --no-runtime --exact foo.py

* If you need insert bootstrap code into plain script, first obfuscate an empty
script like this:

echo "" > pytransform_bootstrap.py
pyarmor obfuscate --no-runtime --exact pytransform_bootstrap.py

Then import `pytransform_bootstrap` in the plain script.

Other changes:

* Change default value of project attribute `package_runtime` from 0 to 1
* Change default value of option `--package-runtime` from 0 to 1 in command `obfuscate`
* Add option `--no-runtime` for command `obfuscate`
* Add optioin `--disable-restrict-mode` for command `licenses`

5.6.8

Not secure
* Add option `--package-runtime` in command `obfuscate`, `config` and `build`
* Add attribute `package_runtime` for project
* Refine default cross protection code
* Remove deprecated flag for option `--src` in command `obfuscate`
* Fix help message errors in command `obfuscate`

5.6.7

Not secure
* Fix issue (129): "Invalid input packet" on raspberry pi (armv7)
* Add new obfuscation mode: obf_code == 2

Page 23 of 45

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.