Page 1 of 1

Finding the way to get KMC

Posted: Sun May 15, 2016 10:55 pm
by afrascoi
Hey guys,

I need to get KMC(card unique key) and the key data! Does someone know how to do this?

Thanks a lot!

BR & thanks

Re: Finding the way to get KMC

Posted: Mon May 16, 2016 3:16 am
by afrascoi
Could I obtain these in an applet?

Re: Finding the way to get KMC

Posted: Mon May 16, 2016 3:20 am
by KevinAli
afrascoi wrote:Could I obtain these in an applet?


Card manager doesn't allow access to the platform keys to an applet. It does allow the secure channel to be used to encrypt/decrypt if the secure channel is active but there is no way to directly access the key.

Re: Finding the way to get KMC

Posted: Mon May 16, 2016 4:29 am
by afrascoi
Thanks for your help! I still have a problem. During personalization, where are the gp key come from? I mean ENC, MAC, DEK

Re: Finding the way to get KMC

Posted: Tue May 17, 2016 1:12 am
by Tarantino
afrascoi wrote:Thanks for your help! I still have a problem. During personalization, where are the gp key come from? I mean ENC, MAC, DEK


They are generated by whatever is doing the personalisation. If they are application level they are stored in the application. If they are ISD/SSD keys, they are not accessible to the applet.