• hardpass-SCI: PCB arrived!

    gir08/25/2017 at 20:49 8 comments

    I'm still waiting on one. single. capacitor. (-.-), but at least I can have a look at the PCBs. I tried a different manufacturer (easyeda.com, 8€-something for 10, delivered!) just to spice things up.

    As you can see, all the traces fit on one side - so I decided to have some fun with the back side and put the GNU logo there (that's a pre-defined foot print in KiCad - go figure)

    1) yes, soldering is atrocious. I still haven't bought a good soldering iron. 2) yes, I missed a trace and bodged some magnet wire in.

    It really shows the scale - even the sim card looks huge! here it is  on top of the smart card that will go in hardpass-SCI.

    As of yet, I am still waiting for C13, as evident in the pictures above. So I haven't been able to test my circuit yet.

    Here I've stacked up hardpass 0.2.2, a Raspberry Pi Zero-W, and hardpass-SCI 0.2.3. As you can see, there is still some air, but I measured the thickness to be 12mm to the top side of the top PCB. I recon I can get it a bit thinner still. Right now, the buttons are the thickest part I can trim down relatively easily, so the current ones will probably have to go in a future revision.

    Another angle. hardpass-SCI sits so close to the Pi i am a little worried about shorting out the test pads on it. Nothing a little kapton tape can't solve ;)

    Next steps: 

    * get the hardware finished
    * work on the UI (passwordstore has evolved a lot as well)
    * design a case: 3d print? laser cut? wood? sheet metal?

  • Progress! Yay!

    gir07/22/2017 at 20:33 0 comments

    So I've been stumped by doing the OLED implementation myself. I couldn't get the screen to reset with the RC circuit, so I finally replaced it with the APX803 circuit, Adafruit used in this schematic.

    I really need to get myself access to an oscilloscope :|

    For now, I'm using the hacked together PCB you see below, but new ones are ordered. (my iron was way to hot for the flatflex, i know...)

    Next step: hardpass-scm - the smart card interface.

  • Images of the new PCB

    gir05/01/2017 at 13:03 0 comments

    I posted them in the new project page for the hackaday prize

    already, but for completeness, there they are again.

    the new board does not use the OLED breakout board, but instead has all the circuitry on board. the schematic I used is from adafruit's break out, and is linked in the project's github.

  • New Page for Smart Card Interface

    gir04/16/2017 at 12:52 0 comments

    I've created a new project for the Smart Card Interface PCB. Check it out!

    also, I've created a home page for my stuff, and hardpass is the first thing I started to document there. >> gir.st/hardpass.htm <<

  • They see me feature creepin', they hatin'

    gir03/14/2017 at 21:13 0 comments

    So I might add proper ISO7816 smart card support to this thing now.

    My reasoning is that if you were to lose your hardpass, the attacker won't be able to get hold of the (encrypted) private key. And since GnuPG Cards are supported by gpg (duh) and therefore pass, I don't have to implement my own crypto (which is basically the motto for this whole project).

    There is a relatively old chip, the Philips/NXP TDA8029, that should be well suited to translate between the card's protocol and serial data. Someone has also written a driver for a reader based on that chip, and I hope I can adapt that one.

    The SIM holder can easily obtained from AliExpress by searching for "samsung i9000 sim", and is originally from linkconn.

    I managed to not use the backside of that PCB (which shouldn't really be an achievement to more professional designers), so I might fill that up with logos and text :D

    The Smartcard I plan on using is the GNUPG card, and kernelconcepts.de sells one that has standard SIM size breakout tabs. (ordered already, but still in shipping **EDIT**: they came! man, a SIM card is huge compared to a Pi 0)

    The board is already in the master branch of the github project.

    **EDIT**: Now with primitive 3D model (FreeCAD). Yes, a standard SIM card is really that big compared to a Pi Zero.

    Once I'll get my old boards from @oshpark and getting comfortable with smart cards in general, I'll continue working on this board.


    gir01/31/2017 at 19:51 0 comments

    Thanks to the ZeroPhone I was motivated to take some time and solder a board together.

    It works! Now, I should take some more of my time to write some more software...

    (please excuse the awful soldering job - I was out of flux and couldn't be bothered to order some)

    The front. I managed to squeze the ESP completely under the PCB in the `30pin` branch of the git repository.

    Since I don't want to sacrifice a Pi for each generation of the hardware, I opted to a header. The height is still tolerable even with the header and makes it about the size and thickness of a typical car keyfob.

    Without said header, the thickness can be reduced to roughly 8mm board-to-board. Then, the case of the ESP12 touches the SD card slot. I guess, one could remove that, but I haven't tried. (and yes, my shitty caliper broke and I fixed it with duct tape)

    The board from the bottom. I bridged the OLED module over like this, because I couldn't remember the pinout of my module, and a search on AliExpress revealed, that they all have a different one.

    As you can see, there isn't much space between the header and the ESP. This is the order of soldering I recommend: start with the header, then solder the ESP and its resistors, continue with the OLED and bridge it over, and finally solder the buttons (put it in a vice or in a Pi).

    Hello world! this is the (already working) menu. use `*` as the up arrow, `#` as the down arrow, and `0` to select. I want to make the numbers jump directly to the `n`th item in the list, but that's on the todo list (as well as button debounce :S)

  • PCB redesign for 30 pin oled

    gir01/07/2017 at 15:18 0 comments

    So...I couldn't help myself and completely redid the PCB from scratch. The header should be aligned now (had to modify my footprint with the anchor in the center). For the 30 pin variant of the oled i had to remove one of the unused pins; we'll see if that works out. Something else that needs to be seen to be tested out is the slot for the oled's flat flex. It should be large enough to get one "wing" in at a time, but no promises :s

  • Finally: some progress

    gir01/05/2017 at 14:26 3 comments

    I shelfed the project for some time, but recently I have been working on it again. The 20-pin OLEDs aren't available on AliExpress any more (the last seller who claimed to have them didn't have them).

    So I modified the PCB to take the premade assemblies / modules. (I do plan on modifying the PCB to take 30 pin OLEDs)

    I also finally ordered some prototype boards from OSHPark (really streamlined ordering process, just upload the pcbnew-file)

    On the top of the back side you see those solder pads under the screen header: While many OLED modules have 4 pins, all of them have different pinouts. I plan on soldering jumper wires to set the correct connections.

    On this picture you can see all the components involved (except the .1" header and some resistors, which hvaen't arrived yet)

  • working on the PCB again, new source code

    gir08/20/2016 at 14:53 0 comments

    The one and only [Brian Benchoff] published an article on this project. I took this opportunity to update the GitHub repository, as I have completely neglected that one for way too long (will push later today/tomorrow).

    This week I also did work on the PCB again: rerouted some tracks, repositioned the (previously misaligned) header, and added a footprint for an ESP-12 module. You can clearly tell that that is just bodged in by the way all the traces had to be routed. But I managed to stay on two layers, which reduces the price of PCBs massively.

    (that should say ESP12E, not ESP12F - sorry)

    UPDATE: Code and PCB files are now on a new GitHub repository: https://github.com/girst/hardpass-passwordmanager

    The old one is there: https://github.com/girst/hardpass-sendHID

  • This display...

    gir08/11/2016 at 14:08 0 comments

    Last week I had some time to work on the OLED. All the resistors, capacitors and the breakout board finally arrived (they arrived about 4 weeks earlier, but to a different address) and I originally planned on directly soldering the flat flex onto the breakout board (and later the elongated pads on the PCB.

    What I didn' notice in the Aliexpress seller's images was, that the flex is meant to be inserted into a connector, and has a thickend end. I tried to scrape it flat, but soldering it directly to the board was still impossible: the remaining height difference in combination with the solder resist was still to high. So I ripped an IDE HDD cable apart and tried to bridging this gap with bare copper wire. Which worked, but the .5mm pitch, in combination with a .5mm² wire made this procedure very short-circuit-inducing. So I finally gave up and bought the slimmest FPC connectors i could find. No datasheet though - so again it will be trial and error getting those to fit. I'll probably leave the (extremely) elongated pads there, so I can freely position the connector on the first PCB prototype. (the strain relief pads wont be soldered; maybe I'll glue them)

    (i had to write something down - otherrwise this project would become completely dead. it isn't that I don't want to work on it - but i have most of my stuff 300km away, and when i am there, friends and family also cant be neglected)