theupdateframework / theupdateframework/rust-tuf
Add `clean` function to `Repository`
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 198
- Forks
- 39
- Avg merge
- 9h 19m
- Merged PRs (30d)
- 2
Description
Should ideally take in a reference to a Tuf struct and then use that to identify which metadata and targets are trusted or not. If something isn't trusted, purge it. Perhaps with a signature like this.
fn clean(&mut self, tuf: &Tuf) -> Result<()>
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Repository and Tuf definitions and reviewing how metadata and targets are represented and trusted. Define the purge behavior for untrusted content and confirm the proposed clean(&mut self, tuf: &Tuf) -> Result<()> interface; done means Repository removes all metadata and targets not trusted by Tuf.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- security
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100