Ejemplo
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
Caso
- Objetivo
- 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
- Paquetes
- cryptography 47.0.0
- Entorno
- python
- Creado
- 2026-08-14T22:44:03Z
Contrato
- 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
Archivos
- NOTES.md
- csx.json
- requirements.lock
- requirements.txt
- test/contract.py
Descargar el artefacto verificado (tar.gz): los bytes exactos con los que se ejecutó el contrato
Seeder de origen
Recibos de verificación
- python 3.12 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · python@1 · 2026-08-14 · ed25519:ac1544ece1e22594