Giter Site home page Giter Site logo

gismo141 / picosafe Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 694.82 MB

Encrypted Embedded Linux Device as USB stick

Shell 4.96% IDL 0.01% D 0.01% C 86.03% Perl 0.25% C++ 5.24% Objective-C 0.27% Python 0.64% Awk 0.01% XSLT 0.01% Lua 0.01% JavaScript 0.01% CSS 0.01% TeX 0.08% Scala 0.01% Vim Script 0.01% Assembly 2.48% Objective-C++ 0.01% UnrealScript 0.01% Scilab 0.01%

picosafe's Introduction

Picosafe - an encrypted USB-device

Picosafe Picosafe PCB

What is Picosafe?

Picosafe is an encrypted USB-device running debian-linux on an ARM processor. It is developed by embedded-projects in Augsburg and the Universität der Bundeswehr München.

Usage notes:

At the time of writing the project needs to be placed under /opt/picosafe (This is a bug and will be fixed later).

Before you can use this project you need to copy the eldk-5.2.1-folder (toolchain) to /opt using the command:

mv /opt/picosafe/toolchain/opt/eldk-5.2.1/ /opt/

Afterwards you need to install the programs under tools using:

make
make install

This installs some aes-related programs that are needed in the subscripts.

To create the SD-Card for the Picosafe call as root (not sudo):

  1. Create and Compile Busybox

    • cd /opt/picosafe/initramfs/busybox/
    • cp ../config_busybox .config (to reset configuration to standard)
    • make menuconfig
    • make
  2. Create InitRAMFS

    • ./opt/picosafe/initramfs/geninitramfs.sh
  3. Setup and Compile Kernel

    • cd /opt/picosafe/kernel/linux-3.3.0-lpc313x/
    • cp ../config-picosafe-3.3 .config (to reset configuration to standard)
    • make menuconfig
    • make
  4. Create zImage.crypt

    • ./opt/picosafe/kernel/build.sh -k <path_to_keyfile>
  5. Partition and Fill SD-Card

    • ./opt/picosafe/rootfs/genrootfs.sh <sdcard> <path_to_keyfile> <path_to_bootloader> [<path_to_pemfile>]

Dependencies:

Up to now you need to have at least following programs installed:

  • gcc
  • linux-headers (linux-headers-$(uname -r))
  • make
  • git
  • parted
  • realpath
  • libncurses5-dev
  • ntfs-3g
  • cryptsetup

How could you contribute?

  1. Fork this project to your account.
  2. Create a new branch for the improvements, you intend to make.
  3. Make the changements in your fork.
  4. Send a pull-request from your fork’s branch to my master branch.

You can always use the web-interface to make the changes you want. It helps you automizing the workflow from above.

picosafe's People

Contributors

gismo141 avatar

Watchers

 avatar

picosafe's Issues

harddiskcrypt.sh

  • clean-up the script
  • set the correct rights for accessing the gadget-API

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.