Skip to content

Add TRNG source indicator to GUI status panel#104

Open
emolionl wants to merge 3 commits intoisuretpolos:masterfrom
emolionl:feature/infinite-noise-trng
Open

Add TRNG source indicator to GUI status panel#104
emolionl wants to merge 3 commits intoisuretpolos:masterfrom
emolionl:feature/infinite-noise-trng

Conversation

@emolionl
Copy link
Copy Markdown
Contributor

Summary

  • Adds a status LED in the bottom-left panel showing the current TRNG source
  • Green LED + "INFINITE NOISE TRNG" when hardware device is connected and running
  • Gray LED + "CACHED HOTBITS" when using cached hotbit files
  • Gray LED + "PSEUDO RANDOM" when falling back to SecureRandom
  • Fix startGui.bat to run JAR from target/ folder
  • Fix PJOGL icon crash when running from JAR

Test plan

  • Compiles and packages successfully
  • Verify LED shows green when Infinite Noise TRNG is connected
  • Verify LED shows gray with correct source label when device is not connected

🤖 Generated with Claude Code

emolionl and others added 3 commits March 18, 2026 10:44
Show a status LED in the bottom-left panel that displays the current
TRNG source: "INFINITE NOISE TRNG" (green) when hardware device is
connected, "CACHED HOTBITS" or "PSEUDO RANDOM" (gray) as fallback.
Also fix startGui.bat to run JAR from target/ folder and fix PJOGL
icon crash when running from JAR.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Integrate the TrueRNG Pro v2.0 USB hardware TRNG as an additional
hotbits source alongside the Infinite Noise TRNG. The device is a
USB CDC serial device that streams whitened random bytes when DTR
is asserted. Auto-detects by USB VID:PID (04D8:EBB5) on startup
and falls back gracefully when not connected. GUI status indicator
shows "TRUERNG PRO" when device is active.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant