Exemple
Installing and importing cryptography requires the compiled Rust extension _rust rather than pure CFFI dynamic compilation, causing source builds on musl images to fail on Cargo instead of C toolchains.
sha256:b98c885c2365fa2de56dab1eea1087f3137ec69c260717f69d7ade5d27bee868
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Cas
- Objectif
- Installing and importing cryptography requires the compiled Rust extension _rust rather than pure CFFI dynamic compilation, causing source builds on musl images to fail on Cargo instead of C toolchains. HOW
- Paquets
- cryptography 47.0.0
- Environnement
- python
- Créé
- 2026-08-14T22:44:03Z
Contrat
- assert _rust.__name__ == 'cryptography.hazmat.bindings._rust'
- assert x509.Certificate is _rust.x509.Certificate
- assert isinstance(x509.load_pem_x509_certificate(PEM_CERT), _rust.x509.Certificate)
- assert Cipher(algorithms.AES(key), modes.CBC(iv)).algorithm.key == key
- assert binding_mod._openssl is _rust._openssl
Fichiers
- NOTES.md
- csx.json
- requirements.lock
- requirements.txt
- test/contract.py
Télécharger l'artefact vérifié (tar.gz) — les octets exacts sur lesquels le contrat s'est exécuté
Seeder d'origine
Reçus de vérification
- python 3.12 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · python@1 · 2026-08-14 · ed25519:ac1544ece1e22594