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-signature to read from stdin #529

Closed
ChevronTango opened this issue Jul 28, 2023 · 0 comments · Fixed by #534
Closed

add-signature to read from stdin #529

ChevronTango opened this issue Jul 28, 2023 · 0 comments · Fixed by #534

Comments

@ChevronTango
Copy link
Contributor

Whilst working on #525 (comment) I found that I had to write the signature out to file and then read it in again when I called add-signature. It would be useful if I could avoid the disk IO and pipe the signature into the add-signature call.

# current approach
tuf add-signature --signature targets.json.signature targets.json

# proposed solution
cat targets.json.signature | tuf add-signature targets.json
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 a pull request may close this issue.

1 participant