Skip to the content
2 layers36 × 42.7 mmKeynjector, the printed circuit board in 3D

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

Size
36 × 42.7 mm
Copper layers
2
Thickness
1.6 mm
Parts
44
Nets
49
Pads
238
Tracks, vias
722, 76
Pours
2
Routed
Yes
KiCad
KiCad 3
Created
7 Dec 2014
Updated
24 Mar 2015

Overview

Keynjector 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 36 × 42.7 mm with 44 parts on 49 nets, routed with 722 tracks and 76 vias.

It is built around the ADS7843E, PRTR5V0U2X and SPX3819M5-L/TR, with the 10118192-0001LF, 7A-12.000MAAJ-T and FH12A-40S-0.5SH(55) among its other parts. Its parts include 22 capacitors, 7 resistors, 4 ICs, 4 connectors and 1 switch. It belongs with the SAM D and SAM boards of this library.

Main components

7

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

44
QtyValueFootprintReferences
14100n0805C2, C3, C6, C7, C8, C9, C10, C11, C12, C13, C17, C18, C19, C22
5TPTPTP1, TP2, TP3, TP4, TP5
410u0805C4, C16, C20, C21
339R0805R3, R4, R6
215p0805C14, C15
110118192-0001LF10118192J1
110K0805R8
110k0805R5
110u1206_10uFC1
12.2u1206_2.2uFC5
136k0805R2
1492250821492250821J4
156k0805R1
17A-12.000MAAJ-T7A-12.000MAAJ-TXC1
1ADS7843SSOP-16U4
1ATSAM4S8BA-ANRLQFP64U3
1EVQ-P7L01PEVQP7L01PSW1
1FH12A-40S-0.5SH(55)FH12A-40S-0.5SH(55)J3
1M50-3600542M50-3600542J2
1PRTR5V0U2XSOT143BU1
1SPX3819M5-L/TRSOT-23-5U2

More from jhagmar/keynjector

1
  • 2 layers33.4 × 39.6 mmZifbrkout, the printed circuit board in 3D

    Zifbrkout

    jhagmar/keynjector

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

    122 partsGPL-2.0

Similar boards

  • 2 layers82.5 × 63.5 mmDashboard, the printed circuit board in 3D

    Dashboard

    RidhaBouyahi/Motor-Control-And-Dashboard-PCB

    This Dashboard PCB is developed to get data (position,temperature...) from sensors, control actuators and Dc Motor direction and speed control using PWM .

    58 parts1
  • 2 layers25 × 61.5 mmMKR1000, the printed circuit board in 3D

    MKR1000

    hulkco/oshwi

    Upload "Oshwi" Badge for OshwDem 2017 a Coruña

    82 parts15
  • 2 layers120 × 66 mmIo daughterboard, the printed circuit board in 3D

    Io daughterboard

    kbob/MinimumViableSynth

    A virtual analog synthesizer with lots of knobs and buttons.

    136 parts28GPL-3.0
  • 4 layers67 × 140.3 mmUnkey, the printed circuit board in 3D

    Unkey

    natecermak/unkey

    Swimmie-Textie

    139 parts
  • 2 layers90 × 70 mmMidi s3 mini, the printed circuit board in 3D

    Midi s3 mini

    usr-ein/TriMixxx

    Open source standalone DJ multimedia player, compatible with Rekordbox

    102 parts44GPL-3.0
  • 2 layers23 × 15 mmFETProbe V2, the printed circuit board in 3D

    FETProbe V2

    makerprobe/FETProbe_V2

    1.3 GHz FET Probe with low input capacitance

    21 parts1MIT
  • 4 layers88 × 70 mmGreX Frontend, the printed circuit board in 3D

    GreX Frontend

    GReX-Telescope/FrontendModule

    RF Front End for GReX

    199 parts

Questions

How big is the Keynjector PCB?

It measures 36 × 42.7 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Keynjector use?

44 parts, built around the ADS7843E, PRTR5V0U2X, SPX3819M5-L/TR and 10118192-0001LF. 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 Keynjector KiCad files?

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

Can I use the Keynjector 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).