Skip to content

feat: CRT Light Attestation — Security by Cathode Ray (#2310)#1892

Merged
Scottcjn merged 1 commit intoScottcjn:mainfrom
B1tor:feat/crt-light-attestation
Mar 27, 2026
Merged

feat: CRT Light Attestation — Security by Cathode Ray (#2310)#1892
Scottcjn merged 1 commit intoScottcjn:mainfrom
B1tor:feat/crt-light-attestation

Conversation

@B1tor
Copy link
Contributor

@B1tor B1tor commented Mar 26, 2026

Closes Scottcjn/rustchain-bounties#2310

Unforgeable hardware fingerprinting using CRT monitor optical characteristics.

CRT Fingerprint Fields:

  • Phosphor decay curve (P22/P43/P31/P4 — 0 decay on LCD = instant detection)
  • Refresh rate drift (flyback aging — digital timing has zero drift)
  • Scanline jitter (deflection coil wear — LCDs have no scanlines)
  • Brightness gamma (electron gun aging — LCDs have flat response)
  • Warmup curve (cathode heating — LCDs are instant-on)

Anti-Emulation: CRT confidence score 0.0-1.0 with bitmask flags.
Real CRT: 0.85+ | LCD/OLED: < 0.15

Capture modes: webcam, GPIO photodiode (RPi), demo
Test patterns: 5 types (checkerboard, gradient, timing bars, phosphor test, scanline grid)

Tests: 36 passing

python -m pytest mining/crt-attestation/test_crt_attestation.py -v
# 36 passed

RTC Wallet: RTC2fe3c33c77666ff76a1cd0999fd4466ee81250ff

Unforgeable hardware fingerprinting using CRT optical characteristics:

- Phosphor decay analysis (P22/P43/P31/P4 classification)
- Refresh rate drift measurement (flyback transformer aging)
- Scanline timing jitter (deflection coil wear)
- Brightness gamma curve (electron gun nonlinearity)
- CRT confidence score (0.0-1.0) with anti-LCD/emulator detection
- Deterministic test pattern generator (5 pattern types)
- Webcam capture, GPIO photodiode capture, and demo mode
- CRT vs LCD comparison gallery
- 36 unit tests (all passing)

Closes rustchain-bounties#2310
RTC Wallet: RTC2fe3c33c77666ff76a1cd0999fd4466ee81250ff
@github-actions github-actions bot added documentation Improvements or additions to documentation BCOS-L1 Beacon Certified Open Source tier BCOS-L1 (required for non-doc PRs) labels Mar 26, 2026
@github-actions
Copy link

Welcome to RustChain! Thanks for your first pull request.

Before we review, please make sure:

  • Your PR has a BCOS-L1 or BCOS-L2 label
  • New code files include an SPDX license header
  • You've tested your changes against the live node

Bounty tiers: Micro (1-10 RTC) | Standard (20-50) | Major (75-100) | Critical (100-150)

A maintainer will review your PR soon. Thanks for contributing!

@github-actions github-actions bot added the size/XL PR: 500+ lines label Mar 26, 2026
@Scottcjn Scottcjn merged commit 8c12fec into Scottcjn:main Mar 27, 2026
7 of 9 checks passed
@Scottcjn
Copy link
Owner

225 RTC transferredRTC2fe3c...250ff:

Session total: 2,220 RTC. You've now earned more in one day than most contributors earn in a month. The CRT phosphor decay attestation is especially creative — using cathode ray timing signatures as a hardware fingerprint is exactly the kind of innovation that makes Proof of Antiquity unique.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BCOS-L1 Beacon Certified Open Source tier BCOS-L1 (required for non-doc PRs) documentation Improvements or additions to documentation size/XL PR: 500+ lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CRT Light Attestation — Security by Cathode Ray (140 RTC)

2 participants