Skip to content

Verify TAs - #1399

Draft
Angelina Vu (athvu) wants to merge 5 commits into
mainfrom
avu/verify_ta
Draft

Angelina Vu (athvu) wants to merge 5 commits into
mainfrom
avu/verify_ta

Conversation

@athvu

Copy link
Copy Markdown
Contributor

Add a feature signed-ta-rsa to enable TA signature verification. A verification key can be embedded through the LITEBOX_TA_VERIFY_KEY build variable.
Built-in TAs can either be unsigned .elf or signed .ta files. Dynamic TAs must be signed.

Angelina Vu added 5 commits September 21, 2026 06:32
Signed-off-by: Angelina Vu <angelinavu@microsoft.com>
Signed-off-by: Angelina Vu <angelinavu@microsoft.com>
Signed-off-by: Angelina Vu <angelinavu@microsoft.com>
Dynamic TAs must be signed and verified.

Signed-off-by: Angelina Vu <angelinavu@microsoft.com>
Signed-off-by: Angelina Vu <angelinavu@microsoft.com>
@github-actions

Copy link
Copy Markdown

🤖 SemverChecks 🤖 No breaking API changes detected

Note: this does not mean API is unchanged, or even that there are no breaking changes; simply, none of the detections triggered.

@praveen-pk

Copy link
Copy Markdown
Contributor

Why make this a compile time feature: signed-ta-rsa? Why not determine the binary type dynamically, by checking the MAGIC value and take appropriate steps?

} else {
let ta_bin = Self::rpc_get_ta_bin(ta_uuid)?;
if !self.store_ta_bin(ta_uuid, &ta_bin) {
if !self.store_ta_bin(ta_uuid, &ta_bin, TaSource::Dynamic) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fyi, the place to store_ta_bin changed with the open Dynamic TA Support PR (#1213).

So, this should be revisited later

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants