Skip to content
OpenPGP functionality for Solo
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
pc delete files May 31, 2019
src works up to test_012_personalize_card.py::test_setup_pw3_0 Jun 14, 2019
.gitignore gitignore. ignore some of eclipse stuff May 23, 2019
Makefile -std=c++17 May 23, 2019
README.md add todo Jun 11, 2019
card_reader.py first commit May 17, 2019

README.md

This repository contains a portable implementation for OpenPGP and will be able to run on PC for testing and development, and can run on Solo.

Requirements

This should run fine on Linux, OS X, or Ubuntu on Windows.

Set up

Clone Gnuk to get their testing suite. Note, there are symlinks in the repo, so make sure you clone using a *nix environment!

git clone https://salsa.debian.org/gnuk-team/gnuk/gnuk

Install Python test tools to run Gnuk tests.

sudo apt install python3-pytest python3-usb python3-cffi

Replace the normal card reader class, with our testing class to connect the CCID/OpenPGP application locally to the tests via UDP.

cp card_reader.py gnuk/tests/card_reader.py

Build our CCID/OpenPGP application

make

Running

In one terminal, run our CCID/OpenPGP application.

./main

In another terminal, run the Gnuk test suite.

cd gnuk/tests && py.test-3 -x

TODO

  1. Change name from Applet to Application
You can’t perform that action at this time.