Pyarmor

Latest version: v8.5.8

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

Scan your dependencies

Page 2 of 44

8.5.1

Fix issues:
* In some Windows x86 platform it raises exception: `unsupported arch "x86"`
* Fix Python 3.12 issue 1710: `ModuleNotFoundError: No module named 'distutils'`

8.5.0

Upgrade notes:
* Change option `-e/--expired` behaviour. In the previous versions, it checks internet time, but now it will check local time by default. After run `pyarmor cfg nts="pool.ntp.org"`, it will be same as previous versions.
* When something is wrong with `pyarmor`, it will print suggestion solutions in the console

New features:
* Add new plugin `post_script` which could be used to patch each obfuscated script
* Runtime key could be obfuscated if config option `obf_key_mode` is set by `pyarmor cfg obf_key_mode=1`
* Support binding obfuscated script by machine id, refer to option `-b/--bind-device` in the man page
* Add new command `man`, `pyarmor man` could help Pyarmor users to learn and use Pyarmor by web-ui, quickly find solutions when something is wrong, and report issues in standard form

Fix issues:
* `--private` doesn't work with `--pack` (PyInstaller), if scripts are obfuscated by `--private`, the executable bundle will raise protection error `unauthorized use of script`
* Fix Python 3.12 issue: pyarmor raise exception `no module named 'distutils'`

8.4.7

Fix issues:
* Fix issue 1585: some special modules could be imported by plain script even if `--restrict` option is used
* Fix issue 1647: Raise error `invalid co header size` when obfuscating special scripts
* Fix issue 1668: Raise error `invalid device info "xxxxxx"` when binding to too short harddisk serial number
* Fix bug: `pyarmor.cli.hdinfo` could not get "Multiple Mac addresses", it raises error `Unsupported hardware type with name`

8.4.6

New features:
* Print hardware infomation by `python -m pyarmor.cli.hdinfo`
* Protect private module attribute `__dict__` which could be got from plain scripts

Fix issues:
* Fix issue 1606: when run `pip install pyarmor` in FreeBSD, the dependent package `pyarmor.cli.core.freebsd` is not installed automatically
* Fix issue 1610: private module could be imported by plain scripts
* Fix issue 1628: `pyarmor reg pyarmor-regfile-xxxx.zip` may raise error `invalid license token` in some Linux network, for example, some AWS cloud runners

8.4.5

Fix issues:

* Fix issue 1605: when using pyarmor group license in docker container to obfuscate big project, it may raise error `RuntimeError: invalid license token`
* Fix issue 1612: BCC mode doesn't work for numpy array comparison operation, the obfuscated script raises `ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()`
* Fix bug: Shebang line is removed from the obfuscated scripts, it should be reserved

8.4.4

Fix issues:
* Fix issue 1581: outer key with comment lines doesn't work
* Fix issue 1582: raises error `request license token failed (3)` when registering Pyarmor in some special networks
* Fix issue 1587: raises error `from __future__ imports must occur at the beginning of the file` when using `--mix-str` to obfuscate module which has doc string
* Fix issue 1598: RFT mode changes the imported names defined in module attribute `__all__`
* Fix issue 1601: pip fails to install pyarmor source zip package with error `missing keyword "license"`

Page 2 of 44

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.