# US 2016/0365981 A1 · Code signing system with machine to machine interaction

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

- Number: US 2016/0365981 A1
- Document ID: US20160365981A1
- Status: Published application
- Kind: A1
- Application number: 15/179,838
- Filed: 2016-06-10
- Published: 2016-12-15
- Earliest claimed: 2015-06-10
- Assignees: ARRIS Enterprises LLC
- Applicants: ARRIS Enterprises LLC
- Inventors: Alexander Medvinsky; Tat Keung Chan; Alexey Shevchenko
- Web page: https://patentgrep.com/patent/US20160365981A1

## CPC

- H04L 9/3247: {involving digital signatures}
- 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
- G06F 21/645: {using a third party}
- H04L 9/3297: {involving time stamps, e.g. generation of time stamps}
- H04L 63/123: {received data contents, e.g. message integrity}
- H04L 63/0442: {wherein the sending and receiving network entities apply asymmetric encryption, i.e. different keys for encryption and decryption (cryptographic mechanisms or cryptographic arrangements for public-key encryption H04L9/30)}
- 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

An improved code signing method is provided. The code signing method includes receiving a build notification at a package builder utility and retrieving one or more remotely stored code images and build logs identified in the build notification, invoking a code signing module with the package builder utility to request a digital signature from a remote code signing system, combining the requested digital signature with a code image or a manifest file comprising hashes of multiple code images, and storing the signed code image or signed manifest file at a code repository.

## Claims

### Claim 1

A code signing method, comprising:
receiving, at a package builder utility running on a machine client, a build notification from a build server, said build notification identifying one or more code images stored at a code repository and one or more associated build logs stored at said build server;
retrieving, with said package builder utility, said one or more code images from said code repository and said one or more build logs from said build server;
invoking a code signing module on said machine client with said package builder utility;
passing an encrypted password, a file to be signed, and a signing request from said package builder utility to said code signing module;
decrypting said encrypted password into a decrypted password at said code signing module;
preparing an operation request at said code signing module, said operation request comprising an IP address associated with said machine client, said decrypted password, a hash of said file to be signed, and said signing request;
sending said operation request from said code signing module to a code signing system over a one-way secure connection authenticated by said code signing system;
receiving a digital signature for said file to be signed at said code signing module from said code signing system via said secure connection in response to said operation request if said code signing system validates said IP address and said decrypted password, and determines from said IP address that said machine client is authorized to request said signing request;
passing said digital signature from said code signing module to said package builder utility;
combining said digital signature with said file to be signed at said package builder utility to form a signed file; and
transferring said signed file from said package builder utility to said code repository for storage.

### Claim 2 (depends on 1)

The method of claim 1, wherein said file to be signed is a single code image retrieved from said code repository, and said signed file is said single code image combined with said digital signature.

### Claim 3 (depends on 2)

The method of claim 2, further comprising modifying said single code image at said package builder utility prior to passing said single code image to said code signing module.

### Claim 4 (depends on 1)

The method of claim 1, wherein said file to be signed is a manifest file generated by said package builder utility containing hashes of a plurality of code images retrieved from said code repository, and said signed file is said manifest file combined with said digital signature.

### Claim 5 (depends on 1)

The method of claim 1, further comprising sending a notification from said package builder utility to said build server and/or one or more user accounts indicating that said signed file has been stored at said code repository.

### Claim 6 (depends on 1)

The method of claim 1, wherein said code signing module decrypts said encrypted password using a private key protected with a hardware cryptographic token connected to said machine client.

### Claim 7

