Skip to the content
2 layers33.4 × 39.6 mmZifbrkout, the printed circuit board in 3D

There are several bad solutions to managing passwords securely, e.g.,

Size
33.4 × 39.6 mm
Copper layers
2
Thickness
1.6 mm
Parts
122
Nets
81
Pads
245
Tracks, vias
273, 41
Pours
2
Routed
Yes
KiCad
KiCad 3
Created
7 Dec 2014
Updated
24 Mar 2015

Overview

Zifbrkout is an open-source printed circuit board by jhagmar, from the jhagmar/keynjector repository on GitHub, published under the GPL-2.0 licence. It is a 2-layer board of 33.4 × 39.6 mm with 122 parts on 81 nets, routed with 273 tracks and 41 vias.

Its parts include 40 resistors, 40 diodes and 1 connector.

README

README

ABOUT THE PROJECT

There are several bad solutions to managing passwords securely, e.g.,

  1. Having the same (easy to guess) password for every account
  2. Keeping your passwords on a Post-It under your keyboard
  3. Using a password manager on your computer

You might be surprised that item 3 made the list, but password managers keep all passwords in a file encrypted with a master password. When the user retrieves a password, all other passwords are decrypted and exposed in RAM, in an environment with dozens of other, potentially malicious, processes with internet access. Password managing software often use secure memory to increase security. However, a keylogger can be used to record the master password, and then we are back at the original problem.

The keynjector project tries to raise the bar by providing the password file decryption in a dedicated device, connected to the host with a USB cable. The password file, encrypted with OpenPGP symmetric encryption, is provided on a microSD card that the user inserts into the device. When the user requests a password, the device emulates a USB keyboard, and types the password on the host computer.

This solution offers a more secure solution compared to a traditional password manager:

  1. There are no other processes running on the device that could potentially steal the information.
  2. The USB keyboard interface is one-directional. There is no possibility for the host to inject code into the keynjector device.
  3. The master password file can be easily removed and destroyed, e.g., by burning the microSD card, if needed.
  4. The device can be used on any computer that recognizes a USB keyboard, without any loss of security.

The keynjector project consists of several sub-projects for the PCB layout, the firmware, the case for the device, etc. See below for a brief overview of the project directory structure.

GENERAL INFORMATION

Unless otherwise stated, all files in the keynjector project are Copyright Jonas Hagmar 2014, and licensed under GPL v2. A copy of the GPL v2 can be found in LICENSE.

Please refer to the AUTHORS file for contact information.

DIRECTORY STRUCTURE

A brief overview of the directory structure of the project:

cad - CAD drawings

cad/case - OpenSCAD drawing of the case, suitable for 3D printing.

docs - documents

docs/datasheets - datasheets of components listed in the bill of materials (BOM)

hw - hardware designs

hw/bom - BOM for the hardware designs

hw/keynjector - KiCad project for the keynjector PCB

hw/zifbrkout - KiCad project for a breakout board which is helpful for testing the LCD connector on the keynjector board

misc - miscellaneous

misc/fonts - fonts used in the keynjector software

sw - software

sw/keynjector - Atmel Studio ASF project for the keynjector firmware

sw/keynjector_ui - Visual Studio 2010 project for desktop development of the keynjector UI, for faster iterations than trying out the code directly on the keynjector board

THIRD PARTY LICENSES

The project uses the following third party software:

Atmel ASF

/* Copyright (c) 2009-2014 Atmel Corporation. All rights reserved. *

  • \asf_license_start
  • \page License
  • Redistribution and use in source and binary forms, with or without
  • modification, are permitted provided that the following conditions are met:
    1. Redistributions of source code must retain the above copyright notice,
  • this list of conditions and the following disclaimer.
    1. Redistributions in binary form must reproduce the above copyright notice,
  • this list of conditions and the following disclaimer in the documentation
  • and/or other materials provided with the distribution.
    1. The name of Atmel may not be used to endorse or promote products derived
  • from this software without specific prior written permission.
    1. This software may only be redistributed and used in connection with an
  • Atmel microcontroller product.
  • THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR IMPLIED
  • WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
  • MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE
  • EXPRESSLY AND SPECIFICALLY DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR
  • ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  • DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  • OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  • HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
  • STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
  • ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  • POSSIBILITY OF SUCH DAMAGE.
  • \asf_license_stop

*/

CMSIS


  • Copyright (C) 2011 ARM Limited. All rights reserved.
  • Date: 11 October 2011
  • Revision: V3.00
  • Project: Cortex Microcontroller Software Interface Standard (CMSIS)
  • Title: Release Note for CMSIS

