hoists the byte-identical OAEP(MGF1(SHA256), SHA256, label=None) construction out of encrypt_aes_key_with_rsa and decrypt_aes_key_with_rsa into a module-level _OAEP_PADDING constant so a future scheme change lands in one place instead of two in lockstep. also restores encrypt_aes_key_with_rsa's Args/Returns/Raises docstring block, matching its four siblings, after Wave-1 over-stripped it to bare prose. Signed-off-by: disqualifier <dev@disqualifier.me>
16 lines
401 B
TOML
16 lines
401 B
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "envelope_crypto"
|
|
version = "0.1.9"
|
|
description = "Envelope encryption (RSA-OAEP wrapped AES-256-GCM) for dict records — config-free, storage-agnostic, installable."
|
|
requires-python = ">=3.10"
|
|
dependencies = [
|
|
"cryptography>=42.0",
|
|
]
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/envelope_crypto"]
|