Container Image Signing for Digest-Based Integrity Verification

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Ensuring the integrity and security of container images is a critical issue in cloud computing, as image security directly affects the security of containers and underlying infrastructure, with existing methods lacking effective mechanisms for image management and authentication.

Innovation Solution

An image management method and apparatus that involves receiving signer and image information, generating a signature file based on the signer's identity and image content, and verifying the digest of the image to ensure its integrity before allowing container startup, thereby enhancing security and reducing operational complexity.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If a traditional image management method is used, then the image can be pushed and pulled freely, but the integrity and security of the image cannot be ensured

Engineering Contradiction:
Improveimage integrity and securityVSAvoidimage management complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent applies preliminary action by requiring the image to be signed before it is pushed to the registry. The signer generates a signature file containing a digest of the image content, and this signature is attached to the image metadata before the image is made available for pulling. This ensures that the image integrity is verified in advance, preventing tampered images from being deployed while maintaining a streamlined management process.

Inventive Principle:
Principle #10Preliminary action

2Ease of manufacture

If the signer generates key pairs and stores keys locally, then the image can be signed, but the operation complexity and security risks increase

Engineering Contradiction:
Improvesigning operation simplicityVSAvoidsecurity risks from key storage
Core Design Contradiction:
Ease of manufactureVSObject-affected harmful factors

Solution Approach 1:

The patent introduces an intermediary mechanism where the signing process is mediated through a coordinated system involving the terminal device, registry server, and image management apparatus. Instead of requiring the signer to independently generate and store private keys, the system uses a key pair generation mechanism where the public key is stored in the registry and the private key is used for signing. This intermediary approach simplifies the signer's operation while distributing security responsibilities across the system architecture.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Reliability

If the container platform verifies image digests manually, then the security can be verified, but the productivity and automation are reduced

Engineering Contradiction:
Improvesecurity verification accuracyVSAvoidcontainer startup efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent implements feedback mechanisms at multiple stages: the registry server returns the signature file along with image pull requests, the image management apparatus verifies the signature and returns verification results, and the container platform uses this feedback to determine whether to allow container startup. This automated feedback loop ensures security verification is performed accurately while maintaining high productivity by eliminating manual verification steps and enabling automated security checks throughout the image lifecycle.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS12381739B2Image management method and apparatus
Publication Date: 2025.08.05 HUAWEI TECH CO LTD
  • US12381739B2 patent drawing
  • US12381739B2 patent drawing
  • US12381739B2 patent drawing

AI summary

An image management method includes: receiving information about a signer and information about a target image that are sent by a first terminal device, where the signer is an object designated to sign the target image; obtaining a signature file based on the information about the signer and the information about the target image; and if a first digest that is of the target image and is returned by a container platform matches a second digest obtained based on the signature file, indicating the container platform to allow use of the target image to start a container.