Skip to content

Commit

Permalink
Opt-in for MFA requirement explicitly
Browse files Browse the repository at this point in the history
As a pupular gem, `fugit` implicitly requires that all
privileged operations by any of the owners require OTP.

However, by explicitly setting `rubygems_mfa_required` metadata, the
gem will show "NEW VERSIONS REQUIRE MFA" and
"VERSION PUBLISHED WITH MFA" in the sidebar at
https://github.com/floraison/fugit

Ref:
- https://blog.rubygems.org/2022/08/15/requiring-mfa-on-popular-gems.html
- https://guides.rubygems.org/mfa-requirement-opt-in/
  • Loading branch information
tagliala committed Aug 16, 2024
1 parent 228b53d commit 30b861c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fugit.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Time tools for flor and the floraison project. Cron parsing and occurrence compu
'homepage_uri' => s.homepage,
'source_code_uri' => s.homepage,
#'wiki_uri' => s.homepage + '/wiki',
'rubygems_mfa_required' => 'true',
}

#s.files = `git ls-files`.split("\n")
Expand Down

0 comments on commit 30b861c

Please sign in to comment.