Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 819 Bytes

File metadata and controls

27 lines (18 loc) · 819 Bytes

Global PIN manager

Applet for managing the global PIN on cards that support it.

Installation

Install with GlobalPlatformPro with the CVMManagement privilege.

Usage

The applet is not meant to and cannot be selected, it gets the PIN to set using personalization through its associated security domain.

The STORE DATA chunk must be the PIN length coded on 1 byte, the number of tries coded on 1 byte, followed by the PIN in binary format.

The command to run for setting the PIN can be obtained through the get-store-data-chunk.py script:

$ ./get-store-data-chunk.py 123456
Command to run:
	gp --personalize FF43564D204D616E6167657201 --store-data 0603313233343536

Or directly:

gp --personalize FF43564D204D616E6167657201 --store-data "$(./get-store-data-chunk.py -s 123456)"