This repository was archived by the owner on Jun 25, 2024. It is now read-only.
[WIP] Add verify command and enable use with CI/CD#34
Draft
doodzik wants to merge 82 commits into
Draft
Conversation
Use rubygems style guide
Co-authored-by: Frederik Dudzik <5946811+doodzik@users.noreply.github.com>
Sign gem
super terrible `gem verify` implementation
Some refactors
Print all unique emails from valid signature entries
Clean up some of the printed messages
Author
|
Will do 👍 |
add decision log
Fix NoMethodError for `gem verify` on an unsigned gem
Add a `gem signatures` command
add siging_policy
make verify command work in bundler
Delete the `gem sign` and `gem verify` commands
…gnatures Rename `install` command's --verify option to --verify-signatures
Rename install command's --verify option to --verify-signatures
Update the README
Co-authored-by: Jacques Chester <jacques.chester@shopify.com>
When these pre-install hooks are called, Rubygems has already validated that the given package is a valid gem, both locally and remotely. If the file does not exist or is not a valid gemfile, no package exists on the installer at line 32. Plus, Rubygems raises an error. Co-authored-by: Jacques Chester <jacques.chester@shopify.com>
Ruby 3.1 adds net/smtp to default standard library gems. Since we don't have a mailer in this project we need to explicitly not include it. Ref: https://stackoverflow.com/questions/70500220/rails-7-ruby-3-1-loaderror-cannot-load-such-file-net-smtp
If numbers are not quoted, the YAML parser will treat 3.0 as '3' and so the latest version minor version of 3, 3.1 will run instead of sticking with the 3.0.x patch version. Also adds quotes around the other ruby versions for consistency
Validate file is a gem on signature command
…responses Check responses from Fulcio/Rekor POSTs, raise unless expected
Store gem signatures in a hashedrekord
Member
|
I guess this is dead now, any more interest in the work @doodzik ? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.