openssl / openssl/openssl

TRACE feature records key material

Open
#26,283 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

branch: 3.0 branch: 3.1 branch: 3.2 branch: 3.3 branch: 3.4 branch: master triaged: bug
Dominant language
C
Stars
30.8k
Forks
11.5k
Avg merge
10m
Merged PRs (30d)
1

Description

It looks like the tracing facility can report key material: https://github.com/openssl/openssl/blob/master/crypto/pkcs12/p12_key.c#L111-L128

While the feature is disabled by default, there is no documentation (that I could find) that warns about this.

It is also not clear if a rogue library (as described in #26282) could enable such logging to a target under its own control.

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 crypto/pkcs12/p12_key.c lines 111-128 and inspect the tracing documentation for warnings about key material. Review issue #26282 while determining whether a rogue library can enable this logging; done means the behavior and risk are documented clearly, including any relevant configuration limits.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
cryptography, security
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.