# US 2021/0288799 A1 · Determining key server type and key server redundancy information to enable encryption

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0288799 A1
- Document ID: US20210288799A1
- Status: Published application
- Kind: A1
- Application number: 16/816,148
- Filed: 2020-03-11
- Published: 2021-09-16
- Earliest claimed: 2020-03-11
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Jacob Lee Sheppard; Roger G. Hathorn; Igor Popov
- Web page: https://patentgrep.com/patent/US20210288799A1

## CPC

- H04L 9/0894: {Escrow, recovery or storing of secret information, e.g. secret key escrow or cryptographic key storage}
- H04L 9/083: {involving central third party, e.g. key distribution center [KDC] or trusted third party [TTP]}
- H04L 9/0891: {Revocation or update of secret information, e.g. encryption key update or rekeying}
- H04L 9/3268: {using certificate validation, registration, distribution or revocation, e.g. certificate revocation list [CRL]}
- H04L 63/062: {for key distribution, e.g. centrally by trusted party (cryptographic mechanisms or cryptographic arrangements for key distribution involving a central third party H04L9/0819)}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Provided are a computer program product, system, and method for determining key server type and key server redundancy information to enable encryption. A first key server type for a first protocol is indicated in a key server type field in response to determining a current protocol used to communicate with the key server comprises the first protocol. A query information request is submitted to the key server to determine a key server type in response to determining that the current protocol comprises the second protocol. The second key server type indicated in the response to the query information request is indicated in the key server type field in response to the response indicating the second key server type. The first or second type of key server indicated in the key server type field is used to determine information to include in a key retrieval request.

## Claims

### Claim 1

A computer program product for obtaining key server information to use to communicate with a key server, wherein the computer program product comprises a computer readable storage medium having program instructions executable by a processor to cause operations, the operations comprising:
determining whether a current protocol used to communicate with the key server comprises a first protocol or a second protocol;
indicating, in a key server type field, a first key server type for the first protocol in response to determining the current protocol comprises the first protocol;
submitting a query information request to the key server to determine a key server type in response to determining that the current protocol comprises the second protocol;
in response to receiving a response to the query information request, determining whether the response indicates a second key server type;
indicating in the key server type field the second key server type indicated in the response in response to the response indicating the second key server type; and
using the first or second type of key server indicated in the key server type field to determine information to include in a key retrieval request to submit to the key server to obtain an encryption key to use for operations.

### Claim 2 (depends on 1)

The computer program product of claim 1, wherein the operations further comprise:
sending key requests to two key servers in response to the key server type field indicating the first key server type as part of a verification of key server redundancy;
indicating verification of key server redundancy in response to obtaining the key from at least two key servers and the key server type field indicating the second key server type;
sending a redundancy information request to the key server to request a redundancy status at the key server in response to the key server type field indicating the second key server type; and
failing verification of the key server redundancy in response to not receiving keys in response to the key requests to the two key servers or from the redundancy information request not yielding a confirmation of key server redundancy.

### Claim 3 (depends on 2)

The computer program product of claim 2, wherein the sending the key requests to two key servers is performed after indicating in the key server type field the first key server type or the second key server type.

### Claim 4 (depends on 3)

The computer program product of claim 3, wherein the sending of the key requests for the verification of key server redundancy is performed as part of one of encryption enablement, a rekey operation to obtain a new encryption key, and a certificate update.

### Claim 5 (depends on 4)

The computer program product of claim 4, wherein the operations further comprise:
indicating unknown in the key server type field in response to an encryption disablement operation.

### Claim 6 (depends on 1)

The computer program product of claim 1, wherein the operations further comprise:
sending a get key request to configured key servers after indicating in the key server type field the first or second key server type; and
indicating verification of key server redundancy in response to receiving a key from each of the configured key servers and determining one of whether the key server type is the first key server type and the current protocol comprises the second protocol.

### Claim 7 (depends on 1)

The computer program product of claim 1, wherein the operations performed after indicating in the key server type field the first or second key server type further comprise:
submitting a query information request to the key server to determine key server redundancy status in response to determining that the current protocol comprises the first protocol;
indicating an error in response to a response to the query information request not indicating the key server redundancy status; and
indicating an error in response to the response to the query information indicating that a key is not replicated to redundant key servers.

### Claim 8 (depends on 1)

The computer program product of claim 1, wherein the operations of determining whether the current protocol comprises the first or second protocol, indicating in the key server type field the first key server type, submitting the query information request to the key server, determining whether the response indicates the second key server type, and indicating in the key server type field the second key server type are performed as part of execution of a cold boot procedure in which encryption is indicated as enabled, wherein the key is obtained after indicating the first or second key server type in the key server type field, wherein the operations further comprise:
setting an encryption state to accessible in response to receiving the key in response to the key retrieval request; and
setting an encryption state to inaccessible in response to not receiving the key in response to the key retrieval request or in response to the response not indicating the second key server type.

### Claim 9

A computer program product for obtaining key server information to use to communicate with a key server, wherein the computer program product comprises a computer readable storage medium having program instructions executable by a processor to cause operations, the operations comprising:
providing, for each protocol of a plurality of protocols, a key server information rule indicating an action to take to identify a key server for an associated protocol, wherein a first key server information rule indicates a first key server type for a first protocol, and a second key server information rule indicates a submit query information request to a key server for a second protocol;
indicating in a key server type field the first key server type for the first protocol indicated in the first key server information rule in response to determining a current protocol used to communicate with the key server comprises the first protocol;
submitting a query information request to the key server indicated in the second key server information rule in response to determining that the current protocol comprises the second protocol; and
using the first or second type of key server indicated in the key server type field to determine information to include in a key retrieval request to submit to the key server to obtain an encryption key to use for operations.

### Claim 10 (depends on 9)

The computer program product of claim 9, wherein the operations further comprise:
providing, for each key server type of a plurality of key server types, a verification redundancy status rule indicating a verification action to take to determine redundancy status of the key server, wherein a first verification redundancy status rule for a first key server type indicates that redundancy is verified in response to receiving a key from at least two key servers, and wherein a second verification redundancy status rule indicates to submit a request for redundancy information to the key server when the key server is indicated as the second key server type.

### Claim 11

A system for obtaining key server information to use to communicate with a key server, comprising:
a processor; and
a computer readable storage medium having program instructions that when executed by the processor causes operations, the operations comprising:
determining whether a current protocol used to communicate with the key server comprises a first protocol or a second protocol;
indicating in a key server type field a first key server type for the first protocol in response to determining the current protocol comprises the first protocol;
submitting a query information request to the key server to determine a key server type in response to determining that the current protocol comprises the second protocol;
in response to receiving a response to the query information request, determining whether the response indicates a second key server type;
indicating in the key server type field the second key server type indicated in the response in response to the response indicating the second key server type; and
using the first or second type of key server indicated in the key server type field to determine information to include in a key retrieval request to submit to the key server to obtain an encryption key to use for operations.

### Claim 12 (depends on 11)

The system of claim 11, wherein the operations further comprise:
sending key requests to two key servers in response to the key server type field indicating the first key server type as part of a verification of key server redundancy;
indicating verification of key server redundancy in response to obtaining the key from at least two key servers and the key server type field indicating the second key server type;
sending a redundancy information request to the key server to request a redundancy status at the key server in response to the key server type field indicating the second key server type; and
failing verification of the key server redundancy in response to not receiving keys in response to the key requests to the two key servers or from the redundancy information request not yielding a confirmation of key server redundancy.

### Claim 13 (depends on 12)

The system of claim 12, wherein the sending the key requests to two key servers is performed after indicating in the key server type field the first key server type or the second key server type.

### Claim 14 (depends on 11)

The system of claim 11, wherein the operations further comprise:
sending a get key request to configured key servers after indicating in the key server type field the first or second key server type; and
indicating verification of key server redundancy in response to receiving a key from each of the configured key servers and determining one of whether the key server type is the first key server type and the current protocol comprises the second protocol.

### Claim 15 (depends on 11)

The system of claim 11, wherein the operations performed after indicating in the key server type field the first or second key server type further comprise:
submitting a query information request to the key server to determine key server redundancy status in response to determining that the current protocol comprises the first protocol;
indicating an error in response to a response to the query information request not indicating the key server redundancy status; and
indicating an error in response to the response to the query information indicating that a key is not replicated to redundant key servers.

### Claim 16 (depends on 11)

The system of claim 11, wherein the operations of determining whether the current protocol comprises the first or second protocol, indicating in the key server type field the first key server type, submitting the query information request to the key server, determining whether the response indicates the second key server type, and indicating in the key server type field the second key server type are performed as part of execution of a cold boot procedure in which encryption is indicated as enabled, wherein the key is obtained after indicating the first or second key server type in the key server type field, wherein the operations further comprise:
setting an encryption state to accessible in response to receiving the key in response to the key retrieval request; and
setting an encryption state to inaccessible in response to not receiving the key in response to the key retrieval request or in response to the response not indicating the second key server type.

### Claim 17

A system for obtaining key server information to use to communicate with a key server, comprising:
a processor; and
a computer readable storage medium having program instructions that when executed by the processor causes operations, the operations comprising:
providing, for each protocol of a plurality of protocols, a key server information rule indicating an action to take to identify a key server for an associated protocol, wherein a first key server information rule indicates a first key server type for a first protocol, and a second key server information rule indicates a submit query information request to a key server for a second protocol;
indicating in a key server type field the first key server type for the first protocol indicated in the first key server information rule in response to determining a current protocol used to communicate with the key server comprises the first protocol;
submitting a query information request to the key server indicated in the second key server information rule in response to determining that the current protocol comprises the second protocol; and
using the first or second type of key server indicated in the key server type field to determine information to include in a key retrieval request to submit to the key server to obtain an encryption key to use for operations.

### Claim 18 (depends on 17)

The system of claim 17, wherein the operations further comprise:
providing, for each key server type of a plurality of key server types, a verification redundancy status rule indicating a verification action to take to determine redundancy status of the key server, wherein a first verification redundancy status rule for a first key server type indicates that redundancy is verified in response to receiving a key from at least two key servers, and wherein a second verification redundancy status rule indicates to submit a request for redundancy information to the key server when the key server is indicated as the second key server type.

### Claim 19

A method for obtaining key server information to use to communicate with a key server, comprising:
determining whether a current protocol used to communicate with the key server comprises a first protocol or a second protocol;
indicating in a key server type field a first key server type for the first protocol in response to determining the current protocol comprises the first protocol;
submitting a query information request to the key server to determine a key server type in response to determining that the current protocol comprises the second protocol;
in response to receiving a response to the query information request, determining whether the response indicates a second key server type;
indicating in the key server type field the second key server type indicated in the response in response to the response indicating the second key server type; and
using the first or second type of key server indicated in the key server type field to determine information to include in a key retrieval request to submit to the key server to obtain an encryption key to use for operations.

### Claim 20 (depends on 19)

The method of claim 19, further comprising:
sending key requests to two key servers in response to the key server type field indicating the first key server type as part of a verification of key server redundancy;
indicating verification of key server redundancy in response to obtaining the key from at least two key servers and the key server type field indicating the second key server type;
sending a redundancy information request to the key server to request a redundancy status at the key server in response to the key server type field indicating the second key server type; and
failing verification of the key server redundancy in response to not receiving keys in response to the key requests to the two key servers or from the redundancy information request not yielding a confirmation of key server redundancy.

### Claim 21 (depends on 20)

The method of claim 20, wherein the sending the key requests to two key servers is performed after indicating in the key server type field the first key server type or the second key server type.

### Claim 22 (depends on 21)

The method of claim 21, wherein the sending of the key requests for the verification of key server redundancy is performed as part of one of encryption enablement, a rekey operation to obtain a new encryption key, and a certificate update.

### Claim 23 (depends on 19)

The method of claim 19, further comprising:
sending a get key request to configured key servers after indicating in the key server type field the first or second key server type; and
indicating verification of key server redundancy in response to receiving a key from each of the configured key servers and determining one of whether the key server type is the first key server type and the current protocol comprises the second protocol.

### Claim 24 (depends on 19)

The method of claim 19, wherein the operations performed after indicating in the key server type field the first or second key server type further comprise:
submitting a query information request to the key server to determine key server redundancy status in response to determining that the current protocol comprises the first protocol;
indicating an error in response to a response to the query information request not indicating the key server redundancy status; and
indicating an error in response to the response to the query information indicating that a key is not replicated to redundant key servers.

### Claim 25 (depends on 19)

The method of claim 19, wherein the operations of determining whether the current protocol comprises the first or second protocol, indicating in the key server type field the first key server type, submitting the query information request to the key server, determining whether the response indicates the second key server type, and indicating in the key server type field the second key server type are performed as part of execution of a cold boot procedure in which encryption is indicated as enabled, wherein the key is obtained after indicating the first or second key server type in the key server type field, wherein the operations further comprise:
setting an encryption state to accessible in response to receiving the key in response to the key retrieval request; and
setting an encryption state to inaccessible in response to not receiving the key in response to the key retrieval request or in response to the response not indicating the second key server type.
