Turn an RSA source finding into an owned review task

THE SHORT ANSWER
Follow a synthetic Python RSA example from a reproducible text match to a review task with a named owner, deployment questions and clear evidence requirements.
Preserve the observation, then ask an owner to confirm its role
Turn an RSA source match into a useful review task by preserving the file and revision, recording what the code actually shows and assigning the deployment questions to a responsible owner. Give the task explicit evidence requirements so the next reviewer can decide what to investigate or plan.
This walkthrough uses a synthetic Python fixture and a local text search. Its purpose is to demonstrate evidence handling. No QCAI repository scan was performed for the example.
1. Start with a small, inspectable observation
Save these four lines as key_setup.py, including the blank second line.
from cryptography.hazmat.primitives.asymmetric import rsa
def make_example_key():
return rsa.generate_private_key(public_exponent=65537, key_size=2048)
Search the file with ripgrep:
rg -n 'rsa\.generate_private_key' key_setup.py
The search returns the call on line 4. The fixture was checked locally on November 12, 2026. This search recognizes that specific text pattern. Different aliases, wrappers or imported key material require additional investigation.
The Python cryptography documentation describes generate_private_key as an RSA private-key generation function. The arguments specify the public exponent and key size. In this fixture, the call is inside a function whose execution is still a separate question. Python cryptography RSA documentation
2. Write down what the evidence supports
An initial record can say that line 4 contains an RSA key-generation call with a key-size argument of 2048. Preserve the relevant file revision and the collection method alongside that statement.
Leave purpose, production use and ownership as open questions until someone supplies supporting evidence. For a real repository, retain a commit identifier and a stable source link. Line numbers can move when a file changes, so include enough context for another reviewer to find the same code.
3. Give the owner a bounded investigation
The following task is an illustrative QCAI working example. Replace its placeholders with the actual system and accountable person.
| Task field | Example review entry |
|---|---|
| Observation | RSA key-generation call at a recorded file revision |
| Owner | Application owner to confirm |
| Questions | Is the function invoked, where is it deployed, and what uses the resulting key? |
| Dependencies | Identify the relevant library, key storage and consuming components |
| Required evidence | Source revision, deployment explanation and references supporting the stated purpose |
| Completion | Reviewer records the evidence, remaining unknowns and agreed next action |
Ask the owner to describe any external verifier, client or supplier involved. When the code is unused example material, record the evidence supporting that conclusion. When it belongs to a deployed flow, connect the investigation to that flow’s inventory and migration planning.
4. Carry confirmed context into the next decision
The NCCoE migration project treats cryptographic discovery as a way to understand where and how cryptography protects systems and data. It also examines how inventories support prioritization and identifies interoperability testing as another workstream. These are useful boundaries when deciding what evidence to request next. NCCoE migration project
Close the review task with a documented outcome, such as a follow-up investigation, a planning item or a recorded explanation of the code’s role. If testing is warranted, define a bounded pilot question with the responsible engineering and security reviewers. Keep assumptions visible as the work moves from source evidence to a reviewed decision.
Go to the source.
- RSA key generation and operations ↗ — Python cryptography
- Migration to Post-Quantum Cryptography ↗ — NIST NCCoE
Make it a team conversation.
Use six questions to organize your planning gaps and share a checklist with your team.
Build a team checklist →