Skip to content

Tags

Tags

v1.0.37

Toggle v1.0.37's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
spec: only skip target roles if they appear in the same delegation pa…

…th (#327)

* spec: only skip target roles if they appear in the same delegation path

The previous wording implied that you should maintain a global list of
roles walked and never walk into the same role even if the delegation
paths were different, but this was not the original intention of this
restriction -- the purpose was to just avoid cycles.

Skipping later roles silently based on previous delegations can be
somewhat dangerous because it could potentially allow a delegated role A
to mask entries from a different delegated role B even if the delegation
for role A does not permit it to publish a superset of role B's targets.
In practice it seems unlikely this would be a practical security issue,
but it's better to be safe than sorry and reduce the knock-on effects
between delegations.

This also makes it easier for tools to implement TUF extensions that
list the set of available target files -- previously it would've been
necessary to emulate what set of delegation path patterns could've
reached an earlier delegation and invert them for later delegations,
which is quite error-prone and leads to unexpected-to-the-user results.

Signed-off-by: Aleksa Sarai <[email protected]>

* Bump patch version number

Co-authored-by: Justin Cappos <[email protected]>
Signed-off-by: Justin Cappos <[email protected]>

---------

Signed-off-by: Aleksa Sarai <[email protected]>
Signed-off-by: Justin Cappos <[email protected]>
Co-authored-by: Justin Cappos <[email protected]>

v1.0.36

Toggle v1.0.36's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Only define THRESHOLD once (#322)

* Only define THRESHOLD once

GH-314 introduced a second definition of THRESHOLD _without_ a <dfn> tag.

There are two ways we can fix this:
1. introduce a second dfn tag and use a for attribute on each definition,
  i.e., <dfn for="root">
2. streamline to a single definition and update the DELEGATIONS definition
  to reference the THRESHOLD definition in the root section

I've opted for 2 here as it's simpler and avoids redundant duplicate
definitions.

Signed-off-by: Joshua Lock <[email protected]>

* Fix warnings from latest bikeshed

We have two definitions of KEYID and, by default, we get a random one at
build time if the `for` attribute is not specified on the anchor (<a>)
element. Squash randomness by always referring to the KEYID definition
for the root role.

Signed-off-by: Joshua Lock <[email protected]>

* Pin the bikeshed version we use in workflows

This will prevent bikeshed releases unintentionally breaking our builds
without anyone noticing until a CI workflow with additional changes is
run.

Signed-off-by: Joshua Lock <[email protected]>

* Update Joshua's affiliation

Changed role, updating affiliation

Signed-off-by: Joshua Lock <[email protected]>

* Bump Version and Date for this PR

Signed-off-by: Joshua Lock <[email protected]>

---------

Signed-off-by: Joshua Lock <[email protected]>

v1.0.35

Toggle v1.0.35's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update canonical JSON URL in tuf-spec.md (#320)

* Update canonical JSON URL in tuf-spec.md

Updated the URL for the canonical JSON reference to an archived version since the main link is broken.

Signed-off-by: Justin Cappos <[email protected]>

* Apply suggestion from @JustinCappos

Date update needed to have linter / sanity checker work.

Signed-off-by: Justin Cappos <[email protected]>

* Apply suggestion from @JustinCappos

making the linter happy

Signed-off-by: Justin Cappos <[email protected]>

---------

Signed-off-by: Justin Cappos <[email protected]>

v1.0.34

Toggle v1.0.34's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update TUF threshold information and editor details (#314)

* Update TUF threshold information and editor details

I'm proposing a patch spec update to make it clearer that a threshold of 0 (or less) is not allowed.  See: GHSA-fphv-w9fq-2525 for more details.

I've also updated people's affiliation and suggested that slack is the best way to contact us.

Signed-off-by: Justin Cappos <[email protected]>

* Update tuf-spec.md

Co-authored-by: Lukas Pühringer <[email protected]>
Signed-off-by: Justin Cappos <[email protected]>

* Demote THRESHOLD "definition tag" in tuf-spec.md to fix lint

Signed-off-by: Justin Cappos <[email protected]>

---------

Signed-off-by: Justin Cappos <[email protected]>
Co-authored-by: Lukas Pühringer <[email protected]>

v1.0.33

Toggle v1.0.33's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Add more text describing threshold computation (#154)

* Add signature threshold computation advice

Several implementations have made similar errors -- counting multiple
signatures by the same keyid -- when implementing signature threshold
computation, for example the reference implementation:
GHSA-pwqf-9h7j-7mv8
theupdateframework/python-tuf@83ac7be

Add some extra description to the detailed client workflow to further
explain that a threshold of signatures should only count one signature
per key.

Signed-off-by: Joshua Lock <[email protected]>

* Recommend signatures only contain one sig per keyid

In an attempt to help implementers protect against incorrect threshold
computation, update "File formats" to suggest that the signatures list
contain only a single signature per keyid at metadata creation time.

Suggested-by: Jussi Kukkonen <[email protected]>
Signed-off-by: Joshua Lock <[email protected]>

* Address review comments

Be more explicit that each KEYID can only count one signature towards the
threshold.

Signed-off-by: Joshua Lock <[email protected]>

* Bump version and date

Signed-off-by: Joshua Lock <[email protected]>

---------

Signed-off-by: Joshua Lock <[email protected]>
Signed-off-by: Joshua Lock <[email protected]>

v1.0.32

Toggle v1.0.32's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Fix specification builds (#281)

Since the last release the GitHub Actions environment has changed such
that we now must explicitly grant permissions to actions in order to
make a release.

Signed-off-by: Joshua Lock <[email protected]>

v1.0.31

Toggle v1.0.31's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Clone repository before setting up Python (#250)

Since 70f167f the setup-python action restores a cache based on the
fingerprint of requirements.txt, therefore we must ensure a copy of that
file exists before we setup Python. This order of events requires the first
action to be checkout to clone the repository.

Signed-off-by: Joshua Lock <[email protected]>

Signed-off-by: Joshua Lock <[email protected]>

v1.0.30

Toggle v1.0.30's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Update metadata version comparison rules in client workflow (#209)

* Update metadata version comparison rules in client workflow

The client workflow has a set of version comparison rules for how
to update metadata files. The following PR addresses the differences
coming from the fact that when updating not all metadata files should
be treated equally.

Fixes #207 and is related to #114

Signed-off-by: Radoslav Dimitrov <[email protected]>

* Bump date and version to 1.0.29

Signed-off-by: Radoslav Dimitrov <[email protected]>

* Address what happens in case of equal metadata versions for client update

Signed-off-by: Radoslav Dimitrov <[email protected]>

* Update VERSION and Date

Co-authored-by: Joshua Lock <[email protected]>

v1.0.29

Toggle v1.0.29's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Updated tuf-spec.md (#218)

* Updated tuf-spec.md

Added the full-form for the PKI acronym.

* Update tuf-spec.md

* Update tuf-spec.md

v1.0.28

Toggle v1.0.28's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Remove ambiguity in update root after a failed attempt (#196)

In section 5.3. Update the root role the specification suggests, in
multiple steps (5.3.4, 5.3.5 and 5.3.10) that should the client fail to
verify the updated root metadata the downloaded data should be discarded,
the error reported, and:
> On the next update cycle, begin at step § 5.3 Update the root role and
> version N of the root metadata file.

This directive only makes sense if the client application continues
running between update cycles and therefore still has initial trusted root
metadata loaded and a fixed update start time recorded.
For at least python-tuf and go-tuf this is not how the update workflow is
implementated.

Avoid confusion by removing the recommendation to start at 5.3 on the next
update cycle and instead leave only the suggestion to remove unverified
data. Logically, the next update cycle starts at the first step -- loading
the initial trusted root metadata.

Signed-off-by: Joshua Lock <[email protected]>