test_tls_connect_revoked fails on Alpine Linux

Open
#91 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
55/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
python
Domain
security, testing

Research direction

Start with tests/test_tls.py::TLSTests::test_tls_connect_revoked and reproduce the failure on Alpine Linux. Compare the referenced CI workaround with the test’s current target host and certificate chain. Done means the test correctly verifies the revoked-certificate scenario on Alpine while continuing to pass in other supported environments.

Written by the indexing model from the issue text.

Description

FAILED tests/test_tls.py::TLSTests::test_tls_connect_revoked - oscrypto.errors.TLSVerificationError: Server certificate verification failed

Probably the same issue as https://github.com/wbond/oscrypto/commit/6b86a7fed5b1d96ebed5a277fbd27bf72ec54130 is about, but that only adds a workaround in CI.

Replacing the target host with global-root-g2-revoked.chain-demos.digicert.com appears to resolve it, as that root is still present

Dominant language
Python
Stars
346
Forks
82
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from wbond/oscrypto

All issues in wbond/oscrypto

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.