Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
vletoux committed Sep 1, 2017
2 parents cf3658d + 0f716f5 commit 7ba0d7b
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 6 deletions.
16 changes: 16 additions & 0 deletions GIDSGPShell.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
mode_211
enable_trace

establish_context
card_connect
# specifiy our card manager
select -AID a000000003000000
# put our card manager keys here
open_sc -security 1 -keyind 0 -keyver 0 -mac_key <INSERT CARD KEY HERE> -enc_key <INSERT CARD KEY HERE>

delete -AID A000000397425446590201
delete -AID A00000039742544659

install -file .\GidsApplet.cap -instParam 00 -priv 00
card_disconnect
release_context
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
# GidsApplet
Generic Identity Device Specification (GIDS) smart card is the only PKI smart card whose driver is integrated on each Windows since Windows 7 SP1 and which can be used read and write. No Windows driver installation is required and this card can be used instantly.

[My Smart Logon] (https://www.mysmartlogon.com/generic-identity-device-specification-gids-smart-card/) is providing free of charge a javacard applet to transform a java card into a GIDS smart card and its integration in OpenSC for other operating systems (Linux, MacOSX, …).
[My Smart Logon] (https://www.mysmartlogon.com/generic-identity-device-specification-gids-smart-card/) is providing free of charge a javacard applet to transform a java card into a GIDS smart card and its integration in OpenSC for other operating systems (Linux, MacOSX, …).
#General requirements

* Java Card version 2.2.1 or above (see the list of [tested cards](https://www.mysmartlogon.com/generic-identity-device-specification-gids-smart-card/tested-cards/))
* Implementation of the "requestObjectDeletion()"-mechanism of the Java Card API is recommended to be able to properly delete files.
* Windows 7 SP1 / 2008 R2 or later for the minidriver ; OpenSC for pkcs11

#Download
# Download

[Download GidsApplet.cap] (https://github.com/vletoux/GidsApplet/releases)
Download [GidsApplet.cap](https://github.com/vletoux/GidsApplet/releases)

#Building
# Building

You can use the card SDK to build the applet or [ant-javacard](https://github.com/martinpaljak/ant-javacard).

The continuous integration platform script ([.travis.yml](.travis.yml)) can be executed to build the applet.

#Installation
# Installation

Install the CAP-file (GidsApplet.cap) to your Java Card smartcard (e.g. with [GlobalPlatformPro] (https://github.com/martinpaljak/GlobalPlatformPro)).
The release section includes compiled version of the applet.
Expand All @@ -29,6 +29,6 @@ gp -install GidsApplet.cap
Some cards require additional switch like for G&D -emv or Gemalto -visa2 -key. See this [page] (https://github.com/martinpaljak/GlobalPlatformPro/tree/master/docs/TestedCards) for more details.
MANY UNSUCCESSFUL GP COMMANDS (approx 10) CAN BRICK YOUR CARD. Contact your manufacturer for more information.

#Reference
# Reference
* [GIDS specification] (http://msdn.microsoft.com/en-us/library/windows/hardware/dn642100%28v=vs.85%29.aspx)
* [minidriver specification] (http://msdn.microsoft.com/en-us/library/windows/hardware/dn631754%28v=vs.85%29.aspx) (for card initialization)

0 comments on commit 7ba0d7b

Please sign in to comment.