Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (14 sloc) 683 Bytes
// script to install epassport.cap to cosmo card using gpshell (http://sourceforge.net/projects/globalplatform/)
mode_211
establish_context
// edit the following line to match your PCSC reader
//card_connect -readerNumber 2
card_connect -reader "OMNIKEY CardMan 5x21 00 01"
//card_connect -reader "OMNIKEY CardMan 5x21 (USB iClass Reader) 00 01"
//card_connect -reader "ACS ACR 38U-CCID 00 00"
select -AID A0000001510000
open_sc -security 3 -mac_key 404142434445464748494A4B4C4D4E4F -enc_key 404142434445464748494A4B4C4D4E4F -kek_key 404142434445464748494A4B4C4D4E4F // Open secure channel
delete -AID A00000024710
install -file epassport.cap -priv 2
card_disconnect
release_context