refactor: hoist shared RSA-OAEP padding to a constant; restore encrypt_aes_key_with_rsa docstring
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>
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
||||
|
||||
[project]
|
||||
name = "envelope_crypto"
|
||||
version = "0.1.8"
|
||||
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 = [
|
||||
|
||||
Reference in New Issue
Block a user