diff --git a/stubs/cryptography/@tests/stubtest_allowlist.txt b/stubs/cryptography/@tests/stubtest_allowlist.txt index 52bdeb872..30c5be3a5 100644 --- a/stubs/cryptography/@tests/stubtest_allowlist.txt +++ b/stubs/cryptography/@tests/stubtest_allowlist.txt @@ -15,7 +15,6 @@ cryptography.hazmat.primitives.hashes.BLAKE2s.__init__ cryptography.hazmat.primitives.hashes.Hash.__init__ cryptography.hazmat.primitives.hmac.HMAC.__init__ cryptography.hazmat.primitives.hmac.HMAC.update -cryptography.hazmat.primitives.serialization.pkcs12.serialize_key_and_certificates cryptography.hazmat.primitives.serialization.pkcs7.PKCS7SignatureBuilder.__init__ cryptography.x509.CertificateBuilder.public_key cryptography.x509.CertificateBuilder.serial_number diff --git a/stubs/cryptography/cryptography/hazmat/primitives/serialization/pkcs12.pyi b/stubs/cryptography/cryptography/hazmat/primitives/serialization/pkcs12.pyi index 72c91f7a6..f40dd7376 100644 --- a/stubs/cryptography/cryptography/hazmat/primitives/serialization/pkcs12.pyi +++ b/stubs/cryptography/cryptography/hazmat/primitives/serialization/pkcs12.pyi @@ -14,5 +14,5 @@ def serialize_key_and_certificates( key: RSAPrivateKeyWithSerialization | EllipticCurvePrivateKeyWithSerialization | DSAPrivateKeyWithSerialization, cert: Certificate | None, cas: list[Certificate] | None, - enc: KeySerializationEncryption, + encryption_algorithm: KeySerializationEncryption, ) -> bytes: ...