Summary of Pastilda: Open-source Hardware Password Manager
Pastilda is an open-source hardware password manager that acts as an intermediary between your computer and keyboard to securely manage and autofill passwords. It features two USB ports—one connects to your keyboard, the other to your PC—making the computer recognize it as both a USB keyboard and flash drive. It stores an encrypted KeePass database and allows secure password entry via a special key combination. Users can authenticate with a master password, browse stored entries, and autofill login credentials safely without exposing the real keyboard directly to the PC.
Parts used in the Pastilda project:
- Microcontroller (for USB keyboard and flash drive emulation)
- Two USB ports (one for keyboard input, one for PC connection)
- Internal memory/storage (to store encrypted KeePass database and app)
- Firmware supporting KeePass 2.x database handling
- Physical keyboard (external, connected through Pastilda)
Open source hardware password manager
Pastilda is an open-source hardware password manager, designed to manage your credentials in a handy and secure way.
Pastilda works as a middleman between your computer and keyboard. It provides easy and safe auto-login to your OS, bank accounts, mailboxes, corporate network or social media. Pastilda stores encrypted passwords in its memory. You can request a particular password at any time by pressing a special key combination on your keyboard.
Pastilda has two USB ports: one for your keyboard, one to connect to your PC. Your OS will recognize Pastilda as a USB keyboard and a USB flash drive.
The flash drive component stores the encrypted KeePass 2.x database (.kdbx file) and the KeePass 2.x portable app as needed. Your real keyboard is now visible only to Pastilda, your PC won’t see it at all.
In normal working mode, all keystrokes from your keyboard are passed through Pastilda to your PC unchanged.
When you need to sign into an account, you switch to “Pastilda mode”. That’s done by placing your cursor inside the login text box and pressing the “Ctrl + ~” key combination. Pastilda will then ask you to enter the master password for your KeePass database, right in the current text box.
If the password is entered correctly, Pastilda will decrypt and display your database. You can navigate through it with left, right, up, and down arrows or you can just start to input the name of the entry in your database and Pastilda will display matching variants. Once you find the entry you’re looking for, press Enter and Pastilda will automatically enter the corresponding login and password.
If the password is incorrect, Pastilda gives you the option to try again or go back to regular mode by pressing the Esc key on your keyboard.