Перейти к содержимому
TakoAPI
Назад к навыкам

qr-password

от lifehackjohn

DevOps & Cloud
464Число загрузок по данным clawskills.sh
0Просмотры
0 лайковВойдите, чтобы поставить лайк навыку
—Ещё нет оценок
Ваша оценка

Кратко

Air-gapped credential bridge using QR codes.

Описание

Что делает этот навык

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.

Когда его использовать

  • 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

Пример сценария

ВВОД

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

АГЕНТ
  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

ВЫВОД

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

Требования

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

Установка

clawhub install lifehackjohn/qr-password

Выполните команду CLI или вставьте промпт в Claude Code, Cursor, Codex — любой кодинг-агент, которым пользуетесь.

Ссылки