IP Library › Granted Patent US 12,468,859
Granted Patent B2
US 12,468,859 · App. 18/159,376 · Granted Nov 11, 2025

Selecting an HSM for association to a secure guest

Inventors: Reinhard Theodor Buendgen (Tuebingen, DE); Viktor Mihajlovski (Wildberg, DE); Jonathan D. Bradbury (Poughkeepsie, NY); Harald Freudenberger (Fellbach, DE); Steffen Eiden (Böblingen, DE); Volker Urban (Böblingen, DE); Eric David Rossman (Hopewell Junction, NY)
Assignee: International Business Machines Corporation
G06F21/72
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,468,859
App. No.
18/159,376
Granted
Nov 11, 2025
Kind
B2
Abstract

A method for a policy-based association of a hardware security module to a secure guest is disclosed. The method comprises maintaining a binding between a secure guest and an HSM. Thereby, the binding enables the trusted guest to send only non-sensitive request to the HSM. The method comprises further maintaining, for a secure guest, a pair of a secret and a secret name, submitting a query to the bound HSM for obtaining HSM configuration data, and upon determining that the obtained HSM configuration data match a rule available to the secure guest, wherein the rule associates the HSM to a secret name, requesting to associate the secret from the pair of secret and the secret name to the bound HSM, thereby triggering that the trusted firmware allows the secure guest to submit a sensitive crypto-request to the bound and associated HSM.

Claims (48)

1 . A computer-implemented method for a policy-based association of a hardware security module (HSM) with a secure guest in a confidential computing environment, the method comprising:

maintaining, by a trusted firmware, a binding between the secure guest and an HSM, wherein the binding enables the secure guest to send only non-sensitive requests to the HSM;

maintaining, by the trusted firmware, for the secure guest, a pair of a secret and a secret name;

submitting, by the secure guest via the trusted firmware, a query to the bound HSM for obtaining HSM configuration data; and

upon determining, by the secure guest, that the obtained HSM configuration data match a policy rule available to the secure guest, wherein the policy rule associates the HSM configuration data with the secret name, requesting, by the secure guest from the trusted firmware, to associate the secret from the pair of secret and the secret name with the bound HSM, thereby triggering that the trusted firmware allows the secure guest to submit a sensitive crypto-request to the bound and associated HSM.

2 . The method according to claim 1 , further comprising:

intercepting, by the trusted firmware, each request from the secure guest to an HSM for generating an HSM-protected key; and

enforcing, by the trusted firmware, that the generated HSM-protected key is only to be used with the HSM associated with the secret from the secure guest.

3 . The method according to claim 1 , wherein an HSM master key verification pattern is indicative of the configuration data of the HSM.

4 . The method according to claim 1 , wherein the pair of the secret and the secret name is added to the metadata which the trusted firmware maintains for the secure guest.

5 . The method according to claim 1 , further comprising:

requesting, by the secure guest from the trusted firmware, a list of secret names of the pairs of secrets and secret names maintained by the trusted firmware for the secure guest.

6 . The method according to claim 1 , further comprising:

if the obtained configuration data of the HSM do not match the policy rule, submitting, by the secure guest via the trusted firmware, a new query to another HSM for obtaining other configuration data.

7 . The method according to claim 1 , further comprising:

upon a change of an assignment configuration of the HSM bound to a secure guest, dissolving the binding of the HSM to the secure guest and dissolving the association of the HSM with any secret if such an association exists.

8 . The method according to claim 1 , wherein the trusted firmware denies all requests from a secure guest to an HSM that is not bound to the secure guest.

9 . The method according to claim 1 , wherein the binding between the secure guest and the HSM is established by the trusted firmware upon a request from the secure guest to the trusted firmware to bind the HSM, when the HSM is assigned to the secure guest.

10 . The method according to claim 1 , wherein a plaintext value of the secret is inaccessible by the secure guest.

11 . The method according to claim 1 , where any request to the HSM bound to the secure guest is only allowed if issued by the secure guest or the trusted firmware on behalf of the secure guest.

12 . The method according to claim 1 , where any request from a secure guest to the HSM that comprises an HSM protected key is a sensitive request, or whose response comprises an HSM protected key.

13 . A security system for a policy-based association of a HSM with a secure guest in a confidential computing environment, the security system comprising a processor and a memory operationally coupled to the processor, wherein the memory stores software program code, which, when executed by the processor, enables the processor to:

maintain, using a trusted firmware, a binding between the secure guest and an HSM, wherein the binding enables the secure guest to send only non-sensitive requests to the HSM;

maintain, using the trusted firmware, for the secure guest, a pair of a secret and a secret name;

submit, by the secure guest via the trusted firmware, a query to the bound HSM for obtaining HSM configuration data; and

upon determining, by the secure guest, that the obtained HSM configuration data match a policy rule available to the secure guest, wherein the policy rule associates the HSM configuration data to the secret name, request, by the secure guest from the trusted firmware, to associate the secret from the pair of secret and the secret name with the bound HSM, thereby triggering that the trusted firmware allows the secure guest to submit a sensitive crypto-request to the bound and associated HSM.

14 . The security system according to claim 13 , wherein the processor is further enabled to:

intercept, using the trusted firmware, each request to an HSM for generating an HSM-protected key; and

enforce, by the trusted firmware, that the generated HSM-protected key is only to be used with the HSM associated with the secret from the secure guest.

15 . The security system according to claim 13 , wherein an HSM master key verification pattern is indicative of the configuration data of the HSM.

16 . The security system according to claim 13 , wherein the pair of the secret and the secret name is added to the metadata which the trusted firmware maintains for the secure guest.

17 . The security system according to claim 13 , wherein the processor is further enabled to:

request, using the secure guest from the trusted firmware, a list of secret names of the pairs of secrets and secret names maintained by the trusted firmware for the secure guest.

18 . The security system according to claim 13 , wherein the processor is further enabled to:

if the obtained configuration data of the HSM do not match the policy rule, submit, by the secure guest via the trusted firmware, a new query to another HSM for obtaining other configuration data.

19 . The security system according to claim 13 , wherein the processor is further enabled to:

upon a change of an assignment configuration of the HSM bound to a secure guest, dissolve the binding of the HSM to the secure guest and dissolve the association of the HSM with any secret if such an association exists.

20 . The security system according to claim 13 , wherein the processor is also enabled to

deny, using the trusted firmware, all requests from a secure guest to an HSM that is not bound to the secure guest.

21 . The security system according to claim 13 , wherein the binding between the secure guest and the HSM is established by the trusted firmware upon a request from the secure guest to the trusted firmware to bind the HSM when if the HSM is assigned to the secure guest.

22 . The security system according to claim 13 , wherein a plaintext value of the secret is inaccessible by the secure guest.

23 . The security system according to claim 13 , where any request to the HSM bound to the secure guest is only allowed if issued by the secure guest or the trusted firmware on behalf of the secure guest.

24 . The security system according to claim 13 , where any request from a secure guest to the HSM that comprise an HSM-protected key is a sensitive request, or whose response comprises an HSM-protected key.

25 . A computer program product for a policy-based association of an HSM with a secure guest in a confidential computing environment, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions being executable by one or more computing systems or controllers to cause the one or more computing systems to:

maintain, using a trusted firmware, a binding between the secure guest and an HSM, wherein the binding enables the secure guest to send only non-sensitive requests to the HSM;

maintain, using the trusted firmware, for the secure guest, a pair of a secret and a secret name;

submit, by the secure guest via the trusted firmware, a query to the bound HSM or obtaining HSM configuration data; and

upon determining, by the secure guest, that the obtained HSM configuration data match a policy rule available to the secure guest, wherein the policy rule associates the HSM configuration data to the secret name, request, by the secure guest from the trusted firmware, to associate the secret from the pair of secret and the secret name with the bound HSM, thereby triggering that the trusted firmware allows the secure guest to submit a sensitive crypto-request to the bound and associated HSM.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 25, 2023
From: BUENDGEN, REINHARD THEODOR; MIHAJLOVSKI, VIKTOR; BRADBURY, JONATHAN D.; FREUDENBERGER, HARALD; EIDEN, STEFFEN; URBAN, VOLKER; ROSSMAN, ERIC DAVID
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 062484/0711 →
Priority Claims (1)
GB 2217880 · Nov 29, 2022 · national
Continuity (1)
Related Publication 20240176913A1 · May 30, 2024
References Cited (24)
US 10353722B2 · Karino · 2019 [cited by examiner]
US 10855660B1 · Gernhardt · 2020 [cited by examiner]
US 11023589B2 · Liguori · 2021 [cited by examiner]
US 11516186B1 · Ambaliya · 2022 [cited by examiner]
US 20090165117A1 · Brutch · 2009 [cited by applicant]
US 20160239667A1 · Boenisch et al. · 2016 [cited by applicant]
US 20170310652A1 · Campagna · 2017 [cited by applicant]
US 20180212939A1 · Costa · 2018 [cited by applicant]
US 20200076607A1 · Allen · 2020 [cited by applicant]
US 20200167085A1 · Werner · 2020 [cited by applicant]
US 20200285746A1 · Buendgen · 2020 [cited by applicant]
US 20210232709A1 · Buendgen · 2021 [cited by applicant]
US 20210234681A1 · Buendgen · 2021 [cited by applicant]
US 20220180000A1 · Sofia et al. · 2022 [cited by applicant]
CN 105893853A · 2016 [cited by applicant]
CN 114930328A · 2022 [cited by applicant]
GB 2624867A · 2024 [cited by applicant]
TW 202038114A · 2020 [cited by applicant]
TW 202435107A · 2024 [cited by applicant]
WO 2024115147A1 · 2024 [cited by applicant]
Taiwan Patent Office, “Office Action,” Sep. 2, 2024, 16 Pages, TW Application No. 112127460. [cited by applicant]
International Searching Authority, “International Search Report and Written Opinion of the International Searching Authority”, International Application No. PCT/EP2023/082277, Mailed Feb. 12, 2024, 11 pages. [cited by applicant]
Buendgen et al., “Selecting an Hsm for Association to a Secure Guest”, International Application No. PCT/EP2023/082277, International Filing Date Nov. 17, 2023, 41 pages, claims priority on U.S. Appl. No. 18/159,376 (pr… [cited by applicant]
UK Intellectual Property Office, “Search Report”, May 23, 2023, 3 pages GB Application No. 2217880.0. [cited by applicant]