diff --git a/package.json b/package.json index 37b5aee..bf75f68 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nostr_quantum_preparation", - "version": "0.1.6", + "version": "0.1.7", "description": "A migration strategy for bringing post-quantum security to Nostr without breaking the social graph, without requiring consensus on a single post-quantum algorithm, and without forcing existing users to abandon their identities.", "main": "index.js", "scripts": { diff --git a/www/index.html b/www/index.html index 79fbf6f..f23d148 100644 --- a/www/index.html +++ b/www/index.html @@ -162,6 +162,28 @@ word-break: break-word; } + /* Mandatory entropy-collection state for the seed box. While collecting, + the box is an interactive zone (not a word grid): centered prompt, + crosshair cursor, focus outline for keyboard users. Once 64 events are + collected the .pq-seed-collecting class is removed and the box reverts + to the word-grid layout above. */ + .pq-seed-display.pq-seed-collecting { + display: block; + min-height: 120px; + cursor: crosshair; + text-align: center; + } + .pq-seed-display.pq-seed-collecting:focus { + outline: 2px solid var(--accent-color); + outline-offset: 2px; + } + .pq-seed-collect-prompt { + font-size: 14px; + color: var(--primary-color); + line-height: 1.6; + padding: 18px 10px; + } + .pq-seed-word { display: flex; align-items: center; gap: 8px; } .pq-seed-number { color: var(--muted-color); font-size: 12px; min-width: 20px; } @@ -422,7 +444,23 @@ -
+ +
+
+ Move your mouse and/or press random keys inside this box to generate your seed phrase. +
+
+
+
0 / 64
+
+
Verify out-of-band after linking: This seed phrase is your backup — but this browser cannot cryptographically prove the published PQ keys came from it. After completing @@ -430,20 +468,6 @@ independently, and confirm the public keys match the published event. This is the only way to catch a compromised browser that might have substituted attacker keys.
-
- Optional: Add extra entropy by moving your mouse and typing in the box below. - This mixes your input with the browser's random number generator, making the seed unpredictable - even if the browser's RNG is compromised. You can skip this — a seed has already been generated for you above. -
-
- Optional: click here and type random characters, move your mouse to add entropy... -
-
-
-
-
- -