Data security is of the utmost importance for the modern spy! To keep your logins buttoned up tight, you can build a small, personal password vault and use it to enter up to three passwords for you when connected to a computer at the touch of a capacitive pad on the Gemma M0.
Long, random passwords -- such as eF@V3p%2R*qhw8
are great because they're so secure when compared to simple ones such as Pencil
or 12345
, but can be difficult to remember and to type. Increase your password security by using a long, random string of numbers, letters, and symbols instead of some insecure, easy to remember word. Your Password Vault will remember it for you!
Keep your Gemma M0 Password Vault with you at all times, and then simply plug it into your computer with a USB cable, and touch a capacitive touch pad to auto-type your password, then press Enter on your keyboard.
Code it with CircuitPython
Follow this guide https://learn.adafruit.com/adafruit-gemma-m0/circuitpython to get started with coding the Gemma M0 in CircuitPython. Install the latest release version of CircuitPython on the board. You may also want to install the Mu editor https://learn.adafruit.com/adafruit-gemma-m0/installing-mu-editor for your coding needs.
Once you can successfully code in Mu and upload to the board, return here.
Here's the code for the Password Vault -- to use it on your Gemma M0 copy it, paste it into Mu, and then save the file as main.py, and then drag it onto the CIRCUITPY drive that shows up when the Gemma M0 is plugged in.
The Gemma M0 can act like a USB HID keyboard, so it’s great for sending key commands. Using the layout.write()
command we can have it enter long strings of text, numbers, and punctuation for us!
You'll want to change the three passwords in the code to match your own passwords -- just look for the lines that have the comments # enter your own password here
and change the text inside the parenthesis and quotes.
Temporarily unable to load content:
If you'd like to build a more elaborate version of the Password Vault using a Circuit Playground Express or Circuit Playground Classic, that requires an unlock code to use, check out this guide, the Circuit Playground Password Vault!
Page last edited January 22, 2025
Text editor powered by tinymce.