python-challenge-bypass-ristretto
Python bindings for Brave's privacy pass library using the provided ffi APIs.
Usage
The API largely mirrors that of the underlying Rust library with a few classes thrown in. For example:
>>> from challenge_bypass_ristretto import RandomToken
>>> print(RandomToken.create().blind().encode_base64())
QxE220HfZvvOJSNdDx3hgYNfQntxeT+mkRr55LNMNyYdXdFOfkrHRoQz+MXlqfyoiWPWc7dG3k4sa5ZWDv+9WtPkZf1uZVhTwBW4YKgyPXK3jj4Ig7kKDjcGMGtoCdgJ
How to install
Binary wheels for Linux (manylinux2010), macOS, and Windows are distributed on PyPI.
pip install python-challenge-bypass-ristretto
How to build
The Rust FFI library is a git submodule, so to clone all sources needed for a build:
git clone --recursive https://github.com/LeastAuthority/python-challenge-bypass-ristretto
Then, with the Rust and Python toolchains installed:
python setup.py build sdist bdist_wheel
pip install --editable .
There is also Nix-based package which manages most of this complexity for you and only requires a checkout:
nix-build
License
Currently the same license as the Brave's library, Mozilla Public License v2.
Copyright
Least Authority TFA GmbH
Metadata
Release files for python-challenge-bypass-ristretto 2022.6.30
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 1.7 MB
Release files / python_challenge_bypass_ristretto-2022.6.30-py2.py3-none-win_amd64.whl
| Download URL | python_challenge_bypass_ristretto-2022.6.30-py2.py3-none-win_amd64.whl |
|---|---|
| Size | 160.6 kB |
| Tags | Python 2 Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
67a54ea3ab480b08bdc07ededaf41619f765b4da3d7e45913405c32311ab08fd
|
|
BLAKE2b-256 checksum How to use checksums |
d7652291309cd706548519b294f05b0099cba27cbcc27fce09e2d3f51402320d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / python_challenge_bypass_ristretto-2022.6.30-py2.py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl
| Download URL | python_challenge_bypass_ristretto-2022.6.30-py2.py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl |
|---|---|
| Size | 1.0 MB |
| Tags | Linux glibc 2.12+ x86-64 Linux glibc 2.5+ x86-64 Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
88ce3693e14a7369fecc9e7dc023b2d07b66a4038d89514d2995c13934720827
|
|
BLAKE2b-256 checksum How to use checksums |
e32b8042cfde4f3159ff17fdfe591eb8384f8392400b057081fc35bba7b8c7af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.8.3 requests/2.27.1 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/2.7.17
|
Release files / python_challenge_bypass_ristretto-2022.6.30-py2.py3-none-macosx_11_0_x86_64.whl
| Download URL | python_challenge_bypass_ristretto-2022.6.30-py2.py3-none-macosx_11_0_x86_64.whl |
|---|---|
| Size | 260.3 kB |
| Tags | Python 2 Python 3 macOS 11.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
1c28f4eb6fc00896f787df4910bf4b472a41fe230de6e0d9093996547d9c81ef
|
|
BLAKE2b-256 checksum How to use checksums |
20be73fc7b234105497ed880283434adfe919b9c6711db43e8655f1a9f3a67f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.9
|
Release files / python_challenge_bypass_ristretto-2022.6.30-py2.py3-none-macosx_10_15_x86_64.whl
| Download URL | python_challenge_bypass_ristretto-2022.6.30-py2.py3-none-macosx_10_15_x86_64.whl |
|---|---|
| Size | 260.3 kB |
| Tags | Python 2 Python 3 macOS 10.15+ x86-64 |
|
SHA-256 checksum How to use checksums |
2059e46a01f5ce8b890f4d694a862924c1df19e8a31a54325efc79bab1597ccf
|
|
BLAKE2b-256 checksum How to use checksums |
02b991d13cbd1df3de398c9ee9416d000facd753eaf429dd6d63470d6f40e0d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.1
|
Security for python-challenge-bypass-ristretto 2022.6.30
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.