Skip to content

Commit

Permalink
[docsy] Promote Metadata section to top-level docs (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin authored Oct 4, 2024
1 parent 723e332 commit 638b8a1
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 18 deletions.
2 changes: 1 addition & 1 deletion content/en/docs/faq.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Frequently Asked Questions
LinkTitle: FAQ
weight: 450
weight: 800
description: Get your questions answered!
aliases: [/faq]
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
---
title: Roles and Metadata
LinkTitle: Metadata
weight: 15
description: Understand Roles and Metadata
title: Roles and metadata
aliases: [/metadata]
weight: 300
---

TUF uses roles to define the set of actions a party can perform. The concept of
Expand Down Expand Up @@ -85,13 +83,13 @@ available from a given repository mirror.

A delegated role file is located at:

/DELEGATED_ROLE.json
`/DELEGATED_ROLE.json`

where DELEGATED_ROLE is the name of the role specified in targets.json. If this
role further delegates trust to a role named ANOTHER_ROLE, that role's signed
metadata file would be found at:

/ANOTHER_ROLE.json
`/ANOTHER_ROLE.json`

See
[example](https://raw.githubusercontent.com/theupdateframework/tuf/develop/tests/repository_data/repository/metadata/role1.json)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,5 +96,5 @@ Your software update system never has to deal with this additional metadata or
understand what's going on underneath. TUF identifies the updates, downloads
them, and checks them against the metadata that it also downloads from the
repository. If the downloaded target files are trustworthy, TUF hands them over
to your software update system. See [metadata](docs/overview/metadata) for more
information and examples.
to your software update system. For more information and examples, see
[Roles and metadata](docs/metadata/)
2 changes: 1 addition & 1 deletion content/en/docs/project/_index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Project
aliases: [/project]
weight: 400
weight: 600
---

The TUF project consists of three components:
Expand Down
3 changes: 1 addition & 2 deletions content/en/docs/project/history.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,4 @@ four core principles continue to be central to its design.
reduces the risk that they can be stolen or compromised. In 2016, the TUF
research group set up a process whereby the community could

[paper]:
https://theupdateframework.github.io/papers/survivable-key-compromise-ccs2010.pdf?raw=true
[paper]: /papers/survivable-key-compromise-ccs2010.pdf
6 changes: 3 additions & 3 deletions content/en/docs/security/_index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Security
weight: 300
weight: 400
description: Security properties of TUF repositories
aliases: [/security]
---
Expand Down Expand Up @@ -76,8 +76,8 @@ system.

To ensure systems are secure against all of the above attacks, the design and
implementation of TUF relies on a few basic concepts. For details of how TUF
conveys the information discussed below, see the
[Metadata documentation](docs/overview/metadata).
conveys the information discussed below, see
[Roles and metadata](docs/metadata/).

### Trust

Expand Down
5 changes: 2 additions & 3 deletions content/en/resources/news.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
title: News
description: TUF news coverage
aliases: [/news, /press]
---

Expand Down Expand Up @@ -110,8 +109,8 @@ projects to be adopted by CNCF.

Lukas Pühringer presented the talk "Rough Times? TUF Shines" at
[DebConf17](https://debconf17.debconf.org/talks/153/), an "annual conference for
Debian contributors, and users interested in improving Debian."
The conference took place in Montreal, Canada, August 6-12, 2017.
Debian contributors, and users interested in improving Debian." The conference
took place in Montreal, Canada, August 6-12, 2017.

**July 3, 2017**

Expand Down

0 comments on commit 638b8a1

Please sign in to comment.