Skip to content

docs: Introduce section about TUF - #222

Merged
doanac merged 2 commits into
mainfrom
docs-tuf
Jul 31, 2026
Merged

docs: Introduce section about TUF#222
doanac merged 2 commits into
mainfrom
docs-tuf

Conversation

@doanac

@doanac doanac commented Jul 28, 2026

Copy link
Copy Markdown
Member

No description provided.

@doanac
doanac requested a review from kprosise July 28, 2026 17:03
@doanac

doanac commented Jul 28, 2026

Copy link
Copy Markdown
Member Author

@vkhoroz @mike-scott - You may want to look at this.

Signed-off-by: Andy Doan <doanac@qti.qualcomm.com>
Comment thread docs/tuf.md Outdated
Comment thread docs/tuf.md
Loss of this key and/or the HMAC key will make it impossible to sign new
Updates after the key **expires**.

The root role is valid for 20 years (root.json's `signed.expires` attribute).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I'd place this at the top of this section.
As is, it breaks up two paragraphs talking about how important a root key is.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I'm trying to figure out the best wording here. e.g. I don't want to put too many words in front of "you must never lose" or the user will skip right past the most important text of the section.

@kprosise - let me know what you think works best here and I'll apply it for all the sections.

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.

Well for line 19, I think placing it as the last line in the subsection would be best. As for the "you must never lose" bit, perhaps placing it in a warning callout (> [!WARNING]) would work? I know it precedes a note callout, but I think it would be okay to have two callouts together.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@kprosise - I've tried to update this with commit a5316de - let me know if this was what you were wanting.

Comment thread docs/tuf.md Outdated
Comment thread docs/tuf.md
Comment thread docs/tuf.md Outdated
Comment thread docs/tuf.md Outdated
Comment thread docs/tuf.md Outdated
Comment thread docs/tuf.md Outdated
Comment thread docs/tuf.md

@vkhoroz vkhoroz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

I think this is fine to go after we work through a couple of points and Katrina gives it a read.

@kprosise kprosise left a comment

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.

Left some suggestions and a recommendation, but overall it looks good.

Comment thread docs/tuf.md Outdated
Comment thread docs/tuf.md
Loss of this key and/or the HMAC key will make it impossible to sign new
Updates after the key **expires**.

The root role is valid for 20 years (root.json's `signed.expires` attribute).

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.

Well for line 19, I think placing it as the last line in the subsection would be best. As for the "you must never lose" bit, perhaps placing it in a warning callout (> [!WARNING]) would work? I know it precedes a note callout, but I think it would be okay to have two callouts together.

Comment thread docs/tuf.md Outdated
Comment thread docs/tuf.md Outdated
Comment thread docs/tuf.md Outdated
Comment thread docs/tuf.md Outdated
Comment on lines +33 to +36
The update server uses a single Timestamp key under `<datadir>/tuf/keys/timestamp.key`.
It is encrypted on disk with an HMAC key. This is considered an "online" key
and must be present for the update server to perform normal operations. This
key can be regenerated and is valid for 20 years.

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.

"It is encrypted on disk with an HMAC key. This is considered an "online" key
and must be present for the update server to perform normal operations. This
key can be regenerated and is valid for 20 years."

Given how this bit repeats for each role, and the only thing that changes is the key name, Would it be appropriate to "factor it out" and place it at the top of the page in a generic form?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I tried to clean this up with commit a5316de - let me know what you think; i'm not super happy with my wording

Comment thread docs/tuf.md Outdated

@kprosise kprosise left a comment

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.

lgtm

Signed-off-by: Andy Doan <doanac@qti.qualcomm.com>
@doanac
doanac merged commit 10e8b60 into main Jul 31, 2026
6 checks passed
@doanac
doanac deleted the docs-tuf branch July 31, 2026 15:34
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.

3 participants