# US 2020/0396070 A1 · Storage of cryptographic information

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

- Number: US 2020/0396070 A1
- Document ID: US20200396070A1
- Status: Published application
- Kind: A1
- Application number: 17/006,139
- Filed: 2020-08-28
- Published: 2020-12-17
- Earliest claimed: 2015-12-03
- Assignees: Amazon Technologies, Inc.
- Applicants: Amazon Technologies, Inc.
- Inventors: Gregory Alan Rubin; Benjamin Philip Grubin
- Web page: https://patentgrep.com/patent/US20200396070A1

## CPC

- H04L 9/0897: {involving additional devices, e.g. trusted platform module [TPM], smartcard or USB}
- G06F 21/602: {Providing cryptographic facilities or services}
- G06F 21/6209: {to a single file or object, e.g. in a secure envelope, encrypted and accessed using a key, or with access control rules appended to the object itself}
- G06F 21/78: to assure secure storage of data (address-based protection against unauthorised use of memory G06F12/14; record carriers for use with machines and with at least a part designed to carry digital markings G06K19/00)
- H04L 9/0822: {using key encryption key}
- H04L 9/0825: {using asymmetric-key encryption or public key infrastructure [PKI], e.g. key signature or public key certificates}
- H04L 9/0836: {using tree structure or hierarchical structure}
- H04L 9/0877: {using additional device, e.g. trusted platform module [TPM], smartcard, USB or hardware security module [HSM]}
- H04L 9/0891: {Revocation or update of secret information, e.g. encryption key update or rekeying}
- H04L 9/3247: {involving digital signatures}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Fault-tolerant storage of cryptographic information maintained on a fleet of HSMs may be provided by dividing the cryptographic information into a number of stripes which are distributed and stored on individual HSMs in the HSM fleet. Parity information is generated which allows one or more stripes to be regenerated if one or more stripes becomes corrupt or is lost. The parity information may be stored on an HSM in the HSM fleet, or outside the fleet on a storage service, HSM management hub, tangible computer-readable media, or other device. If an HSM in the HSM fleet fails, resulting in the loss of a stripe, an HSM in the fleet can recover the missing stripe by re-creating the missing stripe from the remaining stripes combined with the parity information. In some examples, stripes are mirrored within the fleet of HSMs.

## Claims

### Claim 1

A computer-implemented method comprising:
generating a determination to allow a first hardware security module to obtain access to a first subset of cryptographic keys of a set of cryptographic keys stored by a fleet of hardware security modules of which the first hardware security module is a member, where hardware security modules of the fleet of hardware security modules have access to a fleet key;
causing the first hardware security module to transmit a request for parity information associated with the first subset of cryptographic keys; and
causing the first hardware security module to generate the first subset of cryptographic keys based at least in part on the parity information and a second subset of cryptographic keys of the set of cryptographic keys, where the first hardware security module is able to access the second subset of cryptographic keys.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein:
the parity information is retained on a network-based data storage service that does not have access to the fleet key; and
the parity information is encrypted with the fleet key.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein the computer-implemented method further comprises:
determining a second hardware security module to add to the fleet of hardware security modules; and
adding the second hardware security module to the fleet of hardware security modules by at least causing the first hardware security module to provide the set of cryptographic keys to the second hardware security module.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein the parity information is generated using a Reed Solomon encoding of the set of cryptographic keys.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein the request for parity information further includes a digital signature generated based at least in part on the fleet key.

### Claim 6 (depends on 5)

The computer-implemented method of claim 5, wherein the parity information further comprises Reed Solomon codes.

### Claim 7

A system comprising:
one or more processors; and
memory storing instructions that, as a result of being executed by the one or more processors, cause the system to:
determine that a first cryptographic key of a set of cryptographic keys maintained by the system is unavailable, where the set of cryptographic keys is maintained by a fleet of hardware security modules of which the system is a member;
transmit a request for parity information associated with the first cryptographic key from a hardware security module of the fleet of hardware security modules;
obtain parity information by at least decrypting encrypted parity information with a fleet key associated with the fleet of hardware security modules; and
regenerate the first cryptographic key based at least in part on the parity information.

### Claim 8 (depends on 7)

The system of claim 7, wherein the memory further includes instructions that, as a result of being executed by the one or more processors, cause the system to transmit the parity information to a second hardware security module within the fleet of hardware security modules to allow the second hardware security module to regenerate at least one cryptographic key based at least in part on the parity information.

### Claim 9 (depends on 7)

The system of claim 7, wherein the parity information further comprises a set of erasure codes.

### Claim 10 (depends on 9)

The system of claim 9, wherein the memory further includes instructions that, as a result of being executed by the one or more processors, cause the system to:
generate the parity information representing the set of cryptographic keys;
encrypt the parity information with the copy of the fleet key to generate the encrypted parity information; and
provide the encrypted parity information to the storage service.

### Claim 11 (depends on 7)

The system of claim 7, wherein the request for the parity information further includes a digital signature generated based at least in part on the fleet key.

### Claim 12 (depends on 7)

The system of claim 7, wherein the memory further includes instructions that, as a result of being executed by the one or more processors, cause the system to provide a second hardware security module with the fleet key and the first cryptographic key.

### Claim 13

A non-transitory computer-readable storage medium having stored thereon executable instructions that, as a result of being executed by one or more processors of a computer system that is in communication with a number of hardware security modules, cause the computer system to at least:
determine that a hardware security module has lost access to a subset of cryptographic information, the subset of cryptographic information belonging to a collection of subsets of cryptographic information stored by a fleet of hardware security modules, a first hardware security module of the fleet of hardware security modules having access to a copy of a fleet key;
retrieve the subset of cryptographic information from the fleet of hardware security modules; and
regenerate the subset of cryptographic information by at least combining the subset of cryptographic information with error correcting code information.

### Claim 14 (depends on 13)

The non-transitory computer-readable storage medium of claim 13, wherein the instructions further comprise instructions that, as a result of being executed by the one or more processors, cause the computer system to:
identify a second hardware security module that belongs to the fleet of hardware security modules; and
cause the second hardware security module to generate the error correcting code information based at least in part on the cryptographic information.

### Claim 15 (depends on 13)

The non-transitory computer-readable storage medium of claim 13, wherein the subset of cryptographic information is encrypted with the fleet key.

### Claim 16 (depends on 13)

The non-transitory computer-readable storage medium of claim 13, wherein:
the error correcting code information allows recovery of a plurality of subsets of cryptographic information of the collection of subsets of cryptographic information stored by the fleet of hardware security modules; and
the error correcting code information is stored by a plurality of storage devices.

### Claim 17 (depends on 13)

The non-transitory computer-readable storage medium of claim 13, wherein the instructions further comprise instructions that, as a result of being executed by the one or more processors, cause the computer system to determine that the hardware security module has failed by at least:
retrieving the collection of subsets of cryptographic information;
determining expected error correcting code information for the collection of subsets of cryptographic information; and
comparing the error correcting code information to the expected error correcting code information.

### Claim 18 (depends on 13)

The non-transitory computer-readable storage medium of claim 13, wherein the instructions further comprise instructions that, as a result of being executed by the one or more processors, cause the computer system to:
receive a block of cryptographic information, the block of cryptographic information encrypted with the fleet key;
identify a collection of subsets from the block of cryptographic information;
generate an error correcting code subset for the collection of subsets, the error correcting code subset allowing recovery of at least one missing subset of the collection of subsets;
distribute the collection of subsets to the fleet of hardware security modules; and
cause the error correcting code subset to be retained.

### Claim 19 (depends on 18)

The non-transitory computer-readable storage medium of claim 18, wherein the error correcting code subset is generated by combining each subset in the collection of subsets with an Exclusive Or operation.

### Claim 20 (depends on 18)

The non-transitory computer-readable storage medium of claim 18, wherein the instructions further comprise instructions that, as a result of being executed by the one or more processors, cause the computer system to encrypt the error correcting code subset with the fleet key.
