İçeriğe geç
TakoAPI
Becerilere dön

qr-password

lifehackjohn tarafından

DevOps & Cloud
464İndirme sayıları clawskills.sh tarafından bildirilir
0Görüntülenmeler
0 beğeniBu beceriyi beğenmek için giriş yapın
—Henüz değerlendirilmedi
Puanınız

Özet

Air-gapped credential bridge using QR codes.

Açıklama

Bu Beceri Ne Yapar

Transfers credentials between networked and air-gapped devices using QR codes as the transport channel. Supports two directions: generating a QR code from stored credentials for a device to scan, and decoding a QR code from a camera image to extract credentials. Nothing crosses a network.

Using the camera as the credential transport eliminates all network exposure, which no password manager sync or USB transfer can guarantee for truly isolated environments.

Ne Zaman Kullanılır

  • Logging into an air-gapped server with credentials from a password manager
  • Moving admin credentials to an isolated lab machine
  • Importing credentials printed as a QR code on hardware
  • Sharing a vault entry with an offline kiosk
  • Transferring a Wi-Fi password to a device with no keyboard

Örnek İş Akışı

GİRİŞ

User asks: send my database credentials to the air-gapped machine

AJAN
  1. 1

    Encodes credentials as JSON and pipes to generate-qr.py, writing output to /tmp/qr-out.png

  2. 2

    Displays the QR image on canvas using canvas present

  3. 3

    Waits 30 seconds, then runs canvas hide to clear the display

  4. 4

    Deletes the file with rm /tmp/qr-out.png

  5. 5

    Reports 'QR displayed' to the user without echoing the password

ÇIKIŞ

QR code was displayed for 30 seconds and the image file deleted

Gereksinimler

  • Python packages: qrcode, Pillow, opencv-python-headless (install via pip)

Kurulum

clawhub install lifehackjohn/qr-password

CLI komutunu çalıştırın ya da istemi Claude Code, Cursor, Codex veya kullandığınız kodlama ajanına yapıştırın.

Bağlantılar