用于解密 AList Crypt 加密的文件,使用 rclone 作为后端。支持明文密码和混淆密码,完全兼容 AList 的加密设置。
- Python 3.7+
- rclone
- 安装 Python 依赖
pip install pyyaml- 安装 rclone
- 从 rclone.org/downloads 下载并安装
- 确保 rclone 在系统 PATH 中可用
- 复制并修改配置文件
config.yaml- 运行程序
python main.py --config config.yaml最简单的使用方式:
python main.py --password your_password --input /path/to/encrypted完整参数示例:
python main.py --password your_password --salt your_salt --input /path/to/encrypted --output /path/to/decrypted --filename-encryption standard --directory-encryption --suffix .bin --filename-encoding base64 --no-plaintext-password--config 配置文件路径
--password AList Crypt 密码
--salt AList Crypt 盐值(可选)
--input 要解密的目录路径
--output 解密输出路径(可选,默认在输入目录下创建 .Decrypt 目录)
--filename-encryption [off/standard/obfuscate] 文件名加密方式(可选,默认: off)
--directory-encryption 是否加密目录名(可选,默认: false)
--suffix 加密文件后缀(可选,默认: .bin)
--filename-encoding [base64/base32/base32768] 文件名编码方式(可选,默认: base64)
--no-plaintext-password 使用混淆形式的密码和盐值(可选,默认使用明文)
WTFPL v2 License
