KeyGuard / README.md
SeaWolf-AI's picture
Describe the 10 minute certificate cache
7f6fccf verified
|
Raw History Blame Contribute Delete
2.14 kB
metadata
title: KeyGuard
emoji: ๐Ÿ”
colorFrom: indigo
colorTo: blue
sdk: static
app_file: index.html
pinned: true
license: mit
short_description: In-browser RSA public-key self-check. KO/EN/ZH.

๐Ÿ” KeyGuard โ€” RSA Public-Key Self-Check / ๊ณต๊ฐœํ‚ค ์ž๊ฐ€์ง„๋‹จ

EN: Is your device's crypto key a factory defect? Check in 30 seconds โ€” 100% in your browser, keys never leave your device. KO: ๋‚ด ์žฅ๋น„ ์•”ํ˜ธํ‚ค, ํ˜น์‹œ ๋ถˆ๋Ÿ‰ํ’ˆ? 30์ดˆ ์ž๊ฐ€์ง„๋‹จ โ€” 100% ๋ธŒ๋ผ์šฐ์ € ์•ˆ์—์„œ, ํ‚ค๋Š” ์ „์†ก๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ไธญ: ไฝ ่ฎพๅค‡็š„ๅŠ ๅฏ†ๅฏ†้’ฅไผšไธไผšๆ˜ฏๆฌกๅ“๏ผŸ30 ็ง’่‡ชๆฃ€ โ€” 100% ๅœจๆต่งˆๅ™จๅ†…๏ผŒๅฏ†้’ฅ็ปไธๅค–ไผ ใ€‚

Auto-detects browser language and offers Korean / English / Chinese buttons.

What it checks / ๋ฌด์—‡์„ ๊ฒ€์‚ฌํ•˜๋‚˜ / ๆฃ€ๆต‹ไป€ไนˆ

๐Ÿ”— Shared prime (batch-GCD) Devices reusing a prime โ†’ both private keys recoverable
๐Ÿค Close primes (Fermat) Primes too close โ†’ factors instantly even at 2048-bit
๐Ÿงฌ ROCA (CVE-2017-15361) Vulnerable key pattern from certain faulty chips
๐Ÿ“ Short / weak keys โ‰ค768-bit factorable, <2048 replace, bad exponent

Privacy / ๊ฐœ์ธ์ •๋ณด

  • Self-check (paste or open a file): 100% client-side. No key is stored or sent to any server.
  • Address check: KeyGuard API connects to port 443 of the address you enter and returns its public certificate. The verdict is computed in your browser. Nothing is logged. The public certificate stays in memory for 10 minutes.
  • Local collector: local/keyguard-local-v2.ps1 (Windows) and local/keyguard-local-v2.py (macOS, Linux) check the public keys inside your own private network and print the verdict. No login attempts, no upload.
  • Recovered private keys are never shown. Only the fact that a key is recoverable is shown.
  • Use only on devices you own or are authorized to test. Follows Responsible Disclosure.

Verified / ๊ฒ€์ฆ

  • 10/10 planted weak keys detected (0 false positives); validated at scale on 350K+ real public keys from Certificate Transparency logs.