manticore icon indicating copy to clipboard operation
manticore copied to clipboard

Implement "Get PFM Id" and "Get PFM Supported Firmware" messages

Open mcy opened this issue 5 years ago • 3 comments

These are defined in sections 6.22 and 6.23 of the Challenge Protocol Specification. Implementing support for them in the PA-RoT server is pending on #43, but implementing the message parsing itself can be done before that.

~~Since we would be implementing these on top of the FPM, it's unclear if we want to re-use the Cerberus message type bytes for these, or use our own until we reconcile the PFM and our FPM.~~ We implement the PFM now, so this bit is irrelevant. =)

mcy avatar Sep 17 '20 14:09 mcy

Hey mcy, max here, I can take a look at this one.

Discmonkey avatar Aug 11 '21 11:08 Discmonkey

Just to clarify the issue description, it seems that the get pfm id and get pfm supported firmware are defined in sections 6.23 and 6.24, respectively.

Discmonkey avatar Aug 27 '21 22:08 Discmonkey

Began doing some work on this. There's a an issue with the spec as it requires to know what the request was in order to decode the response. If the request asks for a version id, then the response will include a 4-byte id. If the request asks for a platform id, then the response is going to be a null terminated ascii string. Talked to @mcy offline and decided that we will have to go against the spec and include an extra byte of information to distinguish the response.

Get PFM ID Specification

adsnaider avatar Nov 02 '21 23:11 adsnaider