GitXplorerGitXplorer
p

gpj

public
4 stars
6 forks
0 issues

Commits

List of commits on branch master.
Unverified
5a720d6f1745cfca99374fd9470ee542377cbf86

More general approach to attempted selection of different security domains.

committed 13 years ago
Unverified
d42be9662d5c4610410034953f23494931f5c2e6

committed 13 years ago
Unverified
f1014289482294474e93a10ebe294f6b6e0bcee4

committed 13 years ago
Unverified
af2956b037502527c12530ba4b0d3cd2895360ae

Fix "build.xml:12: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds"

committed 14 years ago
Unverified
c18faafd22a334f80ba91be2f74ae16f3d0e743b

Don't include BouncyCastle, which is not used by the source either.

committed 15 years ago
Unverified
e0ab86d82134b6d872bce8b28956574f4a3bebad

Fix buildfile

committed 15 years ago

README

The README file for this repository.

FIRST IMPORTANT NOTE

The author(s) of this project and software included within are not in any way responsible for your broken cards when you use this software. GP compliant smart cards are very sensitive to failed authentication attempts and may become unoperational. So make sure you know what you are doing. The library has been tested with a handful of OP2.0.1 and GP2.1.1 cards, but this does not guarantee proper operation with your particular card!

INTRODUCTION

This is the current release of the Global Platform for SmartCardIO Java SDK library, http://gpj.sourceforge.net. It provides a library for GP compliant communication with GP compliant smart cards - listing contents, applet loading and deletion, etc. The library is under development and is currently concentrated on the above mentioned features. That is, e.g. GP key loading or manipulation is not yet implemented. A command line host application for managing applets on the card is included. Functionality wise this project provides very similar facilities as http://globalplatform.sourceforge.net and their gpshell application. Only this one is in pure Java and connects directly to SmartCardIO.

AUTHOR(S)

This project has been developed by Wojciech Mostowski woj@cs.ru.nl, and Francois Kooman F.Kooman@student.science.ru.nl from Radboud University Nijmegen, the Netherlands. The project uses some code written ages ago by Martijn Oostdijk martijn.oostdijk@gmail.com.

REQUIREMENTS

To use the library or the host application you need Java Runtime Environment 1.6. For portability reasons (e.g. to Nokia NFC phones) the library also uses the Bouncy Castle crypto provider, see http://www.bouncycastle.org. However, Bouncy Castle is not required to run the library or the application on JDK 1.6.

SOURCE CODE, LICENSE

The source code is released under LGPL and is currently only available from the SourceForge SVN repository, see

https://sourceforge.net/scm/?type=svn&group_id=273978

The libraries that we use are released under respective licenses described in the "lib" folder.

RUNNING THE GP APPLICATION

Unpack the release file (you must have done that already since you are reading this file). Run (or use provided Linux or Windows scripts):

java -jar gpj.jar

to get the list of available options for the applet manipulation program.

SOME EXAMPLES

To list the applets on the cards simply say (assuming default authentication and keys):

java -jar gpj.jar -list

To delete an applet from the card say:

java -jar gpj.jar -delete

To install a new applet on the card (with default install parameters), say:

java -jar gpj.jar -load -install

THANKS

Hendrik Tews for contributing some code.