Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 12 of 15

Ingenico 6780 User's Guide: 9 Key Architecture

Pages 94 to 101 of 119, from Ingenico 6780 User's Guide

The original document is the PDF (1.1 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Ingenico i6780

Page 94

Chapter 9

Key Architecture Overview

9.1

This chapter is extracted from the document NAR System & Security Application (SSA) Software Architecture, Key Architecture section, revision 1.19. Figure 4 on page 87 provides an overview of the Ingenico 6780’s key architecture. A default key is used for the highest level, Sponsor Key KTK (Key Transfer Key). Customers can change the sponsor key. Figure 4 shows the sponsor key under the terminal ID because the sponsor key is unique per terminal. All keys indicated are loaded by the financial institution or authorized injection facility. The cryptographic keys must be injected into the i6780 terminal in a Key Secure Room. The KTK is the only key that can be transported in the clear between the Key Injection Utility and the device. The rest of the keys may be generated randomly, entered in the system as cryptograms, or entered by key parts using principles of both split knowledge and dual control. Use a key injection utility, such as Ingenico’s WinKeyFac software program, to perform these functions and to set security options (see “Security Options” on page 89). Financial keys (Master/Session and DUKPT) can be based on an application or a terminal. By default, all financial keys are based on an application, as shown in Figure 4. By changing the value of the Financial Key security option (see “Financial Key Option” on page 93), you can make all financial keys based on a terminal; however, this will erase all previously injected financial keys. Some keys are segregated by application. The application number is part of the application name. Once the keys are injected, the application number is used as the application reference. When the application calls a cryptographic function, it passes the application reference as the application name. The SSA will check that the caller passes the application name, and from the name, it will determine the number that defines the injected key set. Single-length DES keys have a length of 8 bytes. Double-length triple DES keys have a length of 16 bytes. The level of the specific key set indicates the position of the key set in the internal key hierarchy. For example, keys at Level 1 (sponsor keys) are loaded in clear text and sit at the top of the key hierarchy. Keys at Level 2 are loaded encrypted under the keys at Level 1. Keys at Level 3 are loaded encrypted under the keys at Level 2. Loading a key at a higher level will cause the erasure of all the related lower level keys. The following sections describe each key.

86

Chapter 9 Key Architecture Section 9.1 Overview

Page 95

Figure 4 Key Architecture

9.2

9.3

Sponsor Key (KTK) Key Name

Index

Length

Description of Key

Sponsor key (KTK, key transfer key, also known as TMK)

0

16

This key will be loaded as clear text. All Level 2 keys will be transferred to the debit terminal encrypted under this key. A default key is set if no customer key is injected.

Terminal Based Keys Key Name

Index

Length

Description of Key

Secure Text Entry Form Authorization Key (PEFMK)

1

8/16

This key is loaded encrypted under the KTK. All prompts and/or screens used for Secure Text Entry of all applications will be authenticated using this key if the Prompts Authentication Key security option is set to terminal based (0).

Clear Text Entry Form Authorization Key (CEFMK)

2

8/16

This key is loaded encrypted under the KTK. All prompts and/or screens used for Clear Text Entry of all applications will be authenticated using this key if Prompts Authentication Key security option is set to terminal based (0).

Application Download Authorization Key (CDMK)

3

8/16

This key is the variant of KTK. It will be used to verify the MAC value of the fingerprint of the code being downloaded into the device. Code MACing always uses the Application Download Authorization Key.

Ingenico 6780 User’s Guide

87

Page 96

9.4

Application Based Keys

9.4.1

Special Keys Special keys are loaded encrypted under the KTK. The SSA will have a key structure matrix indexed by application ID. These keys can be both single-length DES keys and double-length triple DES keys. These two Application Special Keys are only used if the Prompts Authentication Key security option is set to 1 (application based, see section 9.5.1 on page 90). If Prompt MACing is also enabled, the Secure Text and Clear Text prompts will be verified with these two keys. If the Prompts Authentication Key is set to 0 (terminal based), the terminal-based keys are used instead (see section 9.3 on page 87).

Key Name

Index

Length

Description of Key

Secure Text Entry Form Authorization Key

1

8/16

This key is loaded encrypted under the KTK. All prompts and/or screens used for Secure Text Entry of the application will be authenticated using this key if the Prompts Authentication Key security option is set to application based (1).

Clear Text Entry Form Authorization Key

2

8/16

This key is loaded encrypted under the KTK. All prompts and/or screens used for Clear Text Entry of the application will be authenticated using this key if the Prompts Authentication Key security option is set to application based (1).

Master Keys

9.4.2

Master keys are loaded encrypted under the KTK or current Master Key. For applicationbased financial keys, the SSA will have a key structure matrix indexed by application ID. The device can accommodate up to ten master keys per application, or 64 master keys per terminal. Each key is independent and used to transport the corresponding working (session) key. Available indexes for master keys are 0 – 9 per application or 0 – 63 per terminal. These keys can be both single-length DES keys and double-length triple DES keys. The device supports four types of master keys.

88

Key Name

Description of Key

Master Terminal PIN Key (MTPK)

This key is used to encrypt the Working (session) Terminal PIN Key (WTPK).

Master Message Authentication Code Key (MMACK)

This key is used to encrypt the Working (session) Message Authentication Code Key (WMACK).

Master Communication

This key is used to encrypt the Working (session) Communication Key (WCK). Chapter 9 Key Architecture Section 9.4 Application Based Keys

Page 97

Key (MCK) Master Atalla Key

9.4.3

This key is used to XOR a value for PIN entry, MAC, or encrypt/decrypt to form master variant keys to decrypt for PIN entry, MAC, and COM session keys.

Session Keys These keys are loaded encrypted under the corresponding master keys. This means that the type and index of the working (session) key have to match the type and index of the corresponding master key that was used to encrypt it. For application based financial keys, the SSA will have a key structure matrix indexed by application ID. The device can accommodate up to ten working (session) keys per application, or up to 64 working (session) keys per terminal. Available indexes for the working (session) keys are 0 – 9 per application or 0 – 64 per terminal. These keys can be both single-length DES keys and double-length triple DES keys. Similar to the master keys, the device supports four types of working (session) keys.

9.4.4

Key Name

Description of Key

Working (session) Terminal PIN Key (WTPK)

This key is loaded encrypted under the corresponding Master Terminal PIN Key. It is used to encrypt the customer PIN for transmission to the host.

Working (session) Message Authentication Code Key (WMACK)

This key is loaded encrypted under the corresponding Master Message Authentication Code Key. It is used to authenticate the customer transaction.

Working (session) Communication Key (WCK)

This key is loaded encrypted under the corresponding Master Communication Key. It is used to encrypt customer transaction data between the debit terminal and the host.

Working (session) Atalla Key

This key is decrypted by the Master Atalla Variant Key, which is created from the Master Atalla Key according to the type of operation to be performed.

DUKPT Keys The Initial PIN Pad Keys (IPPKs) are loaded encrypted under the KTK. The device can accommodate up to ten separate DUKPT engines. Each engine is initialized with an IPPK. Available indexes for the DUKPT engines are 0 – 9. The IPPKs can be both single-length DES keys and double-length triple DES keys.

9.5

Security Options This section provides a synopsis of each security option. All the security options can be loaded during key injection. The user application can request the security options setting from an SSA API.

Ingenico 6780 User’s Guide

89

Page 98

Prompts Authentication Key Options

9.5.1

This option controls whether the prompt authentication keys are based on the terminal or the application. These options will be used when doing any secure data entry. When prompt MACing is enabled and the prompts authentication key security option is set to 0 (terminal based), at data entry time, the secure text and clear text prompts will be verified with the terminal-based special keys. When prompt MACing is enabled and the prompts authentication key security option is set to 1 (application based), at data entry time, the secure text and clear text prompts will be verified with application based special keys.

Possible Values

Description

0

Prompts authentication key is terminal based. If Prompt MACing is also enabled, the form’s prompt display will be authenticated by the terminal-based clear text key and security text key. (Default)

1

Prompts authentication key is application based. The form's prompt display is authenticated by an application-based clear text key or a security text key.

Change Terminal ID Option

9.5.2

This option controls the financial keys existence once the terminal ID is re-loaded.

Possible Values

Description

0

Changing Terminal ID will not erase all keys. (Default) Once the terminal ID is re-injected through the key injection process, the existing keys will be retained.

1

Changing Terminal ID will erase the keys. Once the terminal ID is re-injected, all of the financial keys, including Master/Session and DUKPT keys, will be erased.

Prompt MACing

9.5.3

Prompt MACing controls how a data entry form’s display prompts are shown.

Possible Values

Status

Description

0

Disabled

Prompts are not authenticated before being displayed the screen. (Default)

1

Enabled

Prompts are authenticated and then displayed on the screen.

Prompt MACing uses a key that depends on how the form/prompt authentication option is set. If set to:

90

Chapter 9 Key Architecture Section 9.5 Security Options

Page 99

ƒ

Terminal based, Prompt MACing will use terminal based clear text key if the form is set to clear text entry. It will use the terminal-based security text key if the form is set to secure text entry.

ƒ

Application based, Prompt MACing will use application based clear text key if the form is set to clear text entry. It will use the application-based security text key if the form is set to security text entry.

Prompt MACing will be used to authenticate the prompts during the data entry process and the load font process.

9.5.4

Code MACing Code MACing controls how code files are updated.

Possible Values

Status

Description

0

Disabled

No authentication is performed on code file updates. (Default)

1

Enabled

Special authentication is performed on code file updates.

Code MACing verifies that only certified applications and files are loaded into the device. During security download, if Code MACing is enabled, all the code files will be authenticated after they are downloaded. The authentication method is given in the certificate file, which includes NONE, SHA1+MAC, MAC, etc.

9.5.5

Double-Length Key MAC Calculation This option controls how the MAC calculation algorithm operates when the MAC key is a double-length key. This setting only applies to MAC calculation in financial transactions.

Possible Values

Encryption

Description

0

EDE (encrypt, decrypt, encrypt)

Double-length key encryption on each block of data. (Default)

1

E (encrypt)

Single-length key encryption on each block of data, except for the last block, which uses EDE encryption.

Ingenico 6780 User’s Guide

91

Page 100

Atalla Key Block Protection Option

9.5.6

This option controls whether the double-length master/session key injection is protected by the Atalla key block injection. If the option is enabled, double-length master or session key can only be injected through Atalla key block.

Possible Values

Status

Description

0

Disabled

No protection is applied. Double-length master/session key can be injected through any format. (Default)

1

Enabled

Protection is applied. ƒ

Double-length master key and double-length session key can only be injected through Atalla key block. They cannot be injected through the normal key format.

ƒ

Single-length master/session keys, Atalla key block format keys, single or double feature keys, and single or double DUKPT keys can be injected through both the normal key format and Atalla key block format.

Terminal Startup Verify MAC Option

9.5.7

This option controls whether the terminal needs to verify the MAC at terminal startup for user application code files and data files that are contained in a valid certificate file. The default value is disabled because the manufacturer does not load the certificate file.

Possible Values

Status

Description

0

Disabled

Disable startup verify MAC option. (Default)

1

Enabled

Enable startup verify MAC option.

Visa PED Mode Option

9.5.8

This option controls whether the terminal runs in Visa PED mode. In this mode, if prompt MAC verification fails, PIN exhaustion validation and the three button limit will be applied when prompt MAC verification fails.

92

ƒ

PIN exhaustion validation means that the customer can only enter their PIN three times; after the third failed attempt, the terminal returns to the idle prompt.

ƒ

The three button limit means that forms that do not have Prompt MACing are limited to three buttons. If the form requires more than three data inputs, such as PIN entry or cash back amount, it must have prompt MACing.

Possible Values

Status

Description

0

Disabled

Normal mode.

1

Enabled

Visa PED mode.

Chapter 9 Key Architecture Section 9.5 Security Options

Page 101

9.5.9

Financial Key Option This option controls whether the financial keys are application based or terminal based. Caution: If you change this security option, previously loaded financial keys will be lost.

Possible Values

Status

Description

0

Disabled

Financial keys are application based. (Default) For application based financial keys, SSA supports 10 Master/Session keys and 10 DUKPT keys per application.

1

Enabled

Financial keys are terminal based. For terminal based financial keys, SSA supports 64 Master/Session keys and 10 DUKPT keys per terminal.

Ingenico 6780 User’s Guide

93