[BUG]: DigiCert timestamp verification fails on Windows because system_ca() ignores Windows CA bundles

Abierto Apto para principiantes
#290 2 comentarios 0 reacciones 1 asignado Ver en GitHub

Los mantenedores suelen responder en 1 día

@pavithra-r06 ya está trabajando en esto.

Desde el 18/11/2026.

  • #291 de @pavithra-r06 — abierto

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
62/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
cryptography, python
Área
cli, security

Línea de trabajo

Empieza en simple/stamp.py, en system_ca(), que actualmente solo comprueba las rutas del paquete de CA de Linux y macOS que se indican en el issue. Lee docs/verify.md para ver las rutas documentadas y luego encuentra dónde se lanza el error "no system CA bundle found". Está terminado cuando, en Windows, la verificación de marca de tiempo de DigiCert encuentra un paquete de CA utilizable y se completa, y la documentación describe la búsqueda en Windows.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

bug
Bug Description

Description

The DigiCert timestamp verification currently fails on Windows because system_ca() in simple/stamp.py only checks Unix/macOS CA-bundle paths.

On Windows, these paths are not available:

  • /etc/ssl/certs/ca-certificates.crt
  • /etc/pki/tls/certs/ca-bundle.crt
  • /etc/ssl/cert.pem

As a result, system_ca() returns None, and the verifier exits with:

no system CA bundle found for the DigiCert timestamp; pass --no-timestamps to skip it

I reproduced this using the actual published AOSSIE evidence release and its anchor.json.

However, the same published DigiCert timestamp can be successfully verified on Windows using Git for Windows' OpenSSL when a valid CA bundle is supplied:

Verification: OK

This indicates that the timestamp itself is valid and the problem is with CA-bundle discovery on Windows.

Expected Behavior

The verifier should locate and use a valid CA bundle/trust store on supported Windows environments so that the normal DigiCert timestamp verification can complete successfully.

Actual Behavior

On Windows, system_ca() returns None, causing timestamp verification to stop before OpenSSL performs the verification.

Environment
  • OS: Windows
  • Python: 3.12.10
  • OpenVerifiableLLM: v1.1.0
  • OpenSSL: Git for Windows
  • Published release: AOSSIE/openverifiable-enwiki-20260901-20260918-r1-evidence
Additional Context

docs/verify.md documents Linux and macOS CA-bundle paths but does not document Windows CA-bundle handling.

The issue is specifically related to cross-platform CA-bundle discovery for DigiCert timestamp verification.

Steps to Reproduce

No response

Logs and Screenshots

No response

Environment Details

No response

Impact

Critical - Application is unusable

Code of Conduct
  • I have joined the Discord server and will post updates there
  • I have searched existing issues to avoid duplicates
Lenguaje dominante
Python
Estrellas
26
Forks
64
Merge medio
2 d 11 h
PR fusionados (30 d)
71

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de AOSSIE-Org/OpenVerifiableLLM

Todos los issues de AOSSIE-Org/OpenVerifiableLLM

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.