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

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.3.tar.gz (193.3 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.3-cp38-abi3-win_arm64.whl (6.2 MB view details)

Uploaded CPython 3.8+Windows ARM64

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

Uploaded CPython 3.8+Windows x86-64

asherah-0.5.3-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.3-cp38-abi3-musllinux_1_2_aarch64.whl (8.4 MB view details)

Uploaded CPython 3.8+musllinux: musl 1.2+ ARM64

asherah-0.5.3-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.3-cp38-abi3-manylinux_2_28_aarch64.whl (8.1 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.28+ ARM64

asherah-0.5.3-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.3.tar.gz.

File metadata

  • Download URL: asherah-0.5.3.tar.gz
  • Upload date:
  • Size: 193.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for asherah-0.5.3.tar.gz
Algorithm Hash digest
SHA256 e0345c854355f7907cfb471e4b4cd1690b01840c1ecbfa5a8acdf2237cedbd9c
MD5 bfb3afa3077e89890533bd20f5b4e240
BLAKE2b-256 e192ee2234711808e42e574a02dad51df81941c59192ac0f4ddf1c7bd773c728

See more details on using hashes here.

File details

Details for the file asherah-0.5.3-cp38-abi3-win_arm64.whl.

File metadata

  • Download URL: asherah-0.5.3-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.15

File hashes

Hashes for asherah-0.5.3-cp38-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 bddae182a9731f4fa3e76da9e4f4c33eab579643d96e8d084e40aba6d2e4ff38
MD5 ca15e1d52a00881d542ff7ed79e873bc
BLAKE2b-256 1403ae38ba9b9cab6119871a89adf5afeed1dbd8d6344b0fc16b82e7fda4fe2d

See more details on using hashes here.

File details

Details for the file asherah-0.5.3-cp38-abi3-win_amd64.whl.

File metadata

  • Download URL: asherah-0.5.3-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.15

File hashes

Hashes for asherah-0.5.3-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 f0e3cf2b8034949a43ffc0bec1f3de73d4d2571970ebc0ea53307b7b12bb15c6
MD5 0df9a9470878b9deace2b1fa5b4fa4fd
BLAKE2b-256 3771912c2db487601f6f7866e2319a219fabf98e2933959eaeac93a95496dac9

See more details on using hashes here.

File details

Details for the file asherah-0.5.3-cp38-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for asherah-0.5.3-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ccf9f8ca30b93b770616219aba965b3989bbff5d2da396bcd122b4cdb730ce2d
MD5 d714378932899ba8ddee2ba80954f14e
BLAKE2b-256 b97336bcb529e62c6ace2a8486126ef16e4a07fe8acf0cdfe09e4cad5bcf7739

See more details on using hashes here.

File details

Details for the file asherah-0.5.3-cp38-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for asherah-0.5.3-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 629b14de2fdb24572bf54fa8bbeee38133a6c81ab8d630d098f78ec061bb5ab8
MD5 6ebdf1700f756429233b3b23dada4279
BLAKE2b-256 3d09178fad838af4995818441d08266ab35d5b95db1bfb5401318f1755602e98

See more details on using hashes here.

File details

Details for the file asherah-0.5.3-cp38-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for asherah-0.5.3-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5ef50b639d04343508b39e43c28e8a465432213a597561407fba9f9fee6bcefd
MD5 ea0bb2049a0ebd6370694737ed1dfe5d
BLAKE2b-256 d86a4e245bdf6088e2dc31e5f2902cc2c01a0c0d20b97e4527c1342c857758f5

See more details on using hashes here.

File details

Details for the file asherah-0.5.3-cp38-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for asherah-0.5.3-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 dda70ca18e87876d290ac410fefb59726b2c031d9e0cd3496e11e3980c99ba7e
MD5 c61ad1fa02b8d33399fbe0fb58666961
BLAKE2b-256 428fd837f3ec5112355c056f4874fba2f14d304ee6b29cc0c779d66cca344f35

See more details on using hashes here.

File details

Details for the file asherah-0.5.3-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.3-cp38-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 96f2d4cedbe3ab0d7364455ff007f9b9ef420cc13b064433ae485c41568c749a
MD5 e832e4d10ee5a453b141ba3cd3aadf73
BLAKE2b-256 03104e596711a95f42bc9f5f9310d3fd088239bb70e7ba41f5e6dcb793836891

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