← 返回
开发者工具

QR Password

Transfer credentials securely between networked and air-gapped devices using QR codes without exposing passwords or storing data persistently.
利用二维码在联网与离线设备间安全传输凭证,全程不泄露密码且不持久存储数据。
lifehackjohn
开发者工具 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 1,216
下载
💾 24
安装
1
版本
#latest

概述

QR Password — Air-Gapped Credential Bridge

Bidirectional credential transfer using QR codes as an optical channel. No secret touches a network.

Security Rules (MANDATORY)

  • Never log credentials to chat history or memory files
  • Redact passwords from all conversation output — show ** instead
  • Auto-clear canvas display after 30 seconds using timed canvas hide
  • QR images are ephemeral — delete after use with rm
  • Never store decoded credentials in any file

Mode A: Vault → QR (Outbound)

Generate a QR code from a credential for an air-gapped device to scan.

echo '{"username":"USER","password":"PASS","domain":"DOMAIN"}' | \
  python3 skills/qr-password/scripts/generate-qr.py /tmp/qr-out.png

Then display via canvas and auto-clear:

canvas present /tmp/qr-out.png
# Wait 30s
canvas hide
rm /tmp/qr-out.png

When reporting to user, say "QR displayed" — never echo the password.

Mode B: Camera → Credential (Inbound)

Read a QR code from a camera image to extract credentials.

  1. Capture image: nodes camera_snap (or accept user-provided image)
  2. Decode:
python3 skills/qr-password/scripts/read-qr.py /path/to/image.png
  1. Output is JSON: {"username":"...","password":"...","domain":"..."}
  2. Use the credential (fill, copy, deliver) — never echo password to chat
  3. Delete the image: rm /path/to/image.png

Offline QR Generator

For air-gapped devices, provide assets/qr-generator.html — a standalone offline HTML page that generates QR codes locally in-browser. No network required.

Dependencies

Python 3 with: qrcode, Pillow, opencv-python-headless

Install: python3 -m pip install --user qrcode Pillow opencv-python-headless

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 06:35 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 68 📥 180,189
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 668 📥 324,172
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,801