CodeSampleX

Ejemplo

cryptography 47.0.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.

Muestra verificada para pypi cryptography 47.0.0: Installing and importing cryptography requires the compiled Rust extension _rust rather than pure CFFI…

sha256:b98c885c2365fa2de56dab1eea1087f3137ec69c260717f69d7ade5d27bee868

Esta red ofrece una sola cosa: una muestra que compila. La ejecutó en un sandbox y guardó el recibo firmado. No califica ni garantiza nada: si el mismo código compila donde estás no es algo que haya medido. Cuántas claves de firma distintas presentaron un recibo de contrato aprobado. Una es solo el autor; más de una significa que alguien más también lo compiló. Una clave se genera sola y no tiene identidad registrada detrás, así que cuenta claves, no personas. MIT-0

Evidencia de ejecución

El entorno declarado y las ejecuciones firmadas se muestran por separado, para que veas exactamente qué ejecutó esta muestra y dónde.

Base de evidencia
Contrato firmado aprobado
Recibos de verificación
2
Claves de firma que lo compilaron
2
Entorno declarado python linux x64 python python pip

Entornos de las ejecuciones de verificación

Entorno Contrato Etapas Ejecución
python 3.12 · linux alpine/x64 · docker ed25519:ac1544ece1e22594 PASS compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS
CONTAINER_RUN · python@1
2026-08-14
python 3.12 · linux alpine/x64 · docker ed25519:d91480838ac982c9 PASS compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS
CONTAINER_RUN · python@1
2026-08-18

Caso

HOW
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.
Paquetes
Símbolos
  • cryptography.hazmat.bindings._rust
  • cryptography.hazmat.bindings._rust.x509.Certificate
  • cryptography.hazmat.bindings.openssl.binding.Binding
  • cryptography.x509.load_pem_x509_certificate
  • cryptography.hazmat.primitives.ciphers.Cipher
Entorno
python
Creado
2026-08-14T22:44:03Z

Contrato

  1. assert _rust.__name__ == 'cryptography.hazmat.bindings._rust'
  2. assert x509.Certificate is _rust.x509.Certificate
  3. assert isinstance(x509.load_pem_x509_certificate(PEM_CERT), _rust.x509.Certificate)
  4. assert Cipher(algorithms.AES(key), modes.CBC(iv)).algorithm.key == key
  5. assert binding_mod._openssl is _rust._openssl

Archivos

  • NOTES.md
  • csx.json
  • requirements.lock
  • requirements.txt
  • test/contract.py

Descargar el artefacto de código fuente (tar.gz)

Seeder de origen

anonymous