pyca / pyca/pyopenssl

Add API for getting the options of a Context object

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

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
944
Forks
440
Avg merge
1d 6h
Merged PRs (30d)
6

Description

I want this for testing. Today I found that I had a totally useless unit test because of a discrepancy between my FakeContext(Factory) and a real context factory from Twisted. The only reason the fake class exists is that Context isn't really very introspectable...

Like #61, there's a good chance this requires cryptography to expose some stuff first.

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 with the Context object and the FakeContext(Factory) mentioned in the issue, then compare them with the real context factory from Twisted. Check issue #61 and the cryptography dependency to identify which options must be exposed. Done means a Context API provides the needed options for tests and supports parity with the real factory.

Written by the indexing model from the issue text.

Assessment

Tech stack
cryptography, python
Domain
api, security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.