Dft File Action
更新时间: 2026/08/06
在Gitcode上查看源码

Dft File Action

Change History

openUBMC VersionRevision DateDescription
25.062025/06/26Initial draft: add command details

Basic Information

Function Description

Equipment file operation.

Privilege

SecurityMgmt

Command Information

Request Information

ByteData Field
NetFn30h
CMD90h
1Subcommand, subcommand=82h
2Action selector, which indicates the current command action. The options are as follows:
00h: set
01h: query
3Direction: indicates the operation direction of the current command file. The options are as follows:
00h: export
01h: import
4File Type: type of the file operated by the current command. The options are as follows:
00h: asymmetric public key for encrypting the security chip firmware (export only)
01h: encryption key of the security chip firmware (The key can be imported only and cannot be imported again after being imported.)
5:6Reserved. Set to 0.
7:NDatas. The value varies according to the value of Action Selector. For details, see Table 1.

Response Information

ByteData Field
1Completion code. The value varies according to the value of Action Selector. For details, see Table 1.
2:NDatas. The value varies according to the value of Action Selector. For details, see Table 1.

Table 1 Equipment file operation parameters

Action Selector#Request DatasResponse Datas
Setting00hByte[7]: file name length (N)
Byte[8:7+N]: file name (with the path)
Byte[8+N]: length (M) of the extended information. The value varies according to the value of File Type.
When File Type is set to 00h, the value is fixed to 1.When the value of File Type is 01h, the value is the digest value of the encryption key of the security chip firmware.
Byte[9+N:8+M+N]: extended information. The options are as follows based on the value of File Type:
When File Type is set to 00h, this parameter indicates the asymmetric public key algorithm. The options are as follows: 00h: RSA2048; 01h: RSA409601h: encryption key digest value of the security chip firmware
Byte[1]: CompletionCode. When the operation is to import the encryption key of the security chip firmware, the following response is returned:
85h: The encryption key format of the security chip firmware is incorrect.
86h: The encryption key of the security chip firmware is incorrectly processed.
87h: The encryption key of the security chip firmware already exists.
Byte[2:N]: N/A
Query01hThis part does not exist.Byte[1]: CompletionCode
Byte[2]: task status. The value can be any of the following:
00h: The operation is complete.01h: The operation fails.02h: The operation is being performed.FFh: idle state, not started
Byte[3]: operation progress percentage. The value ranges from 0 to 100.

Command Example

Export the asymmetric public key "/tmp/test.pub" for encrypting the firmware of the security chip.

Request:

bash
ipmitool raw 0x30 0x90 0x82 0x00 0x00 0x00 0x00 0x00 0x0d 0x2f 0x74 0x6d 0x70 0x2f 0x74 0x65 0x73 0x74 0x2e 0x70 0x75 0x62 0x01 0x01

Response:

text

Back to Index