pyca / pyca/pyopenssl

Use SSL_session_reused API

Open
#1,275 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I guess that this should be OpenSSL.SSL.Connection.session_reused()

It should return the number 1 or 0 to keep it as close a possible to the OpenSSL API.

It should not return a boolean.

I see that OpenSSL.SSL.Connection.renegotiate_pending() return a boolean, but SSL_renegotiate_pending returns an int.

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 from the OpenSSL.SSL.Connection.session_reused() entry point and compare its behavior with the OpenSSL SSL_session_reused API mentioned in the issue. Done means the method exists and returns the numeric value 1 or 0 rather than a boolean.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
security
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.