An ESP32-S3 MicroPython hardware password manager that emulates a USB keyboard to enter credentials into target computers. It features voice-activated cryptographic unlock via Deepgram speech-to-text, an encrypted on-chip vault, rotary encoder navigation, an on-demand web portal, and a host relay gateway accessible over Tailscale.
| Peripheral | Signal | ESP32-S3 GPIO | Notes |
|---|---|---|---|
| Rotary Encoder | TRA (Phase A) | GPIO 13 |
Internal Pull-Up |
| TRB (Phase B) | GPIO 14 |
Internal Pull-Up | |
| PSH (Switch) | GPIO 12 |
Internal Pull-Up (Active-Low) | |
| Buttons | CON / KEY1 (OK) | GPIO 11 |
Confirm / Select / Voice Trigger |
| BAK / KEY0 (Back) | GPIO 10 |
Return / Cancel / Stop Webserver | |
| I2S Microphone (ICS-43434) | BCLK (SCK) | GPIO 6 |
Continuous Serial Clock |
| DOUT (SD) | GPIO 7 |
Serial Data from mic | |
| LRCL (WS) | GPIO 15 |
Word Select (Left/Right Clock) | |
| SEL | GPIO 16 |
Channel select (LOW = Left channel) | |
| Display (Emulated & Optional SSD1306) | SDA | GPIO 8 |
Hardware I2C 0 (or console emulation) |
| SCL | GPIO 9 |
Hardware I2C 0 (or console emulation) | |
| USB Interface | USB D- / D+ | GPIO 19 / 20 |
USB CDC Serial & USB HID Keyboard |
+-----------------------------+
| Public Domain / Visitor |
+--------------+--------------+
|
v (Tailscale / Host IP)
+-----------------------------+
| Host Machine Relay Gateway |
| (relay_server/server.py) |
| Tailscale: 100.93.205.66 |
+--------------+--------------+
| [PIN Gate: 5 Digits]
|
+---------------+---------------+
| |
(Direct Wi-Fi Proxy) (USB Serial RPC Bridge)
[Fallback if LAN open] [Auto-Bypass AP Isolation]
| |
+---------------+---------------+
|
v
+-----------------------------+
| ESP32-S3 Embedded Server |
| IP: 10.143.34.7 (Port 80) |
| (Vault & Wi-Fi Config) |
+-----------------------------+
[Microphone] ---> [Deepgram STT] ---> [Passphrase SHA-256] ---> [AES-256 Vault Decrypt]
|
v
[USB HID Keyboard Auto-Typer]
- The device boots MicroPython and automatically executes main.py.
- By default, it connects to
NinerWiFi-Guest(or saved network inwifi_config.json). - If no physical OLED is connected, the UI is automatically rendered in ASCII box frames directly to the console (
/dev/ttyACM0).
- While the device is in the
LOCKEDstate:- Press CON / KEY1 (
GPIO 11) or the encoder push button (GPIO 12). - Speak your 5-word passphrase clearly into the microphone during the 3.5-second capture window (a live VU meter will display on console).
- The ESP32 sends the 16kHz linear PCM audio to Deepgram over HTTPS.
- The returned transcript is normalized and used to derive the AES-256 decryption key.
- First-time setup: The first passphrase you speak will initialize and lock the vault to that phrase!
- Press CON / KEY1 (
- Once unlocked, rotate the rotary encoder to scroll through your saved credentials.
- Press CON / KEY1 to select an account.
- The device will type the stored password into the computer connected over USB via the standard USB HID keyboard interface.
- From the unlocked device menu, rotate to
[ Start Web Server ]and press OK. - The ESP32 starts its local HTTP server and displays a random 5-digit PIN (e.g.
48192). - Launch the host relay server on this machine:
./relay_server/run_relay.sh
- Visitors connecting to your domain or Tailscale endpoint:
will see the secure Foss49Key PIN gate.
http://100.93.205.66:8080 - Entering the 5-digit PIN immediately opens the full management portal where you can:
- View, copy, add, and delete password vault entries.
- Scan for Wi-Fi networks and change Wi-Fi credentials.
- Lock the device remotely.