Documentation
¶
Overview ¶
Package hsskey provides functionality for generating a key for unlocking drives based on the following procedure:
- Via BMC, read a 32-byte secret seed known as the Host Secret Seed (HSS) using the OpenBMC IPMI blob transfer protocol
- Compute a password as follows: We get the deterministically computed 32-byte HDKF-SHA256 using: - salt: "SKM PROD_V2 ACCESS" (default) - hss: 32-byte HSS - device identity: strings formed by concatenating the assembly serial number, the _ character, and the assembly part number.
Index ¶
Constants ¶
View Source
const (
DefaultPasswordSalt = "SKM PROD_V2 ACCESS"
)
Variables ¶
This section is empty.
Functions ¶
func GenPassword ¶
GenPassword computes the password deterministically as the 32-byte HDKF-SHA256 of the HSS plus the device identity.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.