Questions tagged [globalplatform]

GlobalPlatform is an association that publishes specifications aiming at standardizing deployment and management of multiple applications on secure chips.

Founded in 1999, GlobalPlatform is a cross-industry, non-profit association that creates and publishes specifications aiming at standardizing deployment and management of multiple embedded applications on secure chip technology (such as smartcard chips, secure elements, trusted execution environments, etc).

The tag is often used to refer to one specific specification: The GlobalPlatform Card specification that defines the process for loading applications onto smartcard chips.

Most GlobalPlatform specifications are freely available on their website: http://www.globalplatform.org/.

224 questions
10
votes
5 answers

How to Self-Lock a Javacard Applet

My question is whether it is possible to lock an applet from within the code of the applet itself as a countermeasure to detected manipulations from within the code. The obvious choice is to use GPSystem.lockCard(); and it works, however I wonder if…
Paul Bastian
  • 2,597
  • 11
  • 26
8
votes
3 answers

What is GlobalPlatform and JavaCard relationship?

I'm getting started with GlobalPlatfrom Card spec and I cannot figure out how GLobalPlatform functinalify comes to JavaCard. Is there any applet that should be installed into a card to make this card GP-compatible? Or is the GP-functionality…
Poni Poni
  • 113
  • 2
  • 5
8
votes
3 answers

Installing applet in javacard

I made a .cap file of the popular "Hello World" javacard code via Eclipse And now I want to load it in a real javacard via GPShell and ACR38 smart card reader. question: Am I need any key to load the .cap file in the card? I mean, should I…
Ebrahim Ghasemi
  • 5,850
  • 10
  • 52
  • 113
7
votes
2 answers

Java Card: Can applets be installed by other applets?

In Java Card, is it generally possible for new applications to be installed from within the context of an existing application on the card, for example by sending the new code via an application-defined messaging format and then creating a new…
lxgr
  • 3,719
  • 7
  • 31
  • 46
7
votes
1 answer

Get Data APDU command different tags and response format

As you may know, Gloabal Platform Card Specification defines a command named Get Data to retrieve some information from the smart card. GlobalPlatformPro is one of the popular tools for communication with smart cards. When I list the installed…
EbraHim
  • 2,279
  • 2
  • 16
  • 28
7
votes
4 answers

Java Card applets, secure data transmission and Secure Channel

I want to write my applet in a way that its APDU commands and status words wasn't be clear in the transmission channel between my card and my reader. I mean I don't want to send APDU commands and responses to be plain text for third parties. I think…
Ebrahim Ghasemi
  • 5,850
  • 10
  • 52
  • 113
7
votes
2 answers

How to work with SIM cards (Installing applet)

I have a smart card with the following ATR: ATR = 3B 9E 94 80 1F 42 80 31 00 73 BE 21 10 66 54 59 53 04 4C 25 CF. Based on the output of atr-parse.appspot.com I found that it is a MCI (Mobile Communication Company of Iran) SIM card. These are the…
Ebrahim Ghasemi
  • 5,850
  • 10
  • 52
  • 113
6
votes
3 answers

How to preserve data when updating Java Card / GlobalPlatform applet?

How can I update a Java Card applet that contains data that need to be preserved across versions? As best as I can tell updating an applet is done by deleting it and then installing the new version, which seems like it would also delete any…
scott
  • 1,127
  • 1
  • 12
  • 21
6
votes
1 answer

What is the IP address of the web server in Java Card 3.0 connected version?

When we run a web server in a java card 3.0 compatible card, how can we request that server or rather at which IP address do we request that server. Further more can an android app request and get a response from the server if so how can we do it ?
6
votes
2 answers

Sign App with UICC Carrier Privileges Certificates

I was reading information on this link in regards to signing an application with carrier privileges. I am aware of how to sign an application using a keystore for production releases, but how do I add UICC certificates to my app so it gets carrier…
CompEng88
  • 1,336
  • 14
  • 25
6
votes
1 answer

Secure Com SCP02 Session : What is the role of "Key Diversification data" returned in response of Initialized Update command

In response field of Initialized Update command, Key Diversification data (which contains manufacture ID and last two bytes of security domain AID) is returned to Off Card entity. I would like to know for what purpose this data is used ? I read…
Bhanu
  • 663
  • 5
  • 13
5
votes
1 answer

Delete APDU command with SSD AID in its data field, returns 6985

I have a Javacard which contains a SSD (Supplementary Security Domain) and I want to delete it. Normally when I want to delete an applet or a package from my card, I send the following DELETE APDU command after a successful Mutual Authentication…
Ebrahim Ghasemi
  • 5,850
  • 10
  • 52
  • 113
5
votes
1 answer

Access an applet directly without AID selection

Usually, when you power up a JavaCard smartcard and want to communicate with an applet, you must select the applet using its AID first. Is there any way to have a "default applet" that is selected when the card is powered up? What I really want to…
jim
  • 8,670
  • 15
  • 78
  • 149
5
votes
0 answers

Error 0x643A when installing applet on Java Card

After the successful installation (and deletion) of the same applet twice, I can't manage to install an applet anymore on my Java Card. The setup involved: Smart card: ACS ACOSJ 40KB Java Card 3.0.4 (dual interface) Card reader: Cherry TC 1300…
Ayell
  • 560
  • 2
  • 12
5
votes
1 answer

Global Platform Java Card Secure Channel Example

I'm struggling for a long time. I need to create secure channel from Desktop App to JavaCard. I found GlobalPlatform http://www.win.tue.nl/pinpasjc/docs/apis/gp22/ but I can't get it working. I know how to react when I have a secure channel ( use it…
Petr Skyva
  • 71
  • 2
  • 5
1
2 3
14 15