karolyzz
karolyzz

Reputation: 510

Thales PayShield HSM key management

I'm reading PayShield docs and have stumbled upon a question regarding key management and LMK when importing keys:

Upvotes: 1

Views: 5091

Answers (3)

Melinte Razvan
Melinte Razvan

Reputation: 11

in the A6 command you have an optional filed delimited by "%" and after that you need to select the LMK ID.

Upvotes: 1

StockTrader
StockTrader

Reputation: 21

the LMK can be variant or keyblock and it is the only key that you can store on the payShield. You can store up to 20 LMKs depending from the license you own.

Console commands such IK (impor key) or FK (form key) are not really ''importing'' anything in the HSM storage area.

The your produce and display on the console (or form from components) a key encrypted under the LMK you specify in the commands.

You need to store them in your application database and to use these keys you need always to use your PayShield that holds the LMK and is able to make a use of them.

You can address a specific LMK key using host commands in two ways:

  • specifying the LMK id in the host command
  • using a specific tpc/udp port to talk with the host following this schema:
    • port 1500 -> default LMK
    • port 1501 -> LMK id 0
    • port 1502 -> LMK id 1 and so on.

Upvotes: 1

zaph
zaph

Reputation: 112857

  1. You can identify a LMK in the command itself or by port. This is in the command or console reference manuals depending on the type of command.

  2. You can not import a clear key, you can form a key from a minimum of two clear components.

Upvotes: 3

Related Questions