Working notes kept for the project's own use. Section and decision labels refer to the membership criteria.
Gotchas and findings
Reasoning traps already identified in the source notes, mostly from
06_research_agenda.md "Refinements to earlier discussion". Append new ones as
they are found.
Traps
- Short value is not low entropy. Minimal bit length 3 says nothing about how many random bits the generator used. Say "high self-information under uniform selection"; reserve entropy for the distribution.
- Starting a search at zero is fine, until structure exists. For equal-cost guessing over a uniform space, every size-\(m\) subset has mass \(m/N\). ECC changes this only through structure (interval DLP), not because small numbers are special; that \(4G\) is cheap to compute is not the reason (classification G11).
- Equal prior mass is not equal outcome. Uniform sampling gives each key the same probability, but the realized key that an attacker tries early is still exposed to that attacker. B1 is real operational risk without being a defect, and it is not C2 until someone actually holds the key.
- Small known subsets are not automatically weak. In DLP, arbitrary sets do not admit square-root recovery; only efficiently specified ones like intervals do. Say whether membership is known, inferred, or only tested.
- Arbitrary subsets can be "weak" for some primitives. For polynomial MACs almost every key subset is a weak-key class under forgery [R24], and
taxonomy/classification.mdadmits them as A1[forge] via Route 2. Never report such a membership without \(\kappa\) and class mass; on its own it does not distinguish the key from any other. - Random self-reducibility is about averages. It does not prove every individual DLP instance is equally hard.
- Relabeling must preserve the domain. Shifting ECC scalars modulo the group order hits the invalid zero label; account for map and inverse costs too.
- DES is history; AES weak-key distinguishers are reduced-round. Neither generalizes to "all-zero AES key is weak". Always attach objective and model.
- Blocklist match is one finding. It does not measure entropy or establish root cause. No match proves neither good generation nor absence of weakness. A generator that repeats an unknown constant passes any finite blocklist.
- Removing labels does not help uniform guessing. Deleting \(m\) arbitrary keys lowers entropy to \(\log_2(N-m)\) and buys nothing in the equal-cost model. Removing known vulnerable or compromised keys is different.
- Rivest-Silverman cost constants. Their partial brute-force example uses a simplified per-target cost. Counting failed searches changes the constant, not the absence of asymptotic advantage for independent targets (
02_formal_models.md§3). - Costs are best known, not lower bounds. Baselines and "no attack beats listing the subset" rest on current classical algorithms; \(\sqrt n\) for DLP is proven only for generic algorithms [R35]. Never write that a key or subset cannot be attacked faster; write that no faster attack is known (classification I.1).
- A precomputed table is not structure. Counting only online time makes a lookup table over a declared subset look like \(\rho\approx M\). Counting its cost is not enough either: over many targets the table still beats listing afresh, for any set (E4). The fix is the matched baseline: give enumeration the same table.
- \(\kappa\approx1\) clears no key. \(\kappa\) belongs to the stated relation. In E5, 16 keys equal to a public permutation sit inside a one-point class with \(\kappa\approx1.06\), indistinguishable from 1 at \(2^{16}\) keys; the two-point relation gives 16, the full relation \(2^{1672}\). Always state the strongest relation, and never read a low \(\kappa\) as a statement about the keys.
- \(\rho\) is for a stated number of targets. With a shared table over \(u\) targets, cost per success falls as \(1/u\) for an arbitrary set and as \(1/\sqrt u\) for an interval, so the interval's advantage shrinks to about 1 at \(u\approx M\) (E8). Unstated, \(\rho\) is for \(u=1\) with no precomputation; state both when they differ.
- A likelihood ratio needs its alternative. The same matching key gives ratios from 16 to 59,000 in E9 depending on the defect model. Post-hoc patterns with nominal chance \(10^{-4}\) appear in every uniform scan of 1000 keys.
- B2 does not mean a faulty random generator. Copying a published key and choosing a small RSA exponent on purpose are B2 with the cause stated (D18). Independent raters read I.4 that way before the examples did (E10).
- Public nonces are not secrets. B2 needs a secret with a required \(\lambda\). An AEAD nonce only has to be unique; its reuse makes the key C1 (cross-execution), never B2. A repeated ECDSA nonce is B2 even when a design caused it (D22).
- B1 needs a named strategy. Some order reaches every key early. Record B1 only for a strategy the report names (D19).
- \(\rho\) for intervals peaks, it does not plateau. It grows as \(\sqrt M\) up to \(M\approx\sqrt n\), then falls as \(\sqrt{n/M}\) to 1 at \(M=n\) (E3). An earlier draft said no subset-specific gain is possible above the cap; that was wrong.
- A public key always determines its private key. \(P_{\rm guess}(K\mid\text{public key})=1\) for every correct key. B2 is judged from information about the generating process, never from the key's own public data (I.4, D12).
- Conditioning can fake a weak-key class. In an ideal cipher the keys with \(E_k(x)=y\) are distinguishable once you condition on them. Route 2 needs a stated excess prevalence against the ideal counterpart (I.3, D25).
- Unknown cause is not "the generator". The eMudhra evidence rejects independent uniform generation; it does not separate a generator fault from a provisioning error, test values or deliberate choice.
- The hard-coded attacker. Instance-level "weakness" is trivial if the attacker may be chosen after seeing the key. Any formal definition must restrict advice (
02_formal_models.md§8). - A strict \(\kappa>1\) is passed by half of all ideal families. Finite families fluctuate; require a stated excess beyond that fluctuation (D25,
experiments/e11.md). - Class and disposition are separate. A guess that found the key is B1 and is still treated as compromised (rule 2, D26). Never invent a structural or generation finding to justify replacing a key.
- Relabeling preserves the attack; the ratio changes. \(\rho'=(B+c)/(t+c)\); never write that \(\rho\) is invariant (
experiments/e12.md). - Test cost against listing cost is not a \(\rho\). For \(2^{32}\) involution keys, 2 queries against \(2^{31}\) trials looks like \(\rho\approx2^{30}\); it compares a distinguisher with a recovery baseline. \(\rho\) is for recovery only (D28).
- A cheap membership test does not by itself make a class population-competitive. Filter-then-list costs about \(qN/M+M/2\) per success, but the matched multi-target generic attack costs about \(N/u\) with \(u=N/M\) targets, the same order (inferred; not measured). Check the multi-target baseline before claiming a gain (E8).
- An involution key is
distorconfdepending on the mode. In output feedback mode \(E_k(E_k(IV))=IV\) exposes every second keystream block. Never fix the objective without the setting of use (D27). - A published proof is not a demonstrated finding. It supports credible; demonstrated needs the effect on this key (D29).
Findings
eMudhra d=4 (P-384 issuing keys)
- Observed: CA issuing keys with byte-sized private scalars, found by paranoid_crypto's small-scalar check [R1, R3].
- Verified: scalar values, discovery pathway, later badkeys blocklist addition [R1, R2].
- Not established: generator root cause, independence of samples, historical misuse.
- Takeaway: detection that recovers a scalar shows loss of secrecy to the detector (C2, party detector) and membership in A2 and B1; B2 stays at
credible(evidence scale,taxonomy/classification.mdII.1) until the process is known. This case is why the report schema separates finding, generation, and compromise.