# US 2022/0284101 A1 · Management of building 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/0284101 A1
- Document ID: US20220284101A1
- Status: Published application
- Kind: A1
- Application number: 17/193,483
- 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/US20220284101A1

## 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/44: {Encoding}
- G06F 8/61: Installation
- H04L 9/3247: {involving digital signatures}
- H04L 63/0823: {using certificates (cryptographic mechanisms or cryptographic arrangements for entity authentication involving certificates H04L9/3263)}
- 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 generates a first signature of the software package and sends the first signature to the second computer system. Responsive to receiving, from the second computer system, a second signature comprising the first signature signed by the second computer system, the processing device further deploys the 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;
generating a first signature of the software package;
sending the first signature to the second computer system; and
responsive to receiving, from the second computer system, a second signature comprising the first signature signed by the second computer system, deploying the 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, wherein the first signature of the software package comprises a hash value of the software package, wherein the hash value is generated using a secure cryptographic hash function.

### 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 second signature is signed by the second computer system using a private key of a plurality of private keys of the second computer system, 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 second signature is signed by the second computer system using a private key of a plurality of private keys of the second computer system, 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 sending the first signature to 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 sending the first signature to the second computer system is performed responsive to receiving a confirmation from the second computer system approving communication with the software build process.

### Claim 10 (depends on 1)

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

### Claim 11 (depends on 10)

The method of claim 10 further comprising:
responsive to installing the 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, a software source code from a second computer system;
generate a software package by compiling the software source code;
generate a first signature of the software package;
sign the first signature using a self-signed certificate of the first computer system to generate a second signature;
send the second signature to the second computer system; and
responsive to receiving, from the second computer system, a third signature comprising the second signature signed by the second computer system, deploying the software package on the first computer system.

### Claim 13 (depends on 12)

The system of claim 12, wherein the processing device is further to:
receive, from the second computer system, a full chain of trust certificate associated with the third signature.

### Claim 14 (depends on 13)

The system of claim 13, wherein the processing device is further to:
provide the software package, the full chain of trust certificate, and the third signature to an operating system of the first computer system; and
install the software package on the first computer system responsive to validating the software package using the third signature and the full chain of trust certificate.

### Claim 15 (depends on 12)

The system of claim 12, wherein sending the first signature to 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, at 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 a software package by compiling the software source code;
generate a first signature of the software package;
send the first signature to the second computer system; and
responsive to receiving, from the second computer system, a second signature comprising the first signature signed by the second computer system, deploy the 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 first signature of the software package comprises a hash value of the software package, wherein the hash value is generated using a secure cryptographic hash function.

### 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.
