Sec2 is a project funded by Federal Ministry of Education and Research: http://www.sec2.org
Java C++ C Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
commons-codec-1.5-src
sec2-basis
sec2-demo-apps
sec2-keyserver
sec2-middleware-ui
sec2-saml-base
sec2-static-testdata
sec2-tokenware
sec2token-maven-plugin
README.md

README.md

Sec2

Sec2 is a project funded by Federal Ministry of Education and Research: http://www.sec2.org

Details about the project concept can be found in our research paper: https://www.nds.rub.de/research/publications/sec2-closer/

To test the developed application, you can proceed as follows:

Please Note: you have to compile the application with Apache maven 3.2.3. Otherwise, the following exception will appear: NoClassDefFoundError:org/eclipse/aether/spi/connector/Transfer$State

More information on this problem can be found here: http://stackoverflow.com/questions/28717739/exception-in-thread-pool-1-thread-1-java-lang-noclassdeffounderror-org-eclips

First, copy the crypto-data to your lib:

$ cp sec2-card/crypto-data /var/lib/sec2/

Compile commons-codec:

$ cd commons-codec-1.5-src
$ mvn clean install

Generate new test keys using the following commands

$ cd sec2-static-testdata
$ mvn clean install

Compile application for Android (please note that you have to have Android SDK installed. We tested our application for android-16):

$ export ANDROID_HOME=[path]
$ cd sec2-basis
$ mvn install --activate-profiles Android -DskipTests=true

To install the application on your phone, use the following command:

$ adb install -r sec2-android/target/sec2-android-1.0-SNAPSHOT.apk

There are two more applications you can compile and test. You can find them under sec2-demo-apps.

Please, be careful. This is just a proof-of-concept of our research project!