How to Understand Master Key and Session Key in WizarPOS Systems: Difference between revisions

From wizarPOS
No edit summary
No edit summary
Line 6: Line 6:
* A Transaction Key, often referred to as a Session Key, Data Key, communications key, or working key, is used to cryptographically process transactions.
* A Transaction Key, often referred to as a Session Key, Data Key, communications key, or working key, is used to cryptographically process transactions.
* In scenarios where different cryptographic functions are used, each function might employ a variant of the Transaction Key.
* In scenarios where different cryptographic functions are used, each function might employ a variant of the Transaction Key.
== WizarPOS Key Hierarchy ==
== Key Hierarchy ==
* '''Two-Layer Hierarchy:'''
* '''Two-Layer Hierarchy:'''
** In WizarPOS devices, the highest-level KEK is known as the Master Key.
** There are two type of keys: Master Key and Session Key.
** In the devices, the highest-level KEK is known as the Master Key.
** The Master Key encrypts Transaction Keys (Session Keys) directly.
** The Master Key encrypts Transaction Keys (Session Keys) directly.
** Session Keys in WizarPOS: These include PIN keys (for encrypting PIN blocks), MAC keys (for MAC calculations), and data keys (for encrypting other data).
** Session Keys: These include PIN keys (for encrypting PIN blocks), MAC keys (for MAC calculations), and data keys (for encrypting other data).
** WizarPOS supports three slots for Session Keys internally, but some external PINPads might only support two slots.
** Each Master Key support three slots for Session Keys internally.
* '''Three-Layer Hierarchy:'''
* '''Three-Layer Hierarchy:'''
** There are three type of keys: Transport Key, Master Key and Session Key.
** Highest Level: Referred to as a Transfer/Transport Key.
** Highest Level: Referred to as a Transfer/Transport Key.
** Middle Level: Known as a Master Key.
** Middle Level: Known as a Master Key, which is encrypted and updated by Transport Key.
** Lowest Level: Called a Session Key, which is encrypted by the Master Key.
** Lowest Level: Called a Session Key, which is encrypted and updated by the Master Key.
** This hierarchy offers an additional layer of security by separating the Transfer/Transport Key from the Master and Session Keys.
== Groups of Keys ==
== Groups of Keys ==
* WizarPOS systems support 50 groups of Master/Session Keys.
* The devices support 50 slots of Master/Session Keys.
== Key Injection ==
== Key Injection ==
* '''Master Key (Two-Layer) & Transfer/Transport Key (Three-Layer):''' For injecting these keys, refer to [[How to Remotely Inject Test Keys (Master Key or DUKPT Key) into a Terminal]] or [[How to Use TMK Delivery System for KeyLoader POS and Master POS]].
* '''Master Key (Two-Layer) & Transfer/Transport Key (Three-Layer):''' For injecting these keys, refer to [[How to Remotely Inject Test Keys (Master Key or DUKPT Key) into a Terminal]] or [[How to Use TMK Delivery System for KeyLoader POS and Master POS]].

Revision as of 01:31, 16 January 2024

Master Key

  • In a hierarchy of Key Encrypting Keys (KEKs) and Transaction Keys, the Master Key represents the highest level of KEK.
  • Distribution Method: Master Keys are typically distributed using physical methods, such as key loading devices, PSAM card or smart card.
  • Replacement: They are replaced using the same methods whenever compromise is suspected or confirmed.

Transaction Key (Session Key)

  • A Transaction Key, often referred to as a Session Key, Data Key, communications key, or working key, is used to cryptographically process transactions.
  • In scenarios where different cryptographic functions are used, each function might employ a variant of the Transaction Key.

Key Hierarchy

  • Two-Layer Hierarchy:
    • There are two type of keys: Master Key and Session Key.
    • In the devices, the highest-level KEK is known as the Master Key.
    • The Master Key encrypts Transaction Keys (Session Keys) directly.
    • Session Keys: These include PIN keys (for encrypting PIN blocks), MAC keys (for MAC calculations), and data keys (for encrypting other data).
    • Each Master Key support three slots for Session Keys internally.
  • Three-Layer Hierarchy:
    • There are three type of keys: Transport Key, Master Key and Session Key.
    • Highest Level: Referred to as a Transfer/Transport Key.
    • Middle Level: Known as a Master Key, which is encrypted and updated by Transport Key.
    • Lowest Level: Called a Session Key, which is encrypted and updated by the Master Key.

Groups of Keys

  • The devices support 50 slots of Master/Session Keys.

Key Injection

Usage

  • For information on how to utilize these keys, please refer to the PINPad description in our SDK.