Applet for managing the global PIN on cards that support it.
Install with GlobalPlatformPro with the CVMManagement privilege.
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 0603313233343536Or directly:
gp --personalize FF43564D204D616E6167657201 --store-data "$(./get-store-data-chunk.py -s 123456)"