Skip to content
SlabyLolPublic

About

PSZ - Encrypted project archive format with paired unpacker (.psz + .psz-data.lor). Create and open encrypted archives easily. Supports Docker & GitHub Actions. https://github.com/SlabyLol/psz-test

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

PSZ BANNER

PSZ – Encrypted Project Archives

!BETA functions!

AES-256-GCM archives with a paired .psz-data.lor key file.

Always need both:

  • name.psz – encrypted data
  • name.psz-data.lor – unpacker / key (same filename for every language)

Python package + CLI

pip install git+https://github.com/SlabyLol/psz.git
# or after cloning:
pip install -e .

CLI

psz make ./project -o release.psz
psz make ./project -o release.psz --lang php
psz make file.txt -o one.psz

psz list release.psz release.psz-data.lor
psz open release.psz release.psz-data.lor -o out/
psz open release.psz release.psz-data.lor -o out/ -m path/inside.txt

Package API

from pathlib import Path
from psz import create_archive, open_archive, list_archive_members

create_archive(Path("project"), Path("release.psz"))
list_archive_members(Path("release.psz"), Path("release.psz-data.lor"))
open_archive(Path("release.psz"), Path("release.psz-data.lor"), Path("out"))

Languages for .psz-data.lor content

psz make ./project -o r.psz --lang python   # default
psz make ./project -o r.psz --lang php
psz make ./project -o r.psz --lang js
psz make ./project -o r.psz --lang html

Name is always r.psz-data.lor.

Examples

See examples/.

python3 examples/extractors/psz-extractor1.py
php examples/extractors/psz-extractor1.php
node examples/extractors/psz-extractor1.js

License

MIT

About

PSZ - Encrypted project archive format with paired unpacker (.psz + .psz-data.lor). Create and open encrypted archives easily. Supports Docker & GitHub Actions. https://github.com/SlabyLol/psz-test

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages