# US 2022/0284100 A1 · Management of local signing of software packages using a trusted execution environment

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

- Number: US 2022/0284100 A1
- Document ID: US20220284100A1
- Status: Published application
- Kind: A1
- Application number: 17/193,463
- Filed: 2021-03-05
- Published: 2022-09-08
- Earliest claimed: 2021-03-05
- Assignees: Red Hat, Inc.
- Applicants: Red Hat, Inc.
- Inventors: Axel Simon; Michael Hingston McLaughlin Bursell
- Web page: https://patentgrep.com/patent/US20220284100A1

## CPC

- G06F 21/57: Certifying or maintaining trusted computer platforms, e.g. secure boots or power-downs, version controls, system software checks, secure updates or assessing vulnerabilities
- H04L 63/126: {the source of the received data}
- G06F 8/41: Compilation
- G06F 8/44: {Encoding}
- G06F 8/61: Installation
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 21/64: Protecting data integrity, e.g. using checksums, certificates or signatures
- H04L 9/0819: {Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s) (network architectures or network communication protocols for key distribution in a packet data network H04L63/062)}
- H04L 9/14: using a plurality of keys or algorithms
- H04L 9/3236: {using cryptographic hash functions}
- H04L 9/3247: {involving digital signatures}
- H04L 63/04: {for providing a confidential data exchange among entities communicating through data packet networks}
- H04L 63/06: {for supporting key management in a packet data network (cryptographic mechanisms or cryptographic arrangements for key management H04L9/08)}
- G06F 2009/45587: {Isolation or security of virtual machine instances}
- G06F 2221/033: Test or assess software
- G06F 2221/2149: Restricted operating environment
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Systems and methods providing a processing device to receive, by a software build process executing in a trusted execution environment (TEE) of a first computer system, software source code from a second computer system. The processing device generates a software package by compiling the software source code. The processing device also receives, from the second computer system, a signing key associated with the second computer system. The processing device further signs the software package using the signing key associated with the second computer system. The processing device then deploys the signed software package on the first computer system.

## Claims

### Claim 1

A method comprising:
receiving, by a software build process executing in a trusted execution environment (TEE) of a first computer system, software source code from a second computer system;
generating, by the software build process, a software package by compiling the software source code;
receiving, from the second computer system, a signing key associated with the second computer system;
signing the software package using the signing key associated with the second computer system; and
deploying the signed software package on the first computer system.

### Claim 2 (depends on 1)

The method of claim 1, wherein the second computer system is associated with a software vendor of the software source code.

### Claim 3 (depends on 1)

The method of claim 1 further comprises:
responsive to signing the software package with the signing key, discarding the signing key from a memory of the first computer system.

### Claim 4 (depends on 1)

The method of claim 1, wherein generating the software package further comprises:
obtaining environment parameters of the first computer system; and
building the software package from the software source code in view of the environment parameters of the first computer system.

### Claim 5 (depends on 4)

The method of claim 4, wherein building the software package comprises removing parts of the software source code that do not match the environment parameters of the first computer system.

### Claim 6 (depends on 1)

The method of claim 1, wherein the signing key is a private key of a plurality of private keys of the second computer system, and wherein each of the plurality of private keys is associated with a client of the second computer system.

### Claim 7 (depends on 1)

The method of claim 1, wherein the signing key is a private key of a plurality of private keys of the second computer system, and wherein each of the plurality of private keys is associated with a separate version of the software source code.

### Claim 8 (depends on 1)

The method of claim 1, wherein receiving the signing key from the second computer system is performed via a secured communication channel between the first computer system and the second computer system.

### Claim 9 (depends on 1)

The method of claim 1, wherein receiving the signing key from the second computer system is performed responsive to sending, by the first computer system, a request for the signing key to the second computer system.

### Claim 10 (depends on 1)

The method of claim 1 further comprising:
providing the signed software package and a cryptographic signature associated with the signed software package to an operating system of the first computer system; and
installing the signed software package on the first computer system responsive to validating the signed software package using the cryptographic signature.

### Claim 11 (depends on 10)

The method of claim 10 further comprising:
responsive to installing the signed software package, causing the installed software package to be accessible by other computer systems is a same trust domain as the first computer system.

### Claim 12

A system comprising:
a memory; and
a processing device operatively coupled to the memory, wherein the processing device is further to:
receive, by a software build process executing in a trusted execution environment (TEE) of a first computer system, software source code from a second computer system;
generate, by the software build process, a software package by compiling the software source code;
receive, from the second computer system, a signing key associated with the second computer system;
sign the software package using the signing key associated with the second computer system; and
deploy the signed software package on the first computer system.

### Claim 13 (depends on 12)

The system of claim 12, wherein the processing device is further to:
responsive to signing the software package with the signing key, discard the signing key from a memory of the first computer system.

### Claim 14 (depends on 12)

The system of claim 12, wherein the processing device is further to:
provide the signed software package and a cryptographic signature associated with the signed software package to an operating system of the first computer system; and
install the signed software package on the first computer system responsive to validating the signed software package using the cryptographic signature.

### Claim 15 (depends on 12)

The system of claim 12, wherein receiving the signing key from the second computer system is performed via a secured communication channel between the first computer system and the second computer system.

### Claim 16

A non-transitory computer-readable storage medium comprising executable instructions that, when executed by a processing device, cause the processing device to:
receive, by a software build process executing in a trusted execution environment (TEE) of a first computer system, software source code from a second computer system;
generate, by the software build process, a software package by compiling the software source code;
receive, from the second computer system, a signing key associated with the second computer system;
sign the software package using the signing key associated with the second computer system; and
deploy the signed software package on the first computer system.

### Claim 17 (depends on 16)

The non-transitory computer-readable storage medium of claim 16, wherein the second computer system is associated with a software vendor of the software source code.

### Claim 18 (depends on 16)

The non-transitory computer-readable storage medium of claim 16, wherein the signing key is a private key of a plurality of private keys of the second computer system, and wherein each of the plurality of private keys is associated with a client of the second computer system.

### Claim 19 (depends on 16)

The non-transitory computer-readable storage medium of claim 16, wherein to generate the software package, the processing device is further to:
obtain environment parameters of the first computer system; and
build the software package from the software source code based on the environment parameters of the first computer system.

### Claim 20 (depends on 19)

The non-transitory computer-readable storage medium of claim 19, wherein to build the software package based on the environment parameters of the first computer system, the processing device is further to remove parts of the software source code that do not match the environment parameters of the first computer system.
