Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
BeagleBone for Secret Agents

You're reading from  BeagleBone for Secret Agents

Product type Book
Published in Sep 2014
Publisher Packt
ISBN-13 9781783986040
Pages 162 pages
Edition 1st Edition
Languages
Author (1):
Joshua Datko Joshua Datko
Profile icon Joshua Datko

Table of Contents (14) Chapters

BeagleBone for Secret Agents
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
Creating Your BeagleBone Black Development Environment Circumventing Censorship with a Tor Bridge Adding Hardware Security with the CryptoCape Protecting GPG Keys with a Trusted Platform Module Chatting Off-the-Record Selected Bibliography Index

Adding the keypad


We're going to need a way to enter this code into the BBB. This code is used to populate one of the TPM's PCRs that will be used to seal the GPG key. This keypad will be connected to the ATmega328p on the CryptoCape. While the BBB is more than capable of handling the I/O for the keypad, by using the ATmega328p, we take advantage of code reuse. For most hardware products in the SparkFun catalog, there exists at least an unofficial Arduino library. If the components aren't available at SparkFun, then you should be able to find similar parts from the product descriptions. In the case of the keypad, there is an official library. The hardware for this project is listed in the following table:

Device

SparkFun number

CryptoCape

DEV-12773

Keypad

COM-08653

F/F jumper wires

PRT-08430

Male breakaway headers

PRT-00116

To build this Arduino library, you'll first need to install the Keypad library from the Arduino playground site: http://playground.arduino.cc/code/Keypad. Then...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}