Skip to content

TAP 15 (succinct hashed bin delegations) implementation #1909

Closed

Description

@MVrachev

Description of issue or feature request:
TAP 15 was created on June 23-rd 2020 and was last modified in July 6-th 2020.
Since then the TAP has been put to draft status meaning it needs a prototype implementation before it's accepted as a future specification change.
Given that this TAP underlines an efficient way of handling hash bin delegations, meaning it would be really useful when python-tuf is integrated into Warehouse, it's logical that we should not only create a prototype but directly work to integrate it in python-tuf.

The result I am expecting from this issue is:

  1. Support reading, updating, and saving target metadata files that are using succinct hashed bin delegations.
  2. An exemplary document inside examples/ showcasing how succinct hashed bin delegations can be utilized in practice.

I have come up with the following steps:

  • Add and update the necessary attributes to support reading and writing from/to a target file with succinct hashed bin delegations
  • Add simple testing for target files using succinct hashed bin delegations.
  • Make sure the client parses the succinct hash bin delegated metadata
  • Test that the client parses the succinct hash bin delegated metadata and visits the expected bin for a specific target
  • Test actually downloading a target
  • Add a script inside examples/
  • Testing the examples/ script

Activity

  1. added
    backlog
    on Mar 18, 2022
  2. self-assigned this
    on Mar 18, 2022
  3. lukpueh commented on Mar 18, 2022

    @lukpueh
    Member

    This is exactly what I had in mind for this issue! Plus, the client also needs to be able to parse and interpret the new metadata, in order to find the correct bin for a target.

  4. MVrachev commented on Mar 21, 2022

    @MVrachev
    CollaboratorAuthor

    This is exactly what I had in mind for this issue! Plus, the client also needs to be able to parse and interpret the new metadata, in order to find the correct bin for a target.

    Agree, added it to the TODO list.

  5. added this to the Sprint 20 milestone on Mar 23, 2022
  6. modified the milestones: Sprint 20, sprint 21 on Apr 6, 2022
  7. modified the milestones: sprint 21, sprint 22 on Apr 20, 2022
  8. MVrachev commented on Jun 24, 2022

    @MVrachev
    CollaboratorAuthor

    After #2031 and #2038 are merged I think we are ready to close this issue.
    I don't see any other todo items left.

  9. MVrachev commented on Aug 16, 2022

    @MVrachev
    CollaboratorAuthor

    Closing as there is no work left on that issue.

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

Metadata

Metadata

Assignees

Labels

backlog

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions