Skip to main content

Python bindings for Asherah envelope encryption

Project description

asherah

Python bindings for the Asherah envelope encryption and key rotation library.

Prebuilt wheels are published to PyPI for Linux (x64/arm64, glibc and musl), macOS (universal2), and Windows (x64/arm64). Python 3.8+ is supported via stable ABI wheels.

Features

  • Session-based encrypt/decrypt API
  • Compatible with Go, Node.js, Ruby, Java, and .NET Asherah implementations
  • SQLite, MySQL, PostgreSQL, and DynamoDB metastore support
  • AWS KMS and static key management

Installation

pip install asherah

Quick start

import asherah_py as asherah

factory = asherah.SessionFactory()
session = factory.get_session("partition")

encrypted = session.encrypt_bytes(b"hello world")
decrypted = session.decrypt_bytes(encrypted)

factory.close()

License

Licensed under the Apache License, Version 2.0.

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

asherah-0.5.0b8.tar.gz (191.4 kB view details)

Uploaded Source

Built Distributions

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

asherah-0.5.0b8-cp38-abi3-win_arm64.whl (6.2 MB view details)

Uploaded CPython 3.8+Windows ARM64

asherah-0.5.0b8-cp38-abi3-win_amd64.whl (6.4 MB view details)

Uploaded CPython 3.8+Windows x86-64

asherah-0.5.0b8-cp38-abi3-musllinux_1_2_x86_64.whl (8.6 MB view details)

Uploaded CPython 3.8+musllinux: musl 1.2+ x86-64

asherah-0.5.0b8-cp38-abi3-musllinux_1_2_aarch64.whl (8.4 MB view details)

Uploaded CPython 3.8+musllinux: musl 1.2+ ARM64

asherah-0.5.0b8-cp38-abi3-manylinux_2_28_x86_64.whl (8.5 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.28+ x86-64

asherah-0.5.0b8-cp38-abi3-manylinux_2_28_aarch64.whl (8.1 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.28+ ARM64

asherah-0.5.0b8-cp38-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (15.2 MB view details)

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

File details

Details for the file asherah-0.5.0b8.tar.gz.

File metadata

  • Download URL: asherah-0.5.0b8.tar.gz
  • Upload date:
  • Size: 191.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for asherah-0.5.0b8.tar.gz
Algorithm Hash digest
SHA256 d6d6c2fbe40dd97d19257f0d3b55ceb59fbf9fd920365e72679af406e98461f7
MD5 6dfb481679f090011d31cced4d0ad810
BLAKE2b-256 6b81d94d970fbe853d8bf72f1a9d5743796525234fd4b8e2e1065ad53b5dd866

See more details on using hashes here.

File details

Details for the file asherah-0.5.0b8-cp38-abi3-win_arm64.whl.

File metadata

  • Download URL: asherah-0.5.0b8-cp38-abi3-win_arm64.whl
  • Upload date:
  • Size: 6.2 MB
  • Tags: CPython 3.8+, Windows ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for asherah-0.5.0b8-cp38-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 1a5065c54814909b0be3eaa0c7cd25868fb3d48000b8f008ab6c5566a4ffefff
MD5 a678a7962cb1433c6daa34760354d21a
BLAKE2b-256 b0d91d6e07e1145f3dc8c00d2bc87b001e29658d0b7591ce46c33fedca1b6103

See more details on using hashes here.

File details

Details for the file asherah-0.5.0b8-cp38-abi3-win_amd64.whl.

File metadata

  • Download URL: asherah-0.5.0b8-cp38-abi3-win_amd64.whl
  • Upload date:
  • Size: 6.4 MB
  • Tags: CPython 3.8+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for asherah-0.5.0b8-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 5dc1810cdd9249ed4157cf88b86f894c2b44e081abb38250d09295bc20e2fbfe
MD5 2a8916f60c82e02c5ab1d82812ae182b
BLAKE2b-256 c9e98e3a39580a3cd4ac2bba0a067c8212bf7a196f0e0fe36db5c60bba595deb

See more details on using hashes here.

File details

Details for the file asherah-0.5.0b8-cp38-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for asherah-0.5.0b8-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ba66a74125f426a70ccdc2f3b556da625aa062c50d0ed7d66fb359b727c57682
MD5 baa59f179f831cf1964055379530687d
BLAKE2b-256 628eaddd53fbad71a853cdfca0c7c03f2f33c89a4a3e6590bbba3dfc0a8e425b

See more details on using hashes here.

File details

Details for the file asherah-0.5.0b8-cp38-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for asherah-0.5.0b8-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 647e55196fc6ea9e5a3a7e8af08a5e3deae28efe7e8868bff0ff3ed06b3b99fb
MD5 2c68ad108a94f9a8ad532fe6180d529d
BLAKE2b-256 ce156fc3fcd3f5d0eef71431389c41ee2e9bc2f4ab371803ad7b48980e80775b

See more details on using hashes here.

File details

Details for the file asherah-0.5.0b8-cp38-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for asherah-0.5.0b8-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ab67fa6bb86acb013b7e7898bbdc0a346cc98924f3c442bd2475f70b30608a75
MD5 cc34d27f0a1bedb5c4d7eab2d8150df6
BLAKE2b-256 6b21980463bdac414a2acce0522021e8ff4a6f9379cc09506f52f8524a9e8f1a

See more details on using hashes here.

File details

Details for the file asherah-0.5.0b8-cp38-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for asherah-0.5.0b8-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 b4ddfbee9231900df6ec6df1cc39048ebc382263aec620259abefc33210b868c
MD5 df30d899f2333ba8b5223d365a5222aa
BLAKE2b-256 0e5a27b6f77478ea8d4a528bd93789364b4f907ea7fccbbcd9da16ed1571b980

See more details on using hashes here.

File details

Details for the file asherah-0.5.0b8-cp38-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl.

File metadata

File hashes

Hashes for asherah-0.5.0b8-cp38-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 5386bc9195ba484d2aacd891656d8f9e4e033e7abcfd40736418c2c384c199b3
MD5 38f87f0fdead81f5e2443ff674e676e3
BLAKE2b-256 c661b495d8187bdebb340a698c25a8f8fcca31b14c83e99d00962c5bad413146

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