Skip to content

Regression in 7.3.21: OpenSSL prints verbosely #5388

@chrysn

Description

@chrysn

Since 7.3.21, this has started printing stuff to the console:

(Run in docker run --rm -it -v $(pwd):/src docker.io/pypy:3-7.3.21 /bin/bash, compare with 7.3.20)

$ pip install cryptography
$ python3 -c 'import cryptography.hazmat.primitives.ciphers'
(_Reasons, 8832, 128, 128)
(Type, 9856, 128, 128)
(Certificate, 8832, 128, 128)
(CertificateRevocationList, 8832, 128, 128)
(RevokedCertificate, 8832, 128, 128)
(CertificateSigningRequest, 8832, 128, 128)
(Sct, 8832, 128, 128)
(ClientVerifier, 8832, 128, 128)
(Criticality, 8832, 128, 128)
(ExtensionPolicy, 8832, 128, 128)
(Policy, 8832, 128, 128)
(ServerVerifier, 8832, 128, 128)
(VerifiedClient, 8832, 128, 128)
(OCSPRequest, 8832, 128, 128)
(OCSPResponse, 8832, 128, 128)
(OCSPSingleResponse, 8832, 128, 128)
(AEADDecryptionContext, 8832, 128, 128)
(AEADEncryptionContext, 8832, 128, 128)
(CipherContext, 8832, 128, 128)
(DHParameters, 8832, 128, 128)
(DHPrivateKey, 8832, 128, 128)
(DHPublicKey, 8832, 128, 128)
(DSAParameters, 8832, 128, 128)
(DSAPrivateKey, 8832, 128, 128)
(DSAPublicKey, 8832, 128, 128)
(ECPrivateKey, 8832, 128, 128)
(ECPublicKey, 8832, 128, 128)
(Ed25519PrivateKey, 8832, 128, 128)
(Ed25519PublicKey, 8832, 128, 128)
(Ed448PrivateKey, 8832, 128, 128)
(Ed448PublicKey, 8832, 128, 128)
(RSAPrivateKey, 8832, 128, 128)
(RSAPublicKey, 8832, 128, 128)
(X25519PrivateKey, 8832, 128, 128)
(X25519PublicKey, 8832, 128, 128)
(X448PrivateKey, 8832, 128, 128)
(X448PublicKey, 8832, 128, 128)
(OpenSSLError, 8832, 128, 128)
(LoadedProviders, 8832, 128, 128)

I have no clue what happened there (it just broke my CI because I'm extremely picky about the string "error" popping up there), but I guess you have some better idea.

Reporting this here and not with cryptography because it all works fine with the very same cryptography package 46.0.5 on -7.3.20; if you think that's wrong, I'll happily take it over there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions