Skip to content

Commit

Permalink
Remove obsolete pynacl optional dependency
Browse files Browse the repository at this point in the history
pynacl was used in legacy key modules, in addition to pyca/cryptography,
for its ed25519 implementation.  The replacement CryptoSigner only
depends on pyca/cryptography, which implements all needed key types
(including ed25519).

Signed-off-by: Lukas Puehringer <[email protected]>
  • Loading branch information
lukpueh committed Apr 12, 2024
1 parent 68046f1 commit c39123e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ gcpkms = ["google-cloud-kms", "cryptography>=40.0.0"]
azurekms = ["azure-identity", "azure-keyvault-keys", "cryptography>=40.0.0"]
awskms = ["boto3", "botocore", "cryptography>=40.0.0"]
hsm = ["asn1crypto", "cryptography>=40.0.0", "PyKCS11"]
pynacl = ["pynacl>1.2.0"]
PySPX = ["PySPX>=0.5.0"]
sigstore = ["sigstore~=2.0"]

Expand Down
5 changes: 1 addition & 4 deletions requirements-pinned.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.10
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile --output-file=requirements-pinned.txt requirements.txt
Expand All @@ -9,15 +9,12 @@ asn1crypto==1.5.1
cffi==1.16.0
# via
# cryptography
# pynacl
# pyspx
cryptography==42.0.5
# via -r requirements.txt
pycparser==2.22
# via cffi
pykcs11==1.5.14
# via -r requirements.txt
pynacl==1.5.0
# via -r requirements.txt
pyspx==0.5.0 ; platform_system != "Windows"
# via -r requirements.txt
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
# 'requirements-pinned.txt' is updated on GitHub with Dependabot, which
# triggers CI/CD builds to automatically test against updated dependencies.
cryptography >= 37.0.0
pynacl
PySPX; platform_system != 'Windows'
PyKCS11
asn1crypto

0 comments on commit c39123e

Please sign in to comment.