Mooltipass is an open source offline password keeper that started off at Hackaday as an idea from Mathieu Stephan. I am one of the few lucky beta-testers and as such I would like to explain in this guide how to compile and flash its firmware from source. This guide is written for Mac OSX 10.9.
1. First of all: I DO NOT TAKE RESPONSIBILITY IF YOUR MOOLTIPASS AND/OR DVD PLAYER EXPLODES AND/OR YOUR WIFE DUMPS YOU! FOLLOW THIS GUIDE AT YOUR OWN RISK, IT REPRESENTS THE UNOFFICIAL VIEW OF THE VOICES IN MY HEAD.
2. Second, get the required tools. If you don’t already have MacPorts, download and install it from their website.
3. Once this is done, install
dfu-programmer from MacPorts. Just a note: I already had xcode installed on my mac, so this did it for me. If you install all of these tools and still have problems at compiling, try installing the Command Line Tools.
sudo port install git binutils gcc48 avr-gcc avr-libc dfu-programmer
4. Get the latest source code from github:
git clone https://github.com/limpkin/mooltipass.git
5. Define that you are a beta-tester ;) and compile the source code:
sed -i "" "s/XXXXXXX/BETATESTERS_SETUP/" src/defines.h
6. Set your mooltipass in DFU mode:
- Disconnect your mooltipass (if connected).
- Insert your smartcard upside down, with the chip-side up.
- Connect your mooltipass.
7. Flash your newly compiled firmware:
sudo dfu-programmer atmega32u4 erase
sudo dfu-programmer atmega32u4 flash mooltipass.hex
8. Disconnect your mooltipass, remove the smartcard, connect your mooltipass and insert the smart card.