Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add verify_external function #45

Open
heartsucker opened this issue May 29, 2017 · 1 comment
Open

Add verify_external function #45

heartsucker opened this issue May 29, 2017 · 1 comment

Comments

@heartsucker
Copy link
Contributor

This would allow the director and image repo roles to share a place to store images while they keep their metadata separate.

@heartsucker
Copy link
Contributor Author

There's actually enough different about Uptane that this isn't possible to implement here, but there should be a facility to allow the verification of random Read objects.

For example:

struct Tuf {
  fn verify_external<R: Read>(&self, target: &TargetPath, read: &mut R) -> Result<()>
}

@heartsucker heartsucker changed the title Add verify_only tag and allowing splitting paths to metadata / targets to support Uptane Add verify_external function Jun 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant