-
-
Notifications
You must be signed in to change notification settings - Fork 216
Application management
Tip
Please consult the --help
output for options that are not described here
-
List applets (this and following commands open the secure channel and thus can brick your card with wrong keys!):
gp -list # or gp -l
How to interpret the output:
- All AID-s of on-card objects are listed, starting with Issuer Security Domain (
ISD
) - Object's type, lifecycle state and privileges are listed below the
AID
line - Applications have type
APP
and a state (likeSELECTABLE
) and privileges (likeCardReset
) - Executable Modules (type
PKG
, representing Java packages) are listed together with applets in them (which can be initiated with--create
) - Security Domains have type
DOM
- All AID-s of on-card objects are listed, starting with Issuer Security Domain (
-
Delete package
D27600012401
and all applets from it:gp -f -delete D27600012401
-
Install
applet.cap
as default applet (with AID information from the CAP):gp -install applet.cap -privs CardReset
-
Install
applet.cap
(with AID information from the CAP):gp -install applet.cap
-
Unistall
applet.cap
(with AID information from the CAP):gp -uninstall applet.cap
-
Force installation of
applet.cap
, deleting anything that's necessary, with AID information from the CAP:gp -f -install applet.cap
-
Create new instance of applet
D2760001240102000000000000000000
from packageD27600012401
with AIDD2760001240102000000000272950000
:gp -package D27600012401 -applet D2760001240102000000000000000000 -create D2760001240102000000000272950000
-
Same as previous, but takes the package/applet AID-s from CAP file and makes the new instance default selected:
gp -cap OpenPGPApplet.cap -create D2760001240102000000000272950000 -privs CardReset
javacard.pro - custom JavaCard applet development services · Editing locked due to malicious SPAM, sorry :(
Basic usage
- Getting Started
- Support GlobalPlatformPro development
- Glossary
- Environment variables
- Keys
- Secure Channel Establishment
- Application management
- Frequently Asked Questions
- Support & Questions
Advanced topics
- Lifecycle management
- Supplementary security domains
- DAP Verification
- Delegated management & receipts
- PACE
Development
JavaCard ecosystem