Encrypt Python scripts and execute decrypted code.
Project description
ixi
ixi 用于加密 Python 脚本,并生成可执行的加密启动脚本。运行时只在内存中解密并执行,不落盘明文。
安装
pip install --only-binary=:all: ixi
命令
ixi -v:输出当前版本号ixi -e script.py:加密脚本并输出script_<timestamp>.py
分发模型
- 仅发布
abi3wheel(cp310-abi3),覆盖 Windows / Linux / macOS。 - 目标矩阵:
win_amd64、manylinux_x86_64、manylinux_aarch64、macosx_x86_64、macosx_arm64。 - 不发布
sdist。 - 敏感逻辑统一由 Rust 扩展模块
ixi._core提供。 - 若平台不在已发布 wheel 标签内,
pip安装会失败。
运行时行为
- 启动脚本会先尝试
import ixi。 - 若导入失败,自动执行
python -m pip install ixi。 - 解密前强制请求 USTC:
GET https://mirrors.ustc.edu.cn/pypi/simple/ixi/Accept: application/vnd.pypi.simple.v1+json- TLS 信任根固定为
certifi(Mozilla CA Bundle),不使用系统证书库。 - 运行时额外要求对端证书签发组织为
Let's Encrypt。
- 本地版本不是最新版时,打印告警并终止执行。
- 若接口返回 404,直接终止执行。
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ixi-1.0.100-cp310-abi3-win_amd64.whl.
File metadata
- Download URL: ixi-1.0.100-cp310-abi3-win_amd64.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.10+, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d91c6af95f494baf5513f16a62c9b75924309bbf05078dd71360c964b4f21512
|
|
| MD5 |
ac6ff6fc71e09eac778b204e5cc073ad
|
|
| BLAKE2b-256 |
88f2a65f20e6adfa3d4df782e958aab84c420820077f258ff053d7c16e123dc3
|
File details
Details for the file ixi-1.0.100-cp310-abi3-win32.whl.
File metadata
- Download URL: ixi-1.0.100-cp310-abi3-win32.whl
- Upload date:
- Size: 824.9 kB
- Tags: CPython 3.10+, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
13db7528e3a2cc7b002d6cc83b652c275faac92db7445c90f9dc985b160391c1
|
|
| MD5 |
4d347bcf906fe5954a1a9bf4bd2a9bde
|
|
| BLAKE2b-256 |
49ac68ae9e77e8a6f81721dac32274e2dfc7b7cbdb12bccb69701cc68e104ae0
|
File details
Details for the file ixi-1.0.100-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: ixi-1.0.100-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.10+, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
278a482075de7157ae26cad0581cd30c44a1081cde50a931c5a909594a5953fe
|
|
| MD5 |
5521b947ba9c565002a457a6ff5cb1f9
|
|
| BLAKE2b-256 |
854641ec36ab9c1595e6e34e78732b2dadc1f951c1a25d4e1a3883acfba20e5b
|
File details
Details for the file ixi-1.0.100-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: ixi-1.0.100-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.10+, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d4a40d6a13d43c5fc074bddd33bf87c38e2fbc5105d987db2db1f832623ac4b9
|
|
| MD5 |
83781e4f8ffae141c49ad4e32e20c33a
|
|
| BLAKE2b-256 |
d86065b18edb76d2cbaac19297205293097bca9f4f19c7572b1d7e9ef4dffd44
|