Skip to main content

Python bindings for opaque-ke.

Project description

This library contains extremely minimal Python bindings of an opinionated standard configuration of opaque-ke. It exposes 4 functions, which only accept and return base64url-encoded strings.

This library is a counterpart to @tiptenbrink/opaquewasm, built upon the configuration defined in opaque-borink.

Development

First, install uv. Since we aim for compatibility with Python 3.9+, it's recommended to install Python 3.9.

Do uv sync --no-install-project to install the dependencies, not including the project.

Next, install maturin and build the Rust project using maturin develop --uv (it's recommended to install maturin globally using cargo binstall maturin or pipx install maturin).

Run the tests using uv run pytest.

Note that type information is not available for the Rust functions, you will have to look at the Rust source code. Maturin builds a package structures as follows:

  • root opaquepy package
    • _internal: this includes create_setup_py, etc.
    • lib: this is the Python source code in python/opaquepy/lib.py

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

opaquepy-0.6.0-cp313-cp313-win_amd64.whl (217.2 kB view details)

Uploaded CPython 3.13Windows x86-64

opaquepy-0.6.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (357.9 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

opaquepy-0.6.0-cp313-cp313-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (630.2 kB view details)

Uploaded CPython 3.13macOS 10.12+ universal2 (ARM64, x86-64)macOS 10.12+ x86-64macOS 11.0+ ARM64

opaquepy-0.6.0-cp312-cp312-win_amd64.whl (217.0 kB view details)

Uploaded CPython 3.12Windows x86-64

opaquepy-0.6.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (357.8 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

opaquepy-0.6.0-cp312-cp312-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (630.1 kB view details)

Uploaded CPython 3.12macOS 10.12+ universal2 (ARM64, x86-64)macOS 10.12+ x86-64macOS 11.0+ ARM64

opaquepy-0.6.0-cp311-cp311-win_amd64.whl (217.3 kB view details)

Uploaded CPython 3.11Windows x86-64

opaquepy-0.6.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (358.8 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

opaquepy-0.6.0-cp311-cp311-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (633.8 kB view details)

Uploaded CPython 3.11macOS 10.12+ universal2 (ARM64, x86-64)macOS 10.12+ x86-64macOS 11.0+ ARM64

opaquepy-0.6.0-cp310-cp310-win_amd64.whl (217.5 kB view details)

Uploaded CPython 3.10Windows x86-64

opaquepy-0.6.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (359.2 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

opaquepy-0.6.0-cp310-cp310-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (634.3 kB view details)

Uploaded CPython 3.10macOS 10.12+ universal2 (ARM64, x86-64)macOS 10.12+ x86-64macOS 11.0+ ARM64

opaquepy-0.6.0-cp39-cp39-win_amd64.whl (217.5 kB view details)

Uploaded CPython 3.9Windows x86-64

opaquepy-0.6.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (359.8 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

opaquepy-0.6.0-cp39-cp39-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (633.4 kB view details)

Uploaded CPython 3.9macOS 10.12+ universal2 (ARM64, x86-64)macOS 10.12+ x86-64macOS 11.0+ ARM64

File details

Details for the file opaquepy-0.6.0-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for opaquepy-0.6.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 fe582d442d4b4c0701feb3aef087d27d79f8ddacd6fd325997207431aedccf5f
MD5 8d74fab16a46739e92e4ed710233184b
BLAKE2b-256 6f93081d46aaf3c72ae7583dc4d13db98013386731c82d4ef2a6646a74f6c084

See more details on using hashes here.

File details

Details for the file opaquepy-0.6.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for opaquepy-0.6.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5c2946d0fdc031b1bd5fa88c800ea1fe3a0411a2dee2fefdf7e9a93824c7a23c
MD5 93f013ec595e5b09e96977431900823a
BLAKE2b-256 7709894caf5fb3b7273f07d936d28b62a900639821de2b5bcfaae9baa854b57d

See more details on using hashes here.

File details

Details for the file opaquepy-0.6.0-cp313-cp313-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl.

File metadata

File hashes

Hashes for opaquepy-0.6.0-cp313-cp313-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 92e01539bcc19f185542db9304a8ab44ccde80971f65220cf8abf4fe881277c5
MD5 4c06bc8a12b9461e2752d1a87d19f0ed
BLAKE2b-256 82b4d5ea9d335aee64d8f609c9d7043697bf96f74de27ee7c9f1c43e465405a7

See more details on using hashes here.

File details

Details for the file opaquepy-0.6.0-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for opaquepy-0.6.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 05421c03fd4a22bc372f4efe70f3cdd22245d5b39c3515e1e4ca816532f0a08f
MD5 75f6068cc81d393818dbe27cf50d2a88
BLAKE2b-256 e37fa6250156a0ee34cd603f987367ee7f8fbefeea69659f7c4d83ca79093550

See more details on using hashes here.

File details

Details for the file opaquepy-0.6.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for opaquepy-0.6.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b80c01fbedaf9c250205df2d194b2b5b470196e9a240376e68e6388733554bd9
MD5 78fc3aea97ab158490a266f9dd8b2f7d
BLAKE2b-256 4a50706bb504c901829a1c35d76db8ccf3f07890ad4a9a3aa69fbaa5e873fb10

See more details on using hashes here.

File details

Details for the file opaquepy-0.6.0-cp312-cp312-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl.

File metadata

File hashes

Hashes for opaquepy-0.6.0-cp312-cp312-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 bdd454c8ada9928b69a5fc728c528a8f857f337ca1b54b9e7b30d7e988a1bcb5
MD5 9de6a5eb12003aab77ee747e2ab98893
BLAKE2b-256 81629a4f49454f2625cd5e2ef6797cb5466c47cedb23f752ab3dd3564ed356c4

See more details on using hashes here.

File details

Details for the file opaquepy-0.6.0-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for opaquepy-0.6.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 f96c9e04dd909752fd7d648f8afc7e33115a875139f8d82dc5599a7f634e1feb
MD5 2e3458b6d138f081fc7c9fe744e1a263
BLAKE2b-256 88f07587e87f784d48cd76363fcccb52af26abc3762884782e84a461a38faa3e

See more details on using hashes here.

File details

Details for the file opaquepy-0.6.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for opaquepy-0.6.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 80a29c5a98ab8595c8ac7ca454f7572c287352fe27431a65ecb834d0822e05f5
MD5 be2103973e876d7e2e48fda2228d4c20
BLAKE2b-256 ef30d8a518f33c58e63c7787891cbf7ac3bc29b68a6bf2426c8ce1ee5cd1d5dc

See more details on using hashes here.

File details

Details for the file opaquepy-0.6.0-cp311-cp311-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl.

File metadata

File hashes

Hashes for opaquepy-0.6.0-cp311-cp311-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 a2c5a2a7e9df47ca97f96796ef2330f7858a411c5159f6fe9a8b983a2af81580
MD5 0d63a24aa7d7f5d711aba60bffb62aa0
BLAKE2b-256 bd80691100a0b3ad5b072a0caa1c728697f681de9fc4be1d4d94b893605381b0

See more details on using hashes here.

File details

Details for the file opaquepy-0.6.0-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for opaquepy-0.6.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 661d0a17e73177cad19d2173f39f6164f16af3ee9f3783d6214ded6637edf06d
MD5 44011a2654617a473b0ea03e3ff48368
BLAKE2b-256 de48e4e62812d1bfa6b81f9ab94bcde5ca55607999ad59bca4f84b58e36eefa3

See more details on using hashes here.

File details

Details for the file opaquepy-0.6.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for opaquepy-0.6.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 69eab2f0fca55cadde6d1c04e69c74814a15bf64d37115b45415a6f586919b8e
MD5 5890027f6068d395dd84a042c4389a9a
BLAKE2b-256 caedd57da9694856e66e95586c707d3072e2830adc1808a8ca072d498356a6ee

See more details on using hashes here.

File details

Details for the file opaquepy-0.6.0-cp310-cp310-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl.

File metadata

File hashes

Hashes for opaquepy-0.6.0-cp310-cp310-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 8a0162229b2ee1f918525e4dd26ade36e7599ce4f21c236edd6b1c3fe4b1da94
MD5 c11bb0143c51846fee9ac2d2759a0258
BLAKE2b-256 29418c9840f208596acdd4446a35413b353f904e6e47c77dc4d79af9c39bcc0d

See more details on using hashes here.

File details

Details for the file opaquepy-0.6.0-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: opaquepy-0.6.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 217.5 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.8.1

File hashes

Hashes for opaquepy-0.6.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 32d0fb8e3561ac474d38623c64e24d57c34be791377110ca37eb564a80d24701
MD5 5a89d52842aedaae0ac7ec8919e8d589
BLAKE2b-256 9b0ee5f96272139dbf1757875a4d5e6595c8edbfc0a7f6010c1a33e38b93db0d

See more details on using hashes here.

File details

Details for the file opaquepy-0.6.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for opaquepy-0.6.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 120f8ab0346d3e021684d103ba370af5c12430de28e928c6e0a6b29b173d6e90
MD5 672e95e9832eeff724858195db528614
BLAKE2b-256 3d9e7617a8b4d1c6df88230a9ff82d83fd6a01dca4ac171641927b34baee0404

See more details on using hashes here.

File details

Details for the file opaquepy-0.6.0-cp39-cp39-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl.

File metadata

File hashes

Hashes for opaquepy-0.6.0-cp39-cp39-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 adb7f3a00576a7ee811e1283ad334d9c98c68812a15a037ab2532d0ac78f166f
MD5 9acd92bc76e31a5a7700726e9aa56a8f
BLAKE2b-256 8163b15fabc25ef1a047032959173569dc7f118d625f9c80a82ca24221ccb11d

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