NOTE - Open the index.html file to access CMSIS documentation

The Cortex Microcontroller Software Interface Standard (CMSIS) provides a single standard across all Cortex-Mx processor series vendors. It enables code re-use and code sharing across software projects and reduces time-to-market for new embedded applications.

CMSIS is released under the terms of the end user license agreement ("CMSIS END USER LICENCE AGREEMENT.pdf"). Any user of the software package is bound to the terms and conditions of the end user license agreement.

FatFS

FatFs module is an open source software to implement FAT file system to small embedded systems. This is a free software and is opened for education, research and commercial developments under license policy of following trems.

Copyright (C) 2011, ChaN, all right reserved.

  • The FatFs module is a free software and there is NO WARRANTY.
  • No restriction on use. You can use, modify and redistribute it for personal, non-profit or commercial product UNDER YOUR RESPONSIBILITY.
  • Redistributions of source code must retain the above copyright notice.

miniz

miniz is public domain and has the following license:

/* This is free and unencumbered software released into the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.

In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

For more information, please refer to http://unlicense.org/ */

Parts

122
QtyValueFootprintReferences
40LED0805D1, D2, D10, D11, D12, D13, D14, D15, D16, D17, D18, D19, D20, D21, D22, D23 +24
40R0805R1, R2, R10, R11, R12, R13, R14, R15, R16, R17, R18, R19, R20, R21, R22, R23 +24
40TPTPTP1, TP2, TP10, TP11, TP12, TP13, TP14, TP15, TP16, TP17, TP18, TP19, TP20, TP21, TP22, TP23 +24
1501951-4000501951-4000J1
1EXTGNDGNDPADGND1

More from jhagmar/keynjector

1
  • 2 layers36 × 42.7 mmKeynjector, the printed circuit board in 3D

    Keynjector

    jhagmar/keynjector

    There are several bad solutions to managing passwords securely, e.g.,

    44 partsGPL-2.0

Similar boards

  • 2 layers108.3 × 96.3 mmKeyboard, the printed circuit board in 3D

    Keyboard

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    122 parts915
  • 2 layers65 × 56.5 mmSuperPower RPi KiCAD, the printed circuit board in 3D

    SuperPower RPi KiCAD

    SensorsIot/SuperPower

    Here you should find the best power supplies for your low-power projects

    122 parts600
  • 2 layers139.1 × 107.7 mmLotus58 Glow 111, the printed circuit board in 3D

    Lotus58 Glow 111

    TweetyDaBird/Lotus-58-Classic

    A split ergo linear keyboard derived from the Lily58 family

    122 parts390
  • 2 layers80 × 50 mmBetaBoard, the printed circuit board in 3D

    BetaBoard

    timbk/BetaBoard

    A simple and low cost particle detector for teaching

    122 parts85BSD-2-Clause
  • 2 layers100 × 100 mmBulkyMIDI-32 Channel, the printed circuit board in 3D

    BulkyMIDI-32 Channel

    tebl/BulkyMIDI-32

    A HW build of the MT32-PI project, allowing you to emulate a Roland MT-32 using a Raspberry Pi. Includes enough additional modules to build a MIDI-mountain as well as adapters for connecting to most things retro.

    122 parts80CC-BY-SA-4.0
  • 2 layers89.5 × 62.2 mmModule di, the printed circuit board in 3D

    Module di

    andreili/STM32-PLC

    The project is open source and open hardware, the purpose of which is to create a PLC based on STM32 MCU's.

    122 parts69GPL-3.0
  • 2 layers49.9 × 49.9 mmFrontend, the printed circuit board in 3D

    Frontend

    softerhardware/Hermes-Lite

    Deprecated project!!! See Hermes-Lite2 at main web site

    122 parts65
  • 2 layers98.5 × 95.5 mmMain logic, the printed circuit board in 3D

    Main logic

    tmarhguy/alu

    8-bit combinational ALU built from scratch with 3,488 CMOS transistors (KiCad + SPICE + Logisim + 1.24M tests

    122 parts48MIT

Questions

How big is the Zifbrkout PCB?

It measures 33.4 × 39.6 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Zifbrkout use?

122 parts. 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 Zifbrkout KiCad files?

From the jhagmar/keynjector repository on GitHub, at the commit this page was made from: the board is hw/zifbrkout/zifbrkout.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Zifbrkout design in my own project?

Its repository publishes it under the GPL-2.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).