IronLanguages / IronLanguages/ironpython3

`test_httplib_stdlib` failure on Mono+macOS

Open
#1,523 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

3.6 macOS module-socket Mono
Dominant language
C#
Stars
2.8k
Forks
316
Avg merge
1d 9h
Merged PRs (30d)
1

Description

The problem in test_httplib_stdlib is more elusive. I see that the certificate chain passed to verify is empty, therefore the verification of a "good" certificate fails, but don't know why it happens only on Mono. Apparently, CPython 3.6 on macOS no longer uses system root certificates (see BPO-29065) and presumably package certifi is the answer, but I could not verify this because I coudn't get pip to work on Mono/macOS. So to investigate it will take more time.

Originally posted by @BCSharp in https://github.com/IronLanguages/ironpython3/issues/1515#issuecomment-1192882018

Contributor guide

Open the contributing guide

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.

Research direction

Start by reproducing the test_httplib_stdlib failure on Mono/macOS and inspect why the certificate chain passed to verification is empty. Compare the behavior with CPython 3.6 on macOS and investigate the referenced BPO-29065 and certifi context. Done means the cause is identified and verification of a good certificate is understood or restored.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, python
Domain
operating-systems, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.