openssl / openssl/openssl

A method for duplicating library context

Open
#24,637 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

triaged: feature
Dominant language
C
Stars
30.8k
Forks
11.5k
Avg merge
10m
Merged PRs (30d)
1

Description

Hi all

I think it will be really useful to have a method for duplicating library context.
For example you create a base library context, then duplicate it and load additional provider in the duplicated one. Somehow similar to how OSSL_LIB_CTX_new_child works, for non-provider developers. This one cannot be used directly at least because of its arguments.

Best Regards

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 reviewing the existing OSSL_LIB_CTX_new_child behavior and its arguments. Determine the public API needed to duplicate a base library context for non-provider developers and load an additional provider in the duplicate. Done means the proposed method's scope, arguments, and provider-loading behavior are defined and covered by appropriate tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
cryptography
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.