Skip to content

Commit

Permalink
Require multi-factor authentication to push new releases to RubyGems
Browse files Browse the repository at this point in the history
This updates our gemspec to opt in to enforce multi-factor
authentication (MFA) whenever we want to push releases of the gem,
yank releases or add or remove owners.

This will increase the security of our users by making it more
difficult for a bad actor to release a version of Octokit.rb.

After this is merged, the change will take effect from the first
new release.

Fixes #1438.
  • Loading branch information
timrogers committed Jun 8, 2022
1 parent 39c8f4a commit 657fe27
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions octokit.gemspec
Expand Up @@ -21,4 +21,5 @@ Gem::Specification.new do |spec|
spec.required_rubygems_version = '>= 1.3.5'
spec.summary = 'Ruby toolkit for working with the GitHub API'
spec.version = Octokit::VERSION.dup
spec.metadata = { "rubygems_mfa_required" => "true" }
end

0 comments on commit 657fe27

Please sign in to comment.