[BUG]: verify says the anchor was changed on macOS, but it's the system openssl (LibreSSL) failing the DigiCert check
Maintainers usually reply within 1 day
@YuvrajVerma09arch is already working on this.
Since Nov 22, 2026.
- #367 by @YuvrajVerma09arch — open
Assessment
- Difficulty
- 3/5
- Estimated time
- Half a day
- Newbie friendliness
- 65/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- macos, python
- Domain
- cli, documentation, security
Research direction
Start with verify_reply() in stamp.py, which checks openssl stdout for "Verification: OK" and discards stderr, so certificate errors get reported as a changed anchor. Then check the verify entry point in ovl.py and the manual macOS command in docs/verify.md. Done when openssl's stderr appears in the error, the anchor-changed message is only used for imprint mismatches, and macOS users get a clear note about LibreSSL and openssl@3.
Written by the indexing model from the issue text.
Description
I ran the consistency check from docs/verify.md on my Mac (Apple Silicon, macOS, Python 3.12.14) against release/simple-run, using ovl.py from v1.1.0:
OVL_DEVICE=cpu python ovl-code/simple/ovl.py verify --run . --weights conversation-model.pt
anchor anchor.json: chain head MATCH (38 entries)
anchor timestamp freetsa: OK (Oct 20 14:38:43 2026 GMT)
timestamp anchor.digicert.tsr does not verify for anchor.json: the anchor was changed after it was stamped
The anchor wasn't changed. FreeTSA passes on the same anchor.json, and the DigiCert reply verifies fine with real OpenSSL. The problem is that /usr/bin/openssl on macOS is LibreSSL, and it can't verify this DigiCert chain. Running the manual macOS command from docs/verify.md shows the actual error:
$ openssl version
LibreSSL 3.3.6
$ openssl ts -verify -in anchor.digicert.tsr -data anchor.json -CAfile /etc/ssl/cert.pem
Verification: FAILED
...ts_rsp_verify.c:253:Verify error:unable to get local issuer certificate
Same files, same macOS CA bundle (/etc/ssl/cert.pem, which does contain DigiCert Trusted Root G4 and DigiCert Assured ID Root CA):
- OpenSSL 3.0.2 on Linux with the macOS cert.pem: Verification: OK
- Homebrew openssl@3 (3.5.9) on the same Mac, same files and same /etc/ssl/cert.pem: Verification: OK
So it's specific to LibreSSL. My guess is the chain building: the reply's chain goes Responder -> G4 TimeStamping CA -> Trusted Root G4, cross-signed by Assured ID Root CA, and LibreSSL doesn't pick the path OpenSSL does.
There are two separate problems here:
- On macOS the DigiCert check can't pass with the default openssl, so verify always fails there.
- The message says the anchor was changed, even though openssl failed for a different reason. verify_reply() in stamp.py only looks for "Verification: OK" in stdout and drops stderr, so any openssl failure gets reported as tampering.
Possible fixes:
- Detect LibreSSL (openssl version) and stop with a clear message telling Mac users to install openssl@3, or let the openssl path be set (an env var, or prefer Homebrew's openssl@3 if it exists). Still fails closed, just with the right reason.
- Include openssl's stderr in the error, and only say "the anchor was changed" when the imprint doesn't match, not for certificate errors.
- Mention it in docs/verify.md, since the manual macOS command there fails too.
Related to #290 (DigiCert on Windows), but different: on macOS the CA bundle is found, it's the openssl itself that fails.
I can open a PR for the message and the LibreSSL check if that sounds good.
- Dominant language
- Python
- Stars
- 27
- Forks
- 72
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 45
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from AOSSIE-Org/OpenVerifiableLLM
-
[BUG]: ovl.py verify --weights crashes with AttributeError on checkpoint .pt filesPossibly taken @Anurag1428 claimed this 1 day ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
AOSSIE-Org/OpenVerifiableLLM#387 · 1 comment ·
Maintainers usually reply within 1 day
-
[BUG]: verify_segment accepts empty, wrong-phase, or non-positive fork exclusions as MATCHPossibly taken @Arnav0107 claimed this 1 day ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
AOSSIE-Org/OpenVerifiableLLM#385 · 3 comments ·
Maintainers usually reply within 1 day
-
[BUG]: preparation.lock install fails on macOSPossibly taken @darshith2527-sketch claimed this 5 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
AOSSIE-Org/OpenVerifiableLLM#357 · 3 comments ·
Maintainers usually reply within 1 day
-
[BUG]: Forked runs omit timestamps for inherited chain entriesPossibly taken @pavithra-r06 claimed this 9 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
AOSSIE-Org/OpenVerifiableLLM#334 · 3 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
[BUG]: review_ckpt.py passes a run that has .pt files no chain entry coversPossibly taken @arshil42 claimed this 9 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
AOSSIE-Org/OpenVerifiableLLM#332 · 4 comments · 1 assignee ·
Maintainers usually reply within 1 day
All issues in AOSSIE-Org/OpenVerifiableLLM
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
bad-antics/lateralus-lang#1140 ·
Maintainers usually reply within 4 days
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 3 days
-
fixture good first issue help wanted vendor:cisco
Difficulty 1/5 1-3 hours Newbie friendliness 85/100