Skip to the content
2 layers17.1 × 37.8 mmUsba connector, the printed circuit board in 3D

Usba connector

gfoudree/TOTPVault

A secure hardware vault for storing TOTP codes for two-factor authentication

Size
17.1 × 37.8 mm
Copper layers
2
Thickness
1.6 mm
Parts
33
Nets
43
Pads
138
Tracks, vias
258, 53
Pours
2
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
15 Jan 2026
Updated
22 Jun 2026

Overview

Usba connector is an open-source printed circuit board by gfoudree, from the gfoudree/TOTPVault repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 17.1 × 37.8 mm with 33 parts on 43 nets, routed with 258 tracks and 53 vias.

It is built around the ESP32-C3, CH343P and USBLC6-2SC6, with the KT-0603R among its other parts. Its parts include 15 capacitors, 4 resistors, 4 ICs, 2 diodes and 2 switches. It belongs with the ESP32 and RISC-V boards of this library.

Main components

4

README

README.md

TOTPVault

TOTPVault is a secure hardware vault for storing TOTP codes for two-factor authentication. It is compatible with websites and applications which support authenticators such as Google Authenticator or Authy.

TOTPVault uses an RISC-V ESP32-C3 microcontroller to perform cryptographic operations and storage/generation of TOTP codes with a separate chip to run an isolated USB stack.

Demo

demo

Features

  • Support for up to 64 credentials
  • Cross platform, no drivers needed for Linux/MacOS
  • Open source firmware, software, and hardware!

Security Features (summary)

  • TOTP secrets stored with AES256, decryption key derived from vault password via PBKDF2
  • Trusted firmware via secure boot with attestation available
  • ESP32-C3 HW RNG used for cryptographic operations
  • USB stack isolated to separate chip to minimize attack surface
  • Hardware locked down (JTAG disabled, eFuses set, etc)

System Architecture

System Architecture

Installation

First, clone the repository and build the totpvault-cli tool and build it:

bash
git clone https://github.com/gfoudree/totpvault
cd totpvault/totpvault-cli
cargo build -r

The CLI program will be located at: target/release/totpvault-cli

Documentation

Documentation

FAQ

Why choose ESP32-C3 for the microcontroller?

The ESP32 chips have strong hardware security features such as HWRNG, encryption/hashing support, secure boot, and encrypted flash.

Other chips have some or all of these features, however the ESP32-C3 is PSA-L1 certified, has good support for Rust firmware, and is affordable.

The ESP32 has Wifi/Bluetooth, does this device use either?

No, there is no antenna on the board and the Wifi/Bluetooth stack is disabled in the firmware.

If somebody steals my device, can they generate TOTP codes for my accounts?

No, as long as your password is strong they cannot unlock the vault and generate codes.

Authors

License

GNU GPLv3

Parts

33
QtyValueFootprintReferences
61uFPCM_JLCPCB:C_0402C3, C5, C8, C10, C12, C14
3100nFPCM_JLCPCB:C_0402C7, C11, C13
310uFPCM_JLCPCB:C_0402C4, C6, C15
3TestPoint_ProbeTestPoint:TestPoint_Pad_D1.0mmTP1, TP2, TP3
210kPCM_JLCPCB:R_0402R3, R4
220pFPCM_JLCPCB:C_0402C1, C2
2400PCM_JLCPCB:R_0402R1, R2
2KT-0603RPCM_JLCPCB:D_0603D1, D2
110nFPCM_JLCPCB:C_0402C9
1CH343PCustom:CH343PU3
1Conn_01x05_SocketConnector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ3
1Crystal_GND24Crystal:Crystal_SMD_3225-4Pin_3.2x2.5mmY1
1DFU Tactile Button, 160gfPCM_JLCPCB:SW_TS-1088-AR02016S1
1ESP32-C3Package_DFN_QFN:QFN-32-1EP_5x5mm_P0.5mm_EP3.45x3.45mmU1
1HT75xx-1-SOT89PCM_JLCPCB:SOT-89-3_L4.5-W2.5-P1.50-LS4.2-BRU2
1Reset Tactile Button, 160gfPCM_JLCPCB:SW_TS-1088-AR02016S2
1USBLC6-2SC6Package_TO_SOT_SMD:SOT-23-6U4
1~Connector_USB:USB_A_Molex_48037-2200_HorizontalX1

More from gfoudree/TOTPVault

1
  • 2 layers15 × 40 mmTotpvault hardware, the printed circuit board in 3D

    Totpvault hardware

    gfoudree/TOTPVault

    A secure hardware vault for storing TOTP codes for two-factor authentication

    29 partsGPL-3.0

Similar boards

  • 2 layers40 × 89.5 mmMono, the printed circuit board in 3D

    Mono

    jmcpheron/pico-quorum

    Several people, several keys, one Safe. Hardware approvals for Safe multisig wallets.

    89 partsMIT
  • 6 layers43.6 × 43 mmVENDETTAFC, the printed circuit board in 3D

    VENDETTAFC

    Caped-Crussader/VENDETTAFC

    A fully open-source, custom-designed 4-in-1 ESC and F7 Flight Controller stack for FPV multirotors, designed from scratch in KiCad.

    191 parts31CERN-OHL-S-2.0
  • 2 layers68.6 × 25.4 mmUINIO MCU ESP32C3, the printed circuit board in 3D

    UINIO MCU ESP32C3

    uinika/UINIO-MCU-ESP32C3

    the Evaluation Board base on ESP32-C3 with RISC-V.

    50 parts8
  • 6 layers100 × 120 mmAstra piNas, the printed circuit board in 3D

    Astra piNas

    jlcjak/astra_piNas

    Six-layer CM5 Lite dual-NVMe carrier with PCIe switch, Ethernet, microSD, USB-C PD and PoE. Review design; fabrication hold documented.

    176 parts30
  • 2 layers30 × 25 mmPblprog sifli board, the printed circuit board in 3D

    Pblprog sifli board

    coredevices/pblprog-sifli

    Pebble Programmer for SiFli boards

    28 parts2MIT
  • 2 layersUsbtoser hw, the printed circuit board in 3D

    Usbtoser hw

    WojtaCZ/usbtouart-hw

    Quick and easy USB to UART converter based on the CH340P

    28 parts
  • 2 layers40 × 20 mmUsb uart, the printed circuit board in 3D

    Usb uart

    earthtojake/text-to-cad

    Design physical products with AI

    13 parts26kMIT
  • 2 layers85 × 55 mmSystem on a business card, the printed circuit board in 3D

    System on a business card

    epsilon-0311/system-on-a-business-card

    A miniature system that is also a business card

    105 parts10GPL-3.0

Questions

How big is the Usba connector PCB?

It measures 17.1 × 37.8 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Usba connector use?

33 parts, built around the ESP32-C3, CH343P, USBLC6-2SC6 and KT-0603R. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Usba connector KiCad files?

From the gfoudree/TOTPVault repository on GitHub, at the commit this page was made from: the board is totpvault-hardware/usba-connector/usba-connector.kicad_pcb and its schematic totpvault-hardware/usba-connector/usba-connector.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Usba connector design in my own project?

Its repository publishes it under the GPL-3.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).