-
Notifications
You must be signed in to change notification settings - Fork 32
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 Sigstore sign/verify to CLI #310
Conversation
Signed-off-by: Ivan Font <[email protected]>
Signed-off-by: Ivan Font <[email protected]>
Signed-off-by: Ivan Font <[email protected]>
Signed-off-by: Ivan Font <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like this. Two more things to do:
- can we make sigstore signing method be the default?
- can you fix the failing lint CI?
Signed-off-by: Ivan Font <[email protected]>
Signed-off-by: Ivan Font <[email protected]>
Signed-off-by: Ivan Font <[email protected]>
09596b6
to
5db29ad
Compare
Signed-off-by: Ivan Font <[email protected]>
@mihaimaruseac Thanks for the review!
I don't think we can do this as there doesn't appear to be a way to set a default subparser, and if no method is specified on the command line, that parser's Namespace object does not contain the option attributes defined for it. I may have to look more into seeing if there's a way to do this. Let me know if you have any suggestions.
Done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mihaimaruseac This is ready for re-review.
We can use model-transparency/benchmarks/generate.py Line 186 in 9e133c4
|
Thanks @mihaimaruseac! I had looked at the That is, the
So I'm not sure there's a good way to set a default for a required positional argument that also has its own options unless we just start manipulating the Namespace object directly. But that feels a little kludgy. Thoughts? |
Oh, I only tested with In this case, let's merge this as it is and then move towards merging the sign and verify CLI scripts into a single one, as then we could make the signer be set via a flag, with defaults. |
Summary
Release Note
Documentation