示例
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
案例
- 目标
- 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
- 包
- cryptography 47.0.0
- 环境
- python
- 创建时间
- 2026-08-14T22:44:03Z
契约
- 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
文件
- NOTES.md
- csx.json
- requirements.lock
- requirements.txt
- test/contract.py
下载已验证的构件 (tar.gz) — 契约实际运行的那些字节
原始种子者
验证回执
- python 3.12 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · python@1 · 2026-08-14 · ed25519:ac1544ece1e22594