Pyarmor

Latest version: v8.5.8

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

Scan your dependencies

Page 6 of 44

8.2.3

* Support multiple Python versions, refer to [Obfuscating scripts for multiple Python versions](https://pyarmor.readthedocs.io/en/v8.2.3/tutorial/advanced.html#obfuscating-scripts-for-multiple-python-versions)
* Support [special hook script](https://pyarmor.readthedocs.io/en/v8.2.3/reference/environments.html#special-hook-script)
* Support new platforms: alpine.x86_64, alpine.aarch64, freebsd.x86_64, android.x86_64, android.x86, android.aarch64, android.armv7, refer to [support platforms](https://pyarmor.readthedocs.io/en/v8.2.3/reference/environments.html#supported-platforms)
* Implement `--enable-themida`
* Fix issue 1284: RFT mode missed names in statement `nonlocal` and `global`
* Fix issue 1285: RFT mode missed names with type hint (`ast.AnnAssign`)
* Fix issues 1286, 1287: `--obf-code 2` bugs
* Fix issue 1289: cross platform bugs for linux.x86_64 with Python 3.11

8.2.2

* Fix issue 1272: In windows.x86 Python 3.10/3.11 doesn't work
* Fix issue 1274: `--pack` results in wrong protection error
* `pyarmor gen` supports list scripts in file like `pyarmor gen filename.txt`

8.2.1

* Fix bug 1238
* Fix bug 1239
* Fix bug 1243
* Fix bug 1249

8.2

**New features**
* [Full documentation](https://pyarmor.readthedocs.io/en/v8.2/)
* Support plugins and hooks
* BCC mode support windows.x86, linux.x86, linux.armv7
* Variable runtime package name for non trial version by `pyarmor cfg package_name_format "xxxx"`
* Cleare frame locals by `pyarmor cfg clear_frame_locals 1`
* Improve wrap mode security by `pyarmor cfg wrap_mode 2`
* Option `--obf-code` has new value `2` to improve security for code object
* Improve [security of pack bundle](https://pyarmor.readthedocs.io/en/v8.2/how-to/protection.html)

**Group License Available**
* Doc how to [use group license](https://pyarmor.readthedocs.io/en/v8.2/how-to/register.html#using-group-license)
* Changed options for command `pyarmor reg`
- Remove option `--confirm`
- Add option `--device` for group license

**Bug fixed**
* Fix issue 1095: bcc mode decorator bug
* Fix issue 1215: cannot import name 'PYZ_TYPE_PKG' when packing with pyinstaller
* Fix issue 1218: When using multiple `--platform` options, only the last one will work.

8.1.0

New features:
* Support Apple Silicon, Linux aarch64
* Support Windows x86, Linux x86 and Linux armv7 without bcc mode

8.0

- SPP mode doesn't work

In order to use SPP mode, it's necessary to upgrade Pyarmor to 8.0+

- Command `pyarmor register` without any argument return `404` error

It is used to query registration information in old Pyarmor, but now license server doesn't serve this web api.

Instead use `pyarmor -v` to make sure it's not trial version.

- Registering Pyarmor by `pyarmor register pyarmor-regcode-xxxxxx.txt` can be used no more than 10 times

In order to use Pyarmor in new machine, CI server or docker, check the second method described in the registration file "pyarmor-regcode-xxxxxx.txt":

Downloading "pyarmor-regfile-xxxxxx.zip" once, use this `.zip` file to register Pyarmor later.

2. Upgrade to 8.0 but only use old features

By default, command `pyarmor` only accepts new commands, there are 3 ways to use old commands such as `obfuscate`, `licenses`:

- Use `pyarmor-7` instead `pyarmor`
- Export environment variable `PYARMOR_CLI=7`, then still use `pyarmor`
- Any way to call entry point `pyarmor.pyarmor:main_entry`

3. Upgrade to 8.0 and use new features

- Follow new [EULA of Pyarmor](https://github.com/dashingsoft/pyarmor/blob/master/LICENSE). It's a big change for old personal license, because new license only allows one proudct.

- Not all old licenses could be upgraded to new license freely, refer to
[Pyarmor licenses](https://pyarmor.readthedocs.io/en/stable/licenses.html)

- The old commands need not internect connection, but new command need

- The old commands support Python 2.7~3.10, but new command only support Python 3.7+

Refer to [Import Notes](https://github.com/dashingsoft/pyarmor#import-notes-for-pyarmor-prior-to-80)

Page 6 of 44

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.