What you can import
Data type | Source format | Notes |
---|---|---|
Site / service name | Plain text (32 bytes max) | Long names automatically scroll on the OLED screen. |
Username | Plain text (32 bytes max) | Trailing @ expands to the host domain when auto-typing. |
Password | Plain text (32 bytes max) | All characters are accepted; stored encrypted in EEPROM. |
TOTP secret | Base32 (RFC 4648) | Optional; stored in a dedicated encrypted page. |
Import methods
1. Local web manager (recommended)
- Connect ZeroKeyUSB and unlock it with your Master PIN.
- Launch the ZeroKeyUSB Web Manager (served locally through the companion utility).
- Open Credentials → Import and choose a
.csv
or.json
file exported previously. - The manager converts every row into serial commands and sends them over the secure CDC channel.
- Confirm the overwrite on the device when prompted (
Hold center to confirm
).
The web manager never stores your credentials in the browser cache. Close the window when you finish importing.
2. Command-line utility
- Unlock the device.
- Run
zerokeyusb-cli import backup.csv
(available in the firmware repository). - The CLI parses the CSV, streams it line-by-line, and verifies acknowledgements.
- Follow the on-screen confirmation prompts on ZeroKeyUSB.
3. Manual serial session
For complete transparency you can interact with the serial port directly:- Send
IMPORT
to place the firmware in import mode. - Paste each CSV row:
slot,site,username,password,totpSecret
. - End the session or send an empty line to finalize.
- Approve the operation on the device.
CSV layout
slot
ranges from0
to63
.totp
is optional; leave blank if no 2FA secret.- Fields containing commas should be quoted.
Conflict handling
- Empty slots are filled immediately.
- Occupied slots require you to hold the center touch pad for three seconds to confirm overwrite.
- If the CSV references a slot outside the 0–63 range, the row is skipped and reported back to the host.
- Invalid Base32 secrets are rejected and leave the slot unchanged.
After importing
- Browse the credential list to verify each entry.
- Optionally trigger Menu → Backup → Export to capture the new state.
- Safely disconnect the device using your operating system’s eject feature.