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 a TUF CLI #466

Merged
merged 2 commits into from
Oct 5, 2023
Merged

Add a TUF CLI #466

merged 2 commits into from
Oct 5, 2023

Conversation

bdehamer
Copy link
Collaborator

@bdehamer bdehamer commented Oct 3, 2023

Add's a new package which provides a simple CLI for securely downloading targets from a TUF repository.

Example:

$ tuf download \
  --metadata-base-url=https://sigstore-tuf-root.storage.googleapis.com \
  --target-name=ctfe.pub \
  --unsafe-root-download 

-----BEGIN PUBLIC KEY-----
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEbfwR+RJudXscgRBRpKX1XFDy3Pyu
dDxz/SfnRi1fT8ekpfBd2O1uoz7jr3Z8nKzxA69EUQ+eFCFI3zeubPWU7w==
-----END PUBLIC KEY-----

@bdehamer bdehamer force-pushed the bdehamer/cli branch 2 times, most recently from d9aa17d to 687f38f Compare October 4, 2023 00:02
@bdehamer bdehamer requested a review from ejahnGithub October 4, 2023 00:03
ejahnGithub
ejahnGithub previously approved these changes Oct 4, 2023
Copy link
Collaborator

@ejahnGithub ejahnGithub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

overall looks good, just a tiny typo! nice work

packages/cli/src/commands/download-target.ts Outdated Show resolved Hide resolved
Signed-off-by: Brian DeHamer <bdehamer@github.com>
Copy link
Collaborator

@ejahnGithub ejahnGithub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lg

@bdehamer bdehamer merged commit 9886c14 into main Oct 5, 2023
@bdehamer bdehamer deleted the bdehamer/cli branch October 5, 2023 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants