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

Uploaded CPython 3.8+Windows ARM64

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

Uploaded CPython 3.8+Windows x86-64

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

Uploaded CPython 3.8+musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.8+manylinux: glibc 2.28+ ARM64

asherah-0.5.0b4-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.0b4.tar.gz.

File metadata

  • Download URL: asherah-0.5.0b4.tar.gz
  • Upload date:
  • Size: 189.6 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.0b4.tar.gz
Algorithm Hash digest
SHA256 1f98c35033766a04ed9586182e5ca3fb1bb3f7566ef7e006e148f7954046d4b7
MD5 1088f1b25a7076e1538a293585b09c92
BLAKE2b-256 6f15c26cf459da5450ef8930f76f4f6566e67e824b449faaaaa06354bd2e9592

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.0b4-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.0b4-cp38-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 e1b1b3a053348364626f7e03d308f8f133b2433b49d4df368ee58ea85a643665
MD5 5067c57130eada0557bf9e0b0e742a17
BLAKE2b-256 442b40e0d1c52d52725f43865905ca678611f2a35d7691629556c5a4b0305840

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.0b4-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.0b4-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 48d6a39c2d2f12f3f534c97fa0563bb2851153244856fd55d68e62405b7876d2
MD5 f56ef71a48758e49153d48355d211338
BLAKE2b-256 654fc7f4da98135f49baa24547599d4d394f7c65ef6f1a664f797b61874e199b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.0b4-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 914942143e8b7bec582cee6fc1a4f0f61bd4213dd8a7d02e8b8bc30ce53f20c4
MD5 0820bef6b1bbedd0dcd3b654133f6cfa
BLAKE2b-256 bbf34c9d3295ffad34d31b7f803f98f430b5d037df251c1c6899ee72891a4667

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.0b4-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 8085498dbc136fdbffe782ddfae7020e8850cd1d91a94cdce8508c41d44ad69b
MD5 f68355561a37165e28e832a824024db4
BLAKE2b-256 1da62140cd832ee99efcb62afcd4e0e1c611392d48c1ec2d44c731c2a9a8a79a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.0b4-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e29da558c59df37a17b66d8d2dec65a796c4830ebecb47c4ef202e953415995d
MD5 e6f20351bc543c1988707387906b40bb
BLAKE2b-256 29db742514571ce8728dea47a98520ab6ac9839caf0cd8a5f665e89ac60f0e31

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.0b4-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a1d4df27a6310621678ea44b8a129840897ab8fa2324e4119e7c8f1dabbba3a0
MD5 0151bfdf2531e078944201f56fadf131
BLAKE2b-256 097528ae30347d74e1ae53ee142a09df1e3789cc300f7988f926c2ac28115452

See more details on using hashes here.

File details

Details for the file asherah-0.5.0b4-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.0b4-cp38-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 8dfbd72ec747b8276cd6cfd3838be30bc03179387c56c90e0134a16a4a1b4328
MD5 2a5ba69df03d20b66b041e3504a53bce
BLAKE2b-256 9cf727563942220b2105bd2396f09d712d9b180ae54f51b688d8c7cd6d149798

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