Our express partner will perform scheduled system maintenance from 19th Jan to 3rd Feb, so during this time, all the orders in our webshop will be handled from 4th Feb.
Sorry for any inconvenience caused.

Encrypted Key Value in PUT KEY with SCP02

JavaCard Applet Development Related Questions and Answers.
Posts: 1
Joined: Sun Aug 25, 2019 11:23 am
Points :42

Encrypted Key Value in PUT KEY with SCP02

Post by bobik » Sat Nov 02, 2019 4:01 pm

I try to develop an application in C# with PCSC and Pkcs11Interop libraries, which will allow me to change the default master key to a new one. In GP documentation is stated that "When using this command (PUT KEY) to load or replace secret or private keys, the key values shall be encrypted". To send a PUT KEY command with SCP02 protocol, a value of a new key shall be encrypted with DEK. As a new value, I would like to use the value of a key (CKO_SECRET_KEY object) that is stored on another smartcard.

Is there any option to encrypt the value of this key with DEK without revealing its value in plaintext using PKCS#11 or APDU?

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 6 guests

JavaCard OS : Disclaimer