サンプル
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