A code signing method, comprising:
receiving, at a package builder utility running on a machine client, a build notification from a build server, said build notification identifying one or more code images stored at a code repository and one or more associated build logs stored at said build server;
retrieving, with said package builder utility, said one or more code images from said code repository and said one or more build logs from said build server;
invoking a code signing module on said machine client with said package builder utility;
passing a file to be signed and a signing request from said package builder utility to said code signing module;
preparing an authenticator at said code signing module, said authenticator being a data blob comprising a current timestamp, a client digital signature, and a digital certificate comprising an IP address associated with said machine client;
preparing an operation request at said code signing module, said operation request comprising said authenticator, a hash of said file to be signed, and said signing request;
sending said operation request from said code signing module to a code signing system over a one-way secure connection authenticated by said code signing system;
receiving a digital signature for said file to be signed at said code signing module from said code signing system via said secure connection in response to said operation request if said code signing system retrieves said IP address from the digital certificate within said authenticator and validates said IP address, validates said timestamp as being within a predefined time window, validates said client digital signature, and determines from said IP address that said machine client is authorized to request said signing request;
passing said digital signature from said code signing module to said package builder utility;
combining said digital signature with said file to be signed at said package builder utility to form a signed file; and
transferring said signed file from said package builder utility to said code repository for storage.

### Claim 8 (depends on 7)

The method of claim 7, wherein said file to be signed is a single code image retrieved from said code repository, and said signed file is said single code image combined with said digital signature.

### Claim 9 (depends on 8)

The method of claim 8, further comprising modifying said single code image at said package builder utility prior to passing said single code image to said code signing module.

### Claim 10 (depends on 7)

The method of claim 7, wherein said file to be signed is a manifest file generated by said package builder utility containing hashes of a plurality of code images retrieved from said code repository, and said signed file is said manifest file combined with said digital signature.

### Claim 11 (depends on 7)

The method of claim 7, further comprising sending a notification from said package builder utility to said build server and/or one or more user accounts indicating that said signed file has been stored at said code repository.

### Claim 12 (depends on 7)

The method of claim 7, wherein said code signing module retrieves said client digital signature and said digital certificate from a hardware cryptographic token connected to said machine client, said digital signature being generated using a private key protected within said hardware cryptographic token.

### Claim 13

A code signing method, comprising:
receiving, at a package builder utility running on a machine client, a build notification from a build server, said build notification identifying one or more code images stored at a code repository and one or more associated build logs stored at said build server;
retrieving, with said package builder utility, said one or more code images from said code repository and said one or more build logs from said build server;
invoking a code signing module on said machine client with said package builder utility;
passing a file to be signed and a signing request from said package builder utility to said code signing module;
establishing a two-way authenticated secure connection between said code signing module and a code signing system, said code signing module using a digital certificate comprising an IP address associated with said machine client to establish said two-way authenticated secure connection;
preparing an operation request at said code signing module, said operation request comprising a hash of said file to be signed and said signing request;
sending said operation request from said code signing module to a code signing system over said two-way authenticated secure connection;
receiving a digital signature for said file to be signed at said code signing module from said code signing system via said secure connection in response to said operation request if said code signing system extracts said IP address from the digital certificate provided during establishment of said two-way authenticated secure connection, and determines from said IP address that said machine client is authorized to request said signing request;
passing said digital signature from said code signing module to said package builder utility;
combining said digital signature with said file to be signed at said package builder utility to form a signed file; and
transferring said signed file from said package builder utility to said code repository for storage.

### Claim 14 (depends on 13)

The method of claim 13, wherein said file to be signed is a single code image retrieved from said code repository, and said signed file is said single code image combined with said digital signature.

### Claim 15 (depends on 14)

The method of claim 14, further comprising modifying said single code image at said package builder utility prior to passing said single code image to said code signing module.

### Claim 16 (depends on 13)

The method of claim 13, wherein said file to be signed is a manifest file generated by said package builder utility containing hashes of a plurality of code images retrieved from said code repository, and said signed file is said manifest file combined with said digital signature.

### Claim 17 (depends on 13)

The method of claim 13, further comprising sending a notification from said package builder utility to said build server and/or one or more user accounts indicating that said signed file has been stored at said code repository.

### Claim 18 (depends on 13)

The method of claim 13, wherein said code signing module retrieves said digital certificate from a hardware cryptographic token connected to said machine client and utilizes a private key within said hardware cryptographic token to provide client-side authentication when establishing said two-way authenticated secure connection.
