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

Aperta Adatta ai principianti
#290 2 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@pavithra-r06 ci sta già lavorando.

Dal 18/11/2026.

  • #291 di @pavithra-r06 — aperta

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
62/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
cryptography, python
Ambito
cli, security

Direzione di ricerca

Inizia da simple/stamp.py, in system_ca(), che attualmente controlla solo i percorsi del bundle CA di Linux e macOS elencati nell'issue. Leggi docs/verify.md per vedere i percorsi documentati, poi trova dove viene generato l'errore "no system CA bundle found". È completato quando, su Windows, la verifica della marca temporale DigiCert trova un bundle CA utilizzabile e termina, e la documentazione descrive la ricerca su Windows.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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
Lingua principale
Python
Stelle
26
Fork
64
Merge medio
2g 11h
PR unite (30g)
71

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di AOSSIE-Org/OpenVerifiableLLM

Tutte le issue di AOSSIE-Org/OpenVerifiableLLM

